NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

VeriStand Steps for TestStand Feedback

Thanks Lynn!

It works too.

Jimmy

0 Kudos
Message 81 of 292
(5,886 Views)

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

National Instruments
Senior Systems Engineer
0 Kudos
Message 82 of 292
(5,886 Views)

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

0 Kudos
Message 83 of 292
(5,886 Views)

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

National Instruments
Senior Systems Engineer
0 Kudos
Message 84 of 292
(5,886 Views)

Hello Lynn,

I have a new issue with calling NI VeriStand step from TestStand.

I got the following error message when calling a RT sequence.

The RT sequence runs successfully when running from Stimulus editor.

Please help!

Thanks,

Jimmy

0 Kudos
Message 85 of 292
(5,886 Views)

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

National Instruments
Senior Systems Engineer
0 Kudos
Message 86 of 292
(5,886 Views)

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

0 Kudos
Message 87 of 292
(5,886 Views)

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

National Instruments
Senior Systems Engineer
0 Kudos
Message 88 of 292
(5,886 Views)

Hello Lynn,

The error still happens with empty sequence with parameters, variables and Channel references kept.

Thanks,

Jimmy

0 Kudos
Message 89 of 292
(5,886 Views)

Hello Lynn,

My problem is resolved by adding a dummy parameter by value.

Thanks for help!

Jimmy

0 Kudos
Message 90 of 292
(5,886 Views)