12-20-2012 02:08 PM
I use the LabVIEW IO Control to initialize a device and I pass the inputs from Test Stand. Test Stand breaks them into: DeviceName and SessionNumber.
Is there a way in LabVIEW to do the same thing ? I'd like to be able to break or "unbundle" them in LabVIEW. Thanks y'all !
12-21-2012 08:42 AM
Hi SK8,
Could you please give me some more information on what control you are using and what type of device you are initializing (DAQmx, Serial, GPIB, etc.)? A screenshot of the piece of code in question would be helpful. It is likely that the information you are looking for is accessible through a property node for the session you are initializing, but it will be different depending on the type of session. I would recommend starting to look there.
Happy Holidays!
12-21-2012 09:48 AM
It is the IO Control for NI-Sync (T6674 Timing card). I've attached a small screenshot. Basically what I am trying to do is this: I am passing inputs from Test Stand to my VI for the IO Control. I'd like to do that as a bundle of 2 strings (Session Name, Number) and them bundle them inside my VI to pass to NI-Sync.
12-26-2012 05:55 PM
Hello,
This property may be driver dependent so it may be helpful to know what hardware you are using, as well as the drivers you have installed. I hope that you have a nice day!
Regards,
Jason D
Applications Engineer
National Instruments
12-27-2012 10:03 AM
Hello Jason
The hardware is NI PXIe-6674T. Here is a screenshot from Max. Happy Holidays !!
12-28-2012 03:07 PM
Hi,
You can get the device name in a string type by passing the instrument handle out to a "Type Cast.vi" and casting it to a string type. Unfortunately you can not get the IVI session number in LabVIEW.
-Jake B.