05-01-2007 06:31 PM
05-02-2007 03:02 PM
Hi andgate,
I don't see any way to get the list if physical channels into an object. GetCtrlVal() will retrieve the selected channel only. Perhaps if you provide more information as to what you would like to do with the object, we can find another way to achieve the goal.
Here is one reference that may be helpful: Getting the contents of the text box list from NIDAQmx_NewPhysChanAICtrl(...) programatically
05-03-2007 12:12 PM
The user of my software will assign functions to the various digital i/o lines. If the user attempts to assign an i/o line that has already been assigned, I want the program to prompt the user. So the program must keep track of what i/o lines are provided by the daq cards, and which of these have already been assigned.
I guess I will have to probe each device number individually to see what card is there, and reference some look-up-table to see what dio lines each card provides, and build a matrix that way?
05-04-2007 10:58 AM
05-07-2007 02:19 PM
That seems a bit sloppy, but it looks like my best alternative. Thanks for suggesting it.