NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

VeriStand Steps for TestStand Feedback

Hi Chen,

The variable I'm using to control my While loop is 'Locals.boolTrigger'. I am using a post-expression to assign this variable to whatever numeric result I read using 'Get Channel Value'.

From your sequence it isn't clear where else the 'Locals.DIDs' variable is being updated?

Best,

Andy

0 Kudos
Message 161 of 292
(1,183 Views)

Hi Andy,

Not sure if I'm doing this correctly, I assign the Locals.DIDs directly to the Get Channel Value in the configure window.

So, would this Locals.DIDs being updated when the while loop gets iterated if I'm doing this way?

Or is the post-expression a neceassary step I'm missing here to assign the result from Get Channel Value separately?

Could you please suggest?

Capture.PNG

Thanks !!

Chen

0 Kudos
Message 162 of 292
(1,183 Views)

Hi Chen,

I believe the Value field in the Channel Selection dialog is only used when using Set Channel Value to set a VeriStand channel to a new value.

If you're reading a channel from VeriStand this field won't be used.

You need to add additional logic as I did in a post-expression above. Give that a try and let us know if that does what you need.

Andy

0 Kudos
Message 163 of 292
(1,183 Views)

Hi Andy,

Problem resolved, thanks for the help !!

Regards,

Chen

0 Kudos
Message 164 of 292
(1,183 Views)

Hello,     I am getting the following error when using this in TestStand 2014:     Error executing substep 'Open and Deploy RT Sequence Action'. Constructor Node System.NullReferenceException: Object reference not set to an instance of an object. System.NullReferenceException in RTSequenceVIs.lvlibp:NI_VS Sequence Execution Interface.lvlib:Create Sequence Call.vi->RTSequenceVIs.lvlibp:Open and Deploy RT Sequence blocking call.vi->RTSequenceVIs.lvlibp:Open and Deploy RT Sequence blocking call.vi.ProxyCaller LabVIEW:  A .NET exception occurred in an external assembly. For information about correcting this error, copy the following exception (in bold), and search the Microsoft Developer Network (MSDN) Web site or the Web for a possible explanation.     What does this mean?     Have a simple Initialize VeriStand, RT Sequence, and Stop VeriStand sequence file in TestStand.     I am running:     Windows 7  TestStand 2014 SP1  VeriStand 2015  PXI 8135 w/ PharLap RT ETS

0 Kudos
Message 165 of 292
(1,183 Views)

example_seq.PNG

0 Kudos
Message 166 of 292
(1,183 Views)

I am using the VeriStand steps with a custom device. I notice in the help document that the example uses aliases. Do I need those?

0 Kudos
Message 167 of 292
(1,183 Views)

Here is a picture of my RT sequence. It writes values via channel references and does not return a value.

rtseq_bus_volt.PNG

0 Kudos
Message 168 of 292
(1,183 Views)

Just to be sure, have you configured the Initialize VeriStand step under the Step Settings? There are some extra fields that need to be populated, e.g. system definition, target.

example.png

0 Kudos
Message 169 of 292
(1,183 Views)

configured_init_vs_step.PNG

It looks like I have it.

0 Kudos
Message 170 of 292
(1,183 Views)