07-07-2009 11:54 AM
Can any one pls help me out Iam trying to Integrate the Labview with some other Software say 'x'. For this purpose I have to register all the channels which Iam using in the 'x' software in to the Lab view with the active x control provided.
Now the problem what I have is Iam trying to automate this process . Instead of creating a Invoke node for each channel manually, is there any way to create a invoke node automatically for each channel by taking the channel names from the excel sheet.
In brief to say if the excel sheet has 20 channel names now it has to create 20 Invoke nodes with the channel names provided in the excel sheet automatically, under "register channel" section in the code.(Interfacing is seen in upper left part of the code attached ).
Shanth.
07-07-2009 01:18 PM
Sure.
You can use ActiveX methods to open the Excel Spreadsheet and read the names. Search the forums for examples of working with Excel and LabVIEW. There is even a board dedicated to Excel.
Once you have those names read and built into an array, wrap your Invoke Node in a For Loop and feed the array of names into it with autoindexing turned on.
07-07-2009 01:51 PM
Hello Ravens,
Can you pls provide me any link or sample code to automate the process. Iam really new to Labview programming.
Thank You,
Shanth.
07-07-2009 02:01 PM
07-07-2009 02:16 PM