I have two sequence callbacks, PostStep and StepFailure. I am wanting to use Step.CancelStepCallback inside of the PostStep callback, since it is called before StepFailure, so StepFailure callback is not executed, on certain occasions. Is there a way to do this? I have tried "CancelStepCallback" with no luck.
TestStand Callbacks....CancelStepCallback
teststand turn off enter uut number
HI I am new to teststand and just wanted to know how do I turn off the dialog box that popus up for every run saying enter uut serial number when I select test uuts? How do I tunr off the test sequence passed dialog at the end?
.Net Object Ref, Array of structs
I'm trying to find the best (and simplest) way to handle this issue:
Background:
My calibration code returns a .net object, containg 2 array of structs.
Each struct contains e.g 10 properties. Each array will contain around 16 of these structs.
That means several hundred values to be evaluated in TS.
Problem:
I would like to setup a limit for each of those values.
I would like to evaluate and report via a numeric limit step.
Q1) How do i access a specific property of that object reference ?
Q2) How do i retrieve the name of that property ?
Q3) Should I manually build my test sequence, with one numeric limit step per property (which requires that i know exactly how many data properties i will get) ?
Q4) Can I dynamically do some looping at runtime, that could report/evaluate all the content of the object pointed to ?
Disable entry points in OI based on sequence
Hi all,
I'm using LV2014 with TS2014, using the parallel process model.
Is there a simple way to disable the Single Pass and Run Main Sequence entry points? I noticed that in the CreateDeleteUser example only the "Run Main Sequence" entry point is displayed in the OI, how is this accomplished? I would like to only show the "Test UUTs" entry point if possible.
Thanks!
How to use the variable type expression (String)
Hi all
It is a basic question but I do not found any documentation about the variable type expression.
What is it for?
Teststand 2013
Tks
Missing Lines in text Reports
Hello,
I am trying to print a report that is saved as a text file from the TestStand Report Tab. When I print, several lines are missing from the report and the margins are incorrect. When I set the printer to not include margins, the left side and top of the report are cut off. I have opened the text file from an external viewer and I have printed with no problems.
Are there any known issues printing text files from the report tab? Is there a way to control how the report viewer prints text files?
Thank you,
Jose
Internal Error: Error occurred in module 'NIAnalysisModules.dll: NIAnalysisModules::ValidateStepSettings'
Hello,
I have done significant searching and haven't been able to find any information on this topic so hopefully someone can help. We have written a sequence that pulls data from an Excel file, uses it to query our system under test, then verifies the results and writes them back to a new Excel file. The sequence was working earlier this week, but in the midst of some fairly significant changes it began giving us this error during analyzing:
Message: Internal Error: Error occurred in module 'NIAnalysisModules.dll:NIAnalysisModules::ValidateStepSettings': The requested object does not exist.
Location: ShellCommand_Compliance_V3.seq Seq["MainSequence"].Cleanup["Save Output Workbook"]
Rule: Internal Error
Description: The sequence analyzer uses this rule to report internal errors that occur during analysis. These message usually indicate a serious problem with a component of the sequence analyzer. Report the information to the component owner or to National Instruments. You cannot disable this rule.
We get the same error on two other steps (the two steps to close the input and output workbooks).
This error never shows up when you first start Teststand or when you analyze/run the sequence the first time. It is only present after the sequence has been run once. You can also ignore the error and continue running once it has shown up, but after a while Teststand will freeze and crash. This is making me think something is not being closed properly, but I can't for the life of me figure out what it is.
The other thing we're seeing is that occasionally the variables pane will stop showing variables and instead say "An error occurred while accessing the data this control displays. This can happen if another thread, such as asynchronously running code modules, is modifying the data while you are viewing it." I'm assuming it's related, as it's only happening in this particular sequence. Sometimes it will come back after a while, other times I have to restart Teststand to get everything back to normal.
I tried copying just the Excel open and close steps to a new sequence and running it and I get the same results. Runs fine the first time, then gives me an error when analyzing afterward.
My sequence file is attached for reference.
Any ideas would be much appreciated!
Password Protect Sequence Files on Deployment
I need to password protect (not viewable) my sequence files for a deployment (many sequence files will be included). I would rather not do this file by file for the deployment (files are in a version control system, and need to be updated regulary, so, having individual developers set passwords to individual sequence files to build is tedious at best). Is there a slick way of doing this so that the source sequence files don't need to have this enabled one by one through Edit -> Sequence File Properties, but the deployed ones do (just like you can password protect the LabVIEW VI's through the TS Deployment Utility)? Suggestions?
custom data types, .net, nested structs
I receive a data structure from .net into TestStand. It's a struct containg a number of fields, and an array of stucts.
When i try to create a custom data structure of the Struct (CalibrationResult) in the step (Calibrate), the nested struct does not get any content. When i Open the Types pane, and check the nested struct (SpuriousList) its empty.
I have tried to create an other cutstom data type for SpuriousList, but i can't seem to get it right. The local variable (Local.RadarCalibrationResult) which is the output parameter keeps being read, with various error messsages like "missing a subproperty" or something like "you can't fit a square into a round hole". I did try to create the missing parts of the custom type manually, but it did not help.
Why will TestStand not build the complete custom datatype, when it contains nested structs ?
The sequence added is stripped down to one relevant step.
How do i create that particular custom data type, which will support my .net output (can anyone make Local.RadarCalibrationResult not red)?
TS Pallette's GetMonitorTerminator
Writing from home so I may have name of vis wrong... Using LV2010, and TS 2010.
I'm trying to have a small window display the iteration number of a loop in a main sequence. I want it displayed separate from the OI.
I go to the TestStand pallette in LV. I tried using InitMonitor, GetMonitorTerminator, and GetPropertyValue (polymorphed to Number) and close Monitor from in a VI, then set that VI as the Module in the step of Main Sequnce with the Locals.i loop counter as the property value to display.
Problem is, apparently the TS VIs on the pallette weren't written in LV2010, and I get an error (Red circle with "!") and it wont display my VI.
So I saved the VI for Previous Version (8.0.1, 8.4, 8.6, 9, etc....), and then TS complains that a VI has to be wriiten in the same version as the RTE that TS is using )2010 in my case)and I get a different error
Or is there an easier way to display a loop counter independent of the OI??
Thanks!
Using TestStand as a sequencer in a LabVIEW application
To start off, this is what I would consider to be a "high level" question. I'm not looking for specifics but rather generalities.
I am mainly a LabVIEW developer. I'm working on an application that is going to need to allow the user to set up multiple different dynamic sequences... almost to the level of a scripting language. I looked in to several methods to code this myself, but it isn't trivial. Then, I started researching TestStand....
The way I imagine this working is that I will primarily control the hardware I/O, the graphical interface, etc with LabVIEW. I will write a simple API (in VI form) for some of the complex functions that the user will need to implement and they can set up their sequences in TestStand. Within my LabVIEW application they can select the sequence(s) to run, and in what order and then TestStand takes over and executes the sequence.
Which leads me to my questions: Is TestStand the way to go? Is this the right solution? Will it be simple enough, and can I learn the integration in the time allocated?
How to get name of step that is running in teststand
Hi,
I need to create an extra window to show the status of the UUT, the operator interface is not enough to show the details of 24 threads. So we decided to create another GUI that will be called at the beginning of the batch process model. The idea is to display status and step running at each batch in the GUI. We are using UI messages events to catch what is happening at execution, however I'm not able to get the step name from the sequence context when I catch UI message events.
Which do you recommend to get the status of the sequence runnning and catch the events once is test step is started and completed at each thread?
Thanks in advance for your help.
Jorge
What does 'An exception '{0}' occurred' mean - Error code 17234
I am running a TestStand sequence that calls another sequence in a new thread. This new thread has many checks for notifications posted by the origination thread to perform different actions. While debugging the main thread, specifically while debugging a .NET DLL call using the Visual Studio 2012 debugger, I get the atatched error code (17234) with no real description of the issue always at the same spot in the VS debugger. The VS DLL being debugged has no relation to the new thread that is causing the error. Can someone provide any insight as to what this error code means?
TestStand adaptors and Vision Deployment license
I have installed Teststand and LabVIEW in my PC. I have no Vision Development Module in the PC,but using Vision Deployment license and changing TestStand adaptor to “LV RunTime”, is it possible to run the TestStand sequence with LabVIEW Vision VIs ?
UIMsg_ProgressPercent event handling
Hello everyone,
I am a new user of the TestStand software and have a question about the UIMsg_ProgressPercent (and also the UIMsg_ProgressText) event handling in the Full-Featured User Interface example shipped in the TestStand software.
There is an example call 'Updating the Status Bar Using UI Messages'. When I open the 'Full-Featured user Interface' example and run the 'Updating the Status Bar Using UI Messages' sequence, I see that the Status Bar display the progress information as expected.
My question is, where is the handler of the UIMsg_ProgressPercent event in the Full-Featured User Interface example? From my understanding of the UI Message architecture, the UIMsg_ProgressPercent event is handled by a callback registered through the 'Reg Event Callback' function. But in the 'Configure Event Callbacks.vi' of the Full-Featured User Interface example, I do not see where these events (ProgressPercent and ProgressText) are registered. I must be missing something here in my understanding of the UI Message architecture.
Can anybody explain to me where or who the UIMsg_ProgressPercent event handler are in this example?
I am using TestStand 2014 and LabView 2015 version.
Thank you for your patience.
Yours,
Huck
Adding additional result programmatically
Relatively new to TestStand, and struggling with a problem.
I want to "scan" a test sequence, and for every step in the sequence where the name starts with a 4 digit number (i.e. "0400 - Measure...") i would like to add an additional result with the name "StepNumber" and the value being the specific 4 digit number. I'm assuming that i should use calls to the TestStand API, but my experience with this is almost non-existing, so any advice on where to begin would be greatly appreciated.
TestStand Deployment Error -19000
Hello,
I am trying to build a Deploy for my TestStand application but I am receiving an error:
-19000 - The library created in the source distribution is not valid. Contact National Instruments for support. The file which was created is:
It does NOT specify the file after the ":"
I have already tried several fixes by looking through the Log generated by the Deployment Engine, but now it is not giving me any relevant information.
If you want to check, the Log is attached (it is a .xml file).
Any help is really apreciated.
Thanks!
daqmx vi's and teststand integration
So far i have been doing good on teststand using regular instruments as scope, power supply, function generator, dmm and switches.
so i had to use a daqmx card for a particular test. And i found that i cannot pass the reference of the task across teststand as it would be with a regular dmm, function generator instrument. the regular proces i am used to is to:
*init instrument(get reference)
*use Vi's to :
Configure
Read
Start
Stop
*Close reference
So what i had to end up doing for example in a test were i set analog ouput value to my DUT then via serial port get the value that my DUT is reading.
the ususal way will be steps:
-set daqmx
-start daqmx
-Read Serial DUT and do a limit test
-Stop daq
-Close task
but it doesnt work that way.
what i end up doing is run a vi on the background with the Daqmx task and have a notifier from testand closing my vi like the picture
Teststand notifier
is my statement about daqmx correct?
is this one of the ways to do it with daqmx?
your input to improve the use of daqmx on testand will help me a lot.
thanks
3rd party software vendor need copy of TestStand to troubleshoot
Hi,
I am having an intermittent problem using TestStand to access (via COM server) another software (SmartBear TestComplete). This issue appeared when we upgraded the TestComplete software version. We have exhausted all our solutions thus far and still have same issue. The software vendor request if hey can get copy of TestStand to troubleshoot on their end. What's the best way to do this? Are there vendor to vendor cross testing platforms?
Thanks,
ph2
converting string that is 64 bit number to the an actual number
Greetings,
I currently have a string that represents a 64 bit number. Any way to convert that to the actual numeric value?
Val () only does 32 bit.
Thanks for any path you can set me down.
Chazzzmd