NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

VeriStand Steps for TestStand Feedback

TJ,

When you say you have a global variable, are you setting the step variables of the Initialize VeriStand step to be equal to those values?  The pre-expressions of that step would be great for that.  I think the system definition gets set at edit time, so if you're going to change the project, you should change the system definition path too.

Does that work, or are you already doing that?

Thanks,

Andrew

0 Kudos
Message 151 of 292
(1,298 Views)

And yes, ElectricWraith - I wish I could make a library that made it simple and easy to add the TestStand steps to a sequence.  Sadly, I haven't been able to make a successful case for it.  It doesn't look like I will have it anytime soon.  If you manage to do or find anything and can put it on github, it would be equally awesome.

Andrew

0 Kudos
Message 152 of 292
(1,298 Views)

Hi Andy,

I figured it out. Yes I’m currently using the pre-expressions to set both Project and System Definition files.

Thanks

TJ

0 Kudos
Message 153 of 292
(1,298 Views)

Cap 2016-06-08 17-14-07-029.jpg

0 Kudos
Message 154 of 292
(1,298 Views)

I see that reprorting is disabled for one of the steps in the sequence above, but how is reporting being handled in general?

 

I would review this article if you haven't already.

 

Addressing Memory Issues in TestStand

 

I hope that's helpful - let us know!

 

Andy

0 Kudos
Message 155 of 292
(1,298 Views)

Hello Andy this is Chung, Jaehyung working as NIK AE

my customer who use NIVS 2014 and NITS 2014 runs test with your add-on and having trouble with memory.

Cap 2016-06-08 16-57-41-206.png

For test to figure out what was problem, I asked him to run Sinewave Delay.nivsproj like below

Cap 2016-06-08 17-14-07-029.jpg

Regards,

Chung, Jaehyung

NIK AE

0 Kudos
Message 156 of 292
(1,298 Views)

Hi Chung,

Again, I think it's worth finding out how reporting is configured in the TestStand sequence. The white paper I linked above should walk you through some details about configuring reporting for long tests.

Good luck!

Andy

0 Kudos
Message 157 of 292
(1,298 Views)

Hi HandyAndy

I'm running into some issues when creating a teststand sequence using the Get Channel Value step;

I used this Get Channel Value step in a while loop, to read a boolean signal from my Veristand project ( I assigned the channel value to a local parameter in Teststand). I was trying to make the while loop continuously reading this channel, and when it gets changed from 1 to 0, the teststand sequence would move to the next step. However it didn't work for some reason, can you help? Or is there a better way to do this than using the Get Channel Value?

Thanks!

Chen

0 Kudos
Message 158 of 292
(1,298 Views)

Hi Chen,

This should work. In what way exactly was it failing to do what you expected?

Here's a screenshot of a very simple sequence which initializes the VeriStand Engine Demo shipping example and then waits for a channel to change value from 0 to 1.

veristand_trigger_ex.png

Have you double checked the logic in your sequence?

I hope this is helpful!

Andy

0 Kudos
Message 159 of 292
(1,298 Views)

Hi Andy,

Thanks for the quick response. The logic seems correct in my sequence.

And actually, in my application, I'm using the Diagnostics Addon custom device in Veristand to read the signal, although the signal itself is boolean type, while due to the custom device it becomes numeric value when use Get Channel Value step in Teststand.

I created a test sequence just like what you showed above, somehow the change of Get Channel Value from 1 to 0 does not stop the while loop from going. Do you have any suggestions? And can you also explain what's the post expressions is doing here in your sequence? Thanks!  

Capture.PNG

Regards,

Chen

0 Kudos
Message 160 of 292
(1,298 Views)