From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

VeriStand Steps for TestStand Feedback

ElectricWraith,

This is the VI I discussed in another thread.  It shows how the .NET API is wrapped in LabVIEW.  This is an example of me wrapping it for easy calling in TestStand.  If I wanted to add any custom logic to the runtime behavior, I could add it in this VI.

Does this help?

Thanks,

Andrew

0 Kudos
Message 11 of 292
(6,877 Views)

Andrew,

I've seen that VI on the VS palette before, but I guess I've been too buried in .NET to have remembered it. I may end up using this to reduce or eliminate the sub-sequences I'm using, but I'm also installing the 2014 DS2 Dev Suite on one of my machines as I type this, and plan to install the 2014 version of the VS Custom Steps as soon as possible.

I'm trying to avoid getting into a situation where I use VIs for all of the programmatic sequence generation, because I'm afraid I'll get 90% of the way there and find out that there are a few functions for which I don't have VIs. The Start Veristand step is a perfect example of this problem, and that's why I've been trying to just stick with using the Custom Steps in the sequence generation code.

0 Kudos
Message 12 of 292
(6,877 Views)

Actually the proper way to invoke NIVS executable is to read the location from registry. F.e. for NIVS 2013SP1 it is here: HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\VeriStand\2013\InstallDir

CLA, CTA

0 Kudos
Message 13 of 292
(6,877 Views)

Jiri,

You're right about that.  I'll add that to the update list for the next revision.

Andrew

0 Kudos
Message 14 of 292
(6,877 Views)

ElectricWraith,

This example shows how use the TestStand API to add pre-made steps into a sequence file.  When I get time I want to rework it - among the changes, I would do a few things to simplify the interface as well as expose more options, like:

  • change the Step Type input string to an enum of the step type
  • In the cluster, add an additional array (of clusters) of name/value pairs.  Then have the code handle them like an address and value, and add them as step parameters.  For example, "Step.Extras.Awesome" paired with "True" , if I had a step type that took those arguments.  Then it would look up the Step.Extras.Awesome, and set it to True.  That way the steps aren't just added, but can be configured to a particular state, too.

Andrew

0 Kudos
Message 15 of 292
(6,877 Views)

Hi Andrew.

This is Eisuke, An AE at NIJ.

Our customer in Japan is using this add on.

He is requesting explanation on following steps.

Could you explain or introduce available documentation?

1 Silent Connect

2 Silent Disconnect

3 Stop Silent Gateway

Also, he can not select On Fail Action at Deploy Project.

Is there any limitataion?

Also if there is documentation about every steps, please let me know.

I really appreciate it.

Best.

Eisuke Ono

AE at NIJ

0 Kudos