キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

detect USB-6009

Hello,

 

  I am using Labview 8.2 and I am using a USB-6009. I would like to be able to detect the presence of the USB-6009 device at the beginning of the

program, so that I can disable/enable the options that use the USB-6009 if the system has it or not.

  So how do I determine if the USB-6009 exists?

Regards,


Kaspar
0 件の賞賛
メッセージ1/3
2,702件の閲覧回数

Hi Kaspar,

 

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.

 

Thanks

 

Eric 

0 件の賞賛
メッセージ2/3
2,692件の閲覧回数

Two ways I've used:

 

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.

Richard






0 件の賞賛
メッセージ3/3
2,691件の閲覧回数