From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
You can use the DevNames property of a DAQmx System Property Node which returns an array containing names of all DAQ devices currently in the system. You can search through this list to determine if the USB-6009 is in the system. The DAQmx System node can be found in the following pallette: Measurement I/O>>DAQmx>>DAQmx Advanced>>System Setup.
1) Ask for data from it. If it does not return an error, it's connected.
2) Better: the unit has a reference voltage on one of the outputs. You can perform a "wrap-back" and tell that the unit is connected and functioning. In other words, wire the reference voltage output to an unused AI, and check that AI at startup.