After I copied the whole "Components" folder to my Release folder, the problem was solved, thanks!
Re: The Same Code Work Normal On TS2016 But Doesn't Word On TS2017
Can not generate report in operator interface, MainSequenceResult is NULL.
I was trying to build my own txt report model plugin. My report model plugin works well in develop mode(teststand 2016 sequence editor) and it works well in "TestStand 2016 (32-bit) LabVIEW UI - Editor".
But it doesn't work in "TestStand 2016 (32-bit) LabVIEW UI - Operator".
C:\Users\Public\Documents\National Instruments\TestStand 2016 (32-bit)\UserInterfaces\Full-Featured\LabVIEW\TestStand 2016 (32-bit) LabVIEW UI - Operator
And I also have tried teststand example(C:\Users\Public\Documents\National Instruments\TestStand 2016 (32-bit)\Examples\Customizing Result Processing\Model Plugin - Simple Text Report\LabVIEW), but I got the same problem. This example only can run well in editor mode.
The problem in the operator mode is that "MainSequenceResult is NULL".
Can anyone help me on this?
Re: How to find Configuration file in teststand using FindFile() Function
Yes that will work as well because the parameter is optional. See http://zone.ni.com/reference/en-XX/help/370052M-01/tsapiref/reftopics/engine_findfile_m/ for details about FindFile
How to get Error Message back before report generated with NationalInstruments.TestStand.Interop.API
I'm using NationalInstruments.TestStand.Interop.API in a VB.NET program and able to get back step results from ResultList as expected when sequence ran without error. When error happened, I could not get 'Error Message' (as shown in the image attached) back. Please shed night on how to get Error Message back before report generated.
Thanks a million!
Installation of two Labview-Runtimes possible?
Hello,
i have a pc with installed labview runtime 2015.
Only one vi is labview 2016.
Is it possible to simply install both runtime-versions (2015 and 2016) and teststand automatically selects the needed version?
In Teststand Configure + Adapter + Labview the first dropdown is version: "Auto detect using vi version".
So it seems to be possible.
Is there any disadvantage doing this?
Thx
Re: DetermineReportFilePathNameExprEx2
Hi,
is your question still active?
What do you want to achieve?
If you attach a reduced sequence of what you are trying to do, I'll have a look :-)
Greetings
Uninstall teststand framework - Toolmenu.ini, User.ini and StartupCfg.ini not deleted from Cfg folder
Hi ,
After i uninstall the teststand framework from my machine, I can still see the Toolmenu.ini, User.ini and StartupCfg.ini in the Cfg folder. Not sure why teststand retain these files. Any method to delete this file while uninstalling framework.
Currently i am deleting manually. But that is not the actual approach.
Regards,
Anand
Re: Start a new exeution in SeqFileLoad and terminate it in SeqFileUnload
Hi,
two thoughts on this:
(1) FileGlobals and Locals have a execution lifetime. As you did not execute Main, you run into some undefined state. You can use StationGlobals for this, though
(2) Termination is no proper way to end executions. Better use the reference you got to set x == 0 in your example, or trigger another clean stop within the parallel sequence.
Greetings
Re: SQL database and "infinity"
If you are getting an unknown variable error:
An error occurred calling 'LogResults' in 'ITSDBLog' of 'zNI TestStand Database Logging'
An error occurred evaluating a database statement/column precondition.
Schema: Axcelis Schema With Preconditions
Statement: MEAS_NUMERICLIMIT.
Column: DATA
Property: Measurement.[Measurement 0]
Error in argument 1, 'Logging.StepResult.Numeric != NAN', in call to the expression function '#NoValidation'.
Unknown variable or property name 'Logging.StepResult.Numeric'.
Source: TSDBLog
Try this in PROP_RESULT table in STEP_NUMERICLIMIT1.DATA Precondition:
"Logging.PropertyResult.Data" instead of "Logging.StepResult.Numeric "
i.e:
Logging.DatabaseOptions.IncludeOutputValues && (Logging.PropertyResult.Data != NAN)
Re: Uninstall teststand framework - Toolmenu.ini, User.ini and StartupCfg.ini not deleted from Cfg folder
The problem is TestStand didn't install those files. It created them when you opened it. I personally wish it would uninstall that folder though.
unexpect "unknown variable name" warning
Hello
i'm using TS2016 and when i copy a number variable in an container to expression, it show "unknown variable or property name" warning but obviously the variable is just locate there.
Re: unexpect "unknown variable name" warning
Hi,
In your array called 'Steps', you have 2 array elements which are called 'M'. So in your expression, I guess you want to use the second 'M' element which have a "Pol' subproperty.
But I think TestStand use the first one and I suppose that this one don't have any 'Pol' subproperty
Regards,
Laurent
Re: Uninstall teststand framework - Toolmenu.ini, User.ini and StartupCfg.ini not deleted from Cfg folder
Hi Jigg,
That's right.
The current problem in my system is when i uninstall the framework and reinstall it again. I am seeing Toolmenu item getting duplicated.(i am using customized Toolmenu) . Because of this issue, in order to make it work, i need to manually delele the Toolmenu.ini from Cfg folder before reinstallation.
I thought that teststand deployment utility might have provided option called "Force to uninstall" similar to "Force to Install" , which will remove Toolmenu.ini forcefully during uninstallation.
Regards,
Anand
How to create a post sequence callback?
Hello,
is it possible to create a sequence that is automatically executed after each sequence without adding it to the main sequence?
Something like SequenceFilePostStep for sequences?
Thx
Re: How to create a post sequence callback?
Use the SequenceFilePostStep callback and filter for SequenceCall step type instances.
Re: How TestStand knows the DLL parameters?
There are ways in C/C++ to compile header information into a DLL. This can be done by e.g. LabWindows/CVI from NI.
If you have a DLL containing the header information, the C/C++-DLL adapter (and CVI adapter alike) will read out that information directly from the DLL and populate the function drop-down field. If the header information also include the information on the parameters for each function, the adapter will also populate the list of parameters when the function is selected.
You can check the presence of header information by simply opening the DLL file in a text editor. If you find function names in clear text, the adapter will provide the function names. If you find parameter names in clear text, same applies for the parameters as well. If you find nothing, the adapter will not show any selectable function nor any parameter.
Re: Uninstall teststand framework - Toolmenu.ini, User.ini and StartupCfg.ini not deleted from Cfg folder
Hi Jigg,
If TestStand didn't install those files, which module installed?
How can i disable installing those 3 ini files.
Regards,
Anand
How to log enum names in report
I have a teststand program to work with a DMM via VIs. The step where I configure it has a container with a enum in it to choose the function of the DMM. Since the type of enum is a Number, it get logged as a number. Is there a way to log the enum name(DC Volts) as well to make the report more readable?
I want to generate multiple reports in Test Stand.
I am tied to an existing implementation of TestStand so I am limited in what I can do. We are testing a very complex piece of hardware. Just bringing it up to a ready state takes up to 10 minutes. We are testing many firmware and hardware features and the 10 minute startup and 8 minute shut down times are killing us. I derived a LabVIEW spreadsheet handler and a LabVIEW monitor window that run asynchronous and communicate with a rudimentary commands processor running in TestStand. We need to be able to run multiple spreadsheet files of commands and generate a test report for each. Because of the nature of the beast, we are generating huge amounts of test data, in the order of a petabyte or more a month. If I run a few spreadsheets, the TestStand report errors out due to memory, so I need to trigger interim reports, ideally, one for each spreadsheet, flush and start fresh if possible without exiting and starting the power up sequence over again. I am a LabVIEW with 20+ years experience, but somewhat a novice with TestStand in this respect. Can any of you pro's at least point me in the right direction. As always, they never give you enough time and I have a looming deadline.
Can it be done without altering the single run model? Just trigger a new report?
Re: Pass by pointer broken after non-use
We used the pointer which is an unsigned long 32 bit integer to pass the data structure because there was a miss communication between the software developers and the test developers. This had worked up until last week. The other difference from two years ago that may have something to do with the issue is that these systems were on a closed network most of the time and did not take Windows updates. The closed network no longer exists and these systems were brought up on an open network, access to www.