06-09-2009 05:42 PM
I am using the "NationalInstruments.DAQmx.DOChannels.CreateChannel" command to write data to the DAQ. I am looking for which functions to call to find out how many lines/Ports are available so I can create the first parameter...
Currently, I am hardcoding it to the following:
digitalWriteTask.DOChannels.CreateChannel("Dev1/Port0", "Port0", ChannelLineGrouping.OneChannelForAllLines)
I would like to be able to know how many Devices and Ports are available for the DIO card(s) installed on the system. Is there a call that will return this information?
06-10-2009 04:01 AM
Hi Tim8w,
you can use DAQmx property nodes to get this information.
Mike
06-10-2009 09:43 AM
Hi Tim8w,
The KnowledgeBase linked here will show you how to find all the devices in you system. Take a look at it. If you have any questions, let me know.