NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom VeriStand Steps for TestStand Feedback

Hey Kevin,

great, it´s working. Thanks a lot!

Michi

0 Kudos
Message 81 of 202
(5,674 Views)

Hi Kevin,

I installed Version 2.2 just to have an update version. Now, my program doesn't work anymore. I have the same problem at set/get channel value. Here is my screenshot:

NIVS Error -17306.png

Can you please help me?

Thanks, Rajamodol

0 Kudos
Message 82 of 202
(5,674 Views)

Hey Rajamodol,

Looks like you will also need to add the Open References step to the start of your sequence.  Let me know if that doesn't resolve the issue.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 83 of 202
(5,674 Views)

Hi Kevin,

If i have sequence file from separate file, shall i add open references step to every sequence files?

Thanks, Rajamodol

0 Kudos
Message 84 of 202
(5,674 Views)

Yes, the globals don't populate between separate sequence files.  I am working on a better way to handle that for multiple sequence files but don't have anything in place yet.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 85 of 202
(5,674 Views)

Hi Kevin,

I think.. at this moment, i better to use Version 201. There will be lots of work if i install Version 220. It is not only to add Open References step for every sequence  but also so far, Version 220 has different variable name at Step.Result.XXX (e.g., Get Channel Value)..

I hope the mature version of this AddOn will be coming soon............

Thanks for your great work, anyway.....!!

Rajamodol

0 Kudos
Message 86 of 202
(5,674 Views)

Hey Kevin,

is there a possibility to access parameters or local variables which I created in Veristand to work with them in Teststand? I´ve got an run-time problem and want to make sure that the RT-sequence is finished runnig before the next Teststand-step will be executed...

Thanks!

Michi

0 Kudos
Message 87 of 202
(5,674 Views)

Hey Michi,

The way I usually set that up is to look at the sequence state property of the RT Sequence.  Post 18 in this thread shows an example of how to do that.  The sequence object also has a Variables property which contains parameters and local variables.  I am not sure you will be able to access this at run time though.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 88 of 202
(5,674 Views)

Hey Kevin,

I tried to do it this way but I got a problem. I´m running not a RT-Sequence but a stimulus profile and want to check if it finished. Does it normally work anyway with the "Get Sequence Step"- maybe if I use the status of the last RT-sequence of the stimulus profile?? How can I get the right loop condition with the right ID for the RT-Sequence? So far it always looks nearly like this...

Unbenannt1.PNG 

Thanks a lot!

Michi

0 Kudos
Message 89 of 202
(5,674 Views)

Hey Michi,

I hadn't tried to get the state when running that way.  It won't work out of the box.  I think you can make it work without too many changes though. 

I think what you will need to do is modify the Run Stimulus Profile state to save the stimulus profile object locally:

stimprofilerun.png

Then on that existing object you can get the state property:

stimprofilestate.png

Let me know if you run into issues with that.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 90 of 202
(5,674 Views)