LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic terminals

By the way, just in case you don't know them, the OpenG data tools already do the recursive parsing of variants, so at least that part is mostly handled for you.

___________________
Try to take over the world!
Message 11 of 18
(1,758 Views)

One problem with the variant, I actually was using the lables of the controls as tags in my application.  Varant only pass the data, I might be back to the references.  I need a generic terminal which will adapt to the input wire as a strict type, probably cant do this without some scripting method. 

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 12 of 18
(1,737 Views)
The OpenG data tools allow you to get the data name, which is the label for the control in your case. See here for an example (and follow the link at that post)

___________________
Try to take over the world!
0 Kudos
Message 13 of 18
(1,731 Views)
Great I will check this out.  Thanks
 
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 14 of 18
(1,728 Views)
I also know from personal experience that the variant retains the name.  Check out my nugget which uses exactly this aspect of variant data.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 15 of 18
(1,715 Views)
A new option: xml.
You could use the Flatten to xml String VI, that takes anything and passes data, data structure and names.

Felix
0 Kudos
Message 16 of 18
(1,710 Views)

Thanks the variant and openg tool kit are working very well.  I am able to do everything that I want with this.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 17 of 18
(1,683 Views)
MGI just released a new solution which essentially does the same thing as the OpenG solution, but is supposed to work faster and uses vi.lib VIs for the type parsing, but I haven't checked it out, because it's 8.x only.

___________________
Try to take over the world!
0 Kudos
Message 18 of 18
(1,675 Views)