We are storing an IMAQdx Session in a TestStand Global variable which we pass successfully to and from LabVIEW VIs using IMAQdx I/O controls.
We also want to access the IMAQdx Session from the Sequence Context (the reason for this is a long story involving sub panels). The TestStand - Get Property Value.vi doesn't provide a way to select reading a IMAQdx I/O control data type, but we can read the Device Name and Session Number individually. That is how we handle getting an Image Ref from the sequence context. In the Image ref case, we use two calls to the TestStand - Get Property Value.vi to get the Device Name string and the Session Number number, bundle those into a cluster, and then use the magical IMAQ Image Cluster to Image Datatype.vi to convert the cluster to an IMAQ Image datatype - this works fine. We have not been able to find an analagous magical VI to convert our IMAQdx I/O Device Name and Session Number cluster into a datatype that the IMAQdx Snap.vi will accept as an input.
How can we access the IMAQdx I/O session from the sequence context and coerce it into a form that IMAQdx Snap.vi will accept?
See attached LabVIEW snippet.
Thanks,
Hans