Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I detect USB cable unplugged for USB 6229

I am using a USB 6229 to control a moving machine. As a safety mechanism, I would like to be able to detect if the USB cable becomes unplugged and stop the machine.
 
I thought maybe I could use the Watchdog functions in DAQmx to achieve this, but I get an error which says that watchdogs are not supported on the 6229. Does anyone know if there is a way to detect the USB cable is unplugged on the 'machine' side of the 6229, please? I could build my own watchdog timer and control it using digital I/O lines, but I wondered if I was missing something obvious?
 
Thanks,
Paul
0 Kudos
Message 1 of 2
(6,073 Views)

Hi Paul,

I don't believe you'll be able to do set this up with your USB 6229. There aren't any safety features like watchdog timers on that device and I don't believe there's a signal or anything generated when the USB cable is unplugged. Your best bet would be to build your own watch dog timer or perhaps look at a DIO device with this functionality built in.

 

Sarah

Applications Engineer | National Instruments | UK & Ireland
0 Kudos
Message 2 of 2
(6,059 Views)