Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Is device resseting neccessary to use DAQmx after trad daq?

Hello.
 
I have a driver problem. First I use trad daq to generate a digital puse train and read/write two lines. This works without a problem and I close the tasks before the vi stops, but after this I try to use DAQmx (in another subvi, but not simultaneously). In the main vi I have a case strucute and depending on a button I launch the matching subvi and get the error bellow.
 
Do I have to reset my device (how would I do this)? It could also be possible that I didn't clean up the tasks rightly.
 
Please help,
 
kind regards peter
0 Kudos
Message 1 of 5
(2,847 Views)
Hi Peter,
 
Yes you have to reset your device, but this could be done very easy programmatically with the DAQmx Reset Device.vi,
located under Measurement I/O > NI DAQmx > Dev Config !
 
 
Christian
0 Kudos
Message 2 of 5
(2,834 Views)

hello christian,

thank you for your reply, but I'm sorry, because that doesn't work 😕

First I started the subvi Initialisation.vi (that uses trad daq) ... then I got back to the main vi. After this I tried to restart the device the way you told me and start Control.vi, but I got the following error (bellow)

 

kind regards peter

0 Kudos
Message 3 of 5
(2,831 Views)
Hey christian,
 
now I've already fixed the bug!
 
I have to use the "traditional" <reset device.vi> and it works....
 
thank you very much,
kind regards peter
0 Kudos
Message 4 of 5
(2,827 Views)
Sorry Peter, didn't know that there is a difference between them, because i only have DAQmx installed
0 Kudos
Message 5 of 5
(2,824 Views)