07-20-2016 02:55 PM
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
07-20-2016 03:09 PM
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?
Thanks !!
Chen
07-20-2016 03:32 PM
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
07-22-2016 01:21 PM
Hi Andy,
Problem resolved, thanks for the help !!
Regards,
Chen
08-08-2016 04:06 PM
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
08-08-2016 04:14 PM
08-09-2016 06:59 AM
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?
08-09-2016 07:10 AM
Here is a picture of my RT sequence. It writes values via channel references and does not return a value.
08-09-2016 09:48 AM
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.

08-09-2016 09:53 AM
It looks like I have it.