From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I reset my device?

Hi,
 
 
I would like to reset a PCI-6731 analog output card.
 
I'm trying to use DAQmxResetDevice but it doesn't work exactly like I want.
 
For example, If there is a 3V output voltage on Dev1/ao0. I apply the DAQmxResetDevice(Dev1) function. After that the output is still at 3v.
 
Is there a function allowing to reset the device and to return its output to 0v under CVI 8.5.
 
Thanks
 
James


Message Edité par julesjay le 11-29-2007 10:13 AM
0 Kudos
Message 1 of 4
(2,801 Views)
I don't do CVI, but a simple function call to ouput 0 volts on the channel (just like it was called to set it to 3 V) should suffice, no?
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 4
(2,794 Views)
Yes I'm already using this solution.  But to do this I need first to create a task, then to create a channel then to configure this channel, to write on to this channel and after that to stop and close the task!!
 
I hoped that there was a function which reset the device to powerup state!!
0 Kudos
Message 3 of 4
(2,779 Views)
Hi,
You are using the good solution. The DAQmxResetDevice stop tasks and return the device to an initialized states. You can't also set the outputs to 0 by MAX with the "Reset function".
Manuel
Manuel R
AE dans une autre vie
0 Kudos
Message 4 of 4
(2,748 Views)