Hi,
If you look at the Process Model 'TestStandModel' and view the sequence PreUUT.
This has a function which displays a dialog for entering in the Serial Number. A Local variable exists in the sequence in the Locals Group called 'SerialNumber'. Ok I know its of type String but the principle is the same.
The function DisplayUUTInformationDialog writes the Serial Number entry using the TestStand API SetValString method. In you case you would use the SetValNumber method.
In a LabVIEW VI you would use the ActiveX VI Invoke Node and select the GetValNumber method to be able to get the value of the SerialNumber into you VIs. The GetValNumber method requires two input parameters, A Lookup string and an option value, It returns a numeric of type double. For the examp
le above the Lookup string would be 'Locals.SerialNumber'. The option parameter you can set as 0. In effect when you install TestStand and have LabVIEW on your system you will get a set of VI's for use in TestStand. These are found in the User Library. There you will find a SetValNumber and GetValNumber VIs already for you to use.
Hope this helps.
Ray.
Regards
Ray Farmer