Hi folks,
using TestStand: 2016 LabVIEW: 2015
I've resurrected a project I was last working on near the end of 2017, back then I had created a bunch of LabVIEW vis, a TestStand sequence, a little hardware based on a PIC 18f2550 demo board (used to relay 9 bit RS232 comms to USB) and the whole thing was working, albeit a little flakey sometimes.
I wanted a way of being able to configure my Rigol M300 DMM so that I could easily change how the Multiplexers and Mutifunction card were connected to my UUT. So I made a vi that allowed me to configure the MUXes and the multifunction card (DIO, Analogue IN/Out, Totalizers), the vi output a property loader TXT file and this was read by the TestStand sequence.
Time moved on, the project was shelved, I've done some other TestStand bits and pieces and now in preference to using the Property Loader to create my FileGlobals:
![FileGlobals.png FileGlobals.png]()
I'd like to use an INI file (easily man readable) which will be created by my user friendly configuration vi. I'll also have a LabVIEW vi called from TestStand to take the info in the INI file and create Run Time FileGlobals loaded with the values in the INI file.
I've done this before for simple strings and numeric variables, but now my FileGlobals are a little more complex, it's a Container, holding a Number, Enum, String and Number.
What I'm struggling with is firstly knowing if this can actually be done with LabVIEW ? secondly, how to create a container of a specific type (Rigol_IO), third, how do I get the Rigol_IO_In_Out_Type from TestStand and set the variable In_Out_Type to be this type in LabVIEW.
I'm assuming I can get the types I need from the Sequence Context but I'm really not sure how to reference them and am struggling to find any info to point me in the right direction . . . . hence my post.
thanks in advance.