03-05-2019 12:56 PM
Hi Peter,
Where I shall call the local variable? In the Get Channel Value step, I can only see 'Configure Channel' which I can select the channel in Veristand. I attached the pictures which is what I can see from the Get Channel Value step.
Thank you,
Weina
03-05-2019 01:24 PM
Just add a Statement in the next line that stores the Get Channel result into your local variable. "Locals.abc = RunState.PreviousStep.Result.Numeric"
03-05-2019 01:28 PM
Good! I just talked to NI customer support, and they give the same solution. Thanks Robert.
03-05-2019 01:34 PM
Hi,
Robert is correct. Just to share something, I utilize Get Channel and Set Channel steps extensively in my testing. I store all of the Get Channel calls into designated global variables and also utilize global variables (or constants) to set all of the Set Channel values. I do this because I have many, many sequences (which I call test functions) in my Sequence file. I want to be able to share data among test functions, so it's much easier for me to just use global variables, and it works fine that way.
Peter
03-05-2019 01:42 PM
Thanks Peter. I am a beginner in Teststand collaborating with Verstand. I appreciate helps from you guys with more experience in this field.
03-21-2019 05:11 AM
Hi there,
I have a fresh installation of teststand 2017 and installed ni-veristand-2018-steps-for-teststand_8.1.0+113_windows_x64 also. I cannot open the veristand project and deploy it, but I can start veristand.
Like mentioned in https://forums.ni.com/t5/NI-VeriStand/Error-1172-and-Error-1-when-opening-VeriStand/td-p/2147044, a restart didn't help. I receive the error message for opening the project:
Error executing substep 'ProjectOpen'. Invoke Node System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. Inner Exception: NationalInstruments.VeriStand.VeriStandException: GSW.lvlib:Launch VeriStand.vi >> VeriStand Application.lvlib:VeriStand Root Loop.vi >> Project Server.lvlib ![]() ========================= NI VeriStand: C:\\Projects\\HiL\\PlatformComponent\\VeristandProject\\MirrorProcess\\MirrorProcess.nivsproj NationalInstruments.VeriStand.VeriStandException in ni-veristand-steps-runtime-lib.lvlibp:NI_VS Project ExecutionAPI.lvlib:NI VeriStand - Open Project Reference.vi->ni-veristand-steps-runtime-lib.lvlibp ![]() ![]() LabVIEW: (Hex 0x494) In einer externen Assembly ist ein .NET-Ausnahmefehler aufgetreten. Für Hinweise zum Beheben dieses Fehlers kopieren Sie den folgenden Ausnahmefehler (fett gedruckt) und suchen Sie auf der Website des Microsoft Developer Networks (MSDN) oder im Internet nach einer möglichen Erklärung.[Error Code: 1172] |
and the message for the deploy:
Error executing substep 'ProjectDeploy'. Invoke Node Error calling method NationalInstruments.VeriStand.ClientAPI.IProject.Deploy, (System.ArgumentNullException: Der Schlüssel darf nicht NULL sein.\r Parametername: key) System.ArgumentNullException in ni-veristand-steps-runtime-lib.lvlibp:NI_VS Project ExecutionAPI.lvlib:NI VeriStand - Deploy Project.vi->ni-veristand-steps-runtime-lib.lvlibp ![]() ![]() LabVIEW: (Hex 0x494) In einer externen Assembly ist ein .NET-Ausnahmefehler aufgetreten. Für Hinweise zum Beheben dieses Fehlers kopieren Sie den folgenden Ausnahmefehler (fett gedruckt) und suchen Sie auf der Website des Microsoft Developer Networks (MSDN) oder im Internet nach einer möglichen Erklärung.[Error Code: 1172] |
Thanks for your help
04-04-2019 09:29 AM
Afternoon,
I posted a question here, regarding an error I was getting when using the 'Start VS Logging' step. I was kindly directed to this forum. Please see attached image of error message.
I am fairly new to Teststand, so if someone could shed some light on this issue I would really appreciate it.
Si
04-23-2019 09:24 PM
Just a friendly reminder that this package is also supported at the GitHub project page.
https://github.com/NIVeriStandAdd-Ons/VeriStand-steps-for-TestStand/issues
06-04-2019 08:37 AM - edited 06-04-2019 08:41 AM
@FLQ wrote:
Hi all,
I encountered a problem when trying to pass parameter values from TestStand to an RT Sequence if the parameter values are saved in TestStand variables (in this case Locals).
The values to pass don't reach their linked parameters in the RT Sequence, there the parameters are just set to value 0.
If I don't use TestStand variables and pass a particular number, it works.
In the attached file the values for Param1, Param3 and Param4 don't reach the RT Sequence, the second parameter ("1") is passed correctly.
As TestStand makes suggetions to choose between TestStand variables when I type "Locals." in the Parameter Value lines of the Configure Real Time Sequence window, I wonder if passing values from TestStand variables is a feature that is not (yet?) supported and just not resulting in an error/hint.
Supporting this would be some kind of key functionality for me to keep my TestStand sequences modular and scalable for the users.
Thank you in advance for your help!
Flo
Replying to this comment as it was the question I was trying to asked and not sure if it has been answered but I solved the problem. When you set the parameter/local variable as an entry in the "Configure RT Sequence" dialog box. It resets to send a string of the entered value instead of passing a reference to the parameter/local variable.
To change this, select step properties and go down to property browser. You will find the expression for the ParamValuesArray. You will see the value has string quotation marks around it. Simply remove the quotation marks and TestStand will pass the value of the referenced variable in.
06-07-2019 09:31 AM
I am no longer able to use these steps to deploy any versitand projects across any of my PCs
LabView 2018
Veristand 2018
Teststand 2017
I get the follow error on my initialize veristand step
Error executing substep 'InitializeVeriStand'.
Property Node in ni-veristand-steps-runtime-lib.lvlibp:VeristandInitialize.vi->ni-veristand-steps-runtime-lib.lvlibp:VeristandInitialize.vi.ProxyCaller
LabVIEW: (Hex 0x1) An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=========================
Command requires GPIB Controller to be Controller-In-Charge.