05-28-2015 01:21 PM
Thanks Lynn!
It works too.
Jimmy
06-03-2015 03:39 PM
apekshakumavat,
During installation MiscHelperVIs.llb should have been added to your <Public Documents>\National Instruments\<TestStand version>\Components\TypePalettes\ directory. This file is contained within. If you do not have it, I recommend doing an uninstall of the steps, confirming that you don't have a firewall enabled, and then doing a reinstall.
Lynn
06-04-2015 02:55 PM
Hi,
I want to run test cases with different initial conditions on channel as well as parameter value. Is there a step for doing this using this add-on?
Thanks
Apeksha
06-04-2015 07:26 PM
Hi apekshakumavat,
It depends on what you mean by initial conditions. If you are asking if you are able to set values of channels and parameters prior to deployment of the system definition, you cannot do that with these steps. These steps are meant for manipulating the system after deployment using VeriStand's .NET Execution API. However, you can do this using VeriStand's .NET System Definition Definition API. We just don't have wrapped steps for this.
If you are wanted to change channel values and parameters while it is deployed this can be done using the steps. Channels can be changed using the Set Channel Value or Set Multiple Channel Values. For model parameters, this can be done using the Set Parameter Value or for multiple parameters you can use the Update Model Parameters from File steps. You can also do similar operations using a Real-Time Sequence and calling that Real-Time sequence.
I'd recommend downloading and looking at the Tutorial.zip and Custom NI VeriStand Steps for TestStand.docx files from the steps page for a walk through of how to use the steps.
Best Regards,
Lynn
06-08-2015 03:22 PM
06-08-2015 04:19 PM
Hi Jimmy,
Is this with all of your RT Sequence Pass Fail tests or this specific one? You can test this by skipping the current RT Sequence Pass Fail step (right-click>>Skip) and add another RT Sequence Pass Fail step. You can start but adding an RT Sequence file that just sets the Pass return variable to true. I would like to know if the error is specific to your real-time sequence or your TestStand sequence.
Lynn
06-08-2015 04:24 PM
Hi Lynn,
This error is just is only specific to some RT sequences, one common things of these RT sequences are that they all have embedded IF ELSE structures , up to 3 layers.
Thanks,
Jimmy
06-08-2015 04:36 PM
Jimmy,
The error shouldn't be dependent on what is inside the RT sequence since we just call an API function to execute the sequence. But, as you have found, there may be bugs at the interface between the TestStand sequence and the RT Sequence. Can you copy the RT sequence that has this behavior, delete all the steps from within it, but keep the parameters and variables, and attempt to run the new sequence?
Lynn
06-09-2015 08:55 AM
Hello Lynn,
The error still happens with empty sequence with parameters, variables and Channel references kept.
Thanks,
Jimmy
06-09-2015 09:29 AM
Hello Lynn,
My problem is resolved by adding a dummy parameter by value.
Thanks for help!
Jimmy