Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

how to detect plugging & unplugging of nidaqmx card programatically

Solved!
Go to solution

I am having NI6218 DAQmx card. This is USB device card. I wanted to track the event when data card is connected to usb drive programatically ( in c# specifically).

Is there any API / event raised by NIDAQ assemblies that will give me status of the above card is plugged-in or plugged-out as USB device?

0 Kudos
Message 1 of 4
(3,537 Views)

Hello Nilesh,

 

Try using the VISA Find Resource VI.

0 Kudos
Message 2 of 4
(3,518 Views)

Hi Sahil,

 

Thanks for your reply. I did not understand your reply. I am first time working on such concept of data acquisition.

could you elaborate please?

0 Kudos
Message 3 of 4
(3,513 Views)
Solution
Accepted by topic author Nilesh.Bodhe

Hi Nilesh,

 

There is a function present in LabVIEW 'VISA Find Resource VI' which you can use to detect the device that are attached to the computer.

0 Kudos
Message 4 of 4
(3,510 Views)