Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

6008 saving of functional settings

Solved!
Go to solution

Hi all,

 

I have an issue with our 6008 USB DAQ device.

 

The issue being; nothing happens when setting the outputs of the device, leaving the software to blindly carry on assuming the outputs have been set.

 

To overcome the problem, the device is found in MAX, test panel opened, and set the I/O settings to output. But these setttings are lost everytime the USB is removed from the PC, thus the process of re-openeing MAX etc. is required.

 

Is there a method in which I could automatically setup the device, (i.e. creating a small executable) which could automatically load when the device is recognised? Or is there an easier solution.

 

Your help is much appriciated, Andy.

0 Kudos
Message 1 of 4
(3,056 Views)
600x can't do that. You'll need to initialize the values every time the DAQ enumerates.

If default values creates a hazardous situation, use hardware to prevent the combination of outputs from happening until after the device is initialized. Tri-state logic gates, buffers, etc.
0 Kudos
Message 2 of 4
(3,039 Views)

Thank you for your reply.

 

Do you know if its possible to create the executable, or is it a case of setup through MAX?

 

Thanks again, Andy.

0 Kudos
Message 3 of 4
(3,032 Views)
Solution
Accepted by topic author AndyVasey
Anything you do through test panels in MAX is doable through the DAQmx library in LabVIEW.

I initialize all the outputs in the VI right after I create the task. That way everything's in a known state (which may or may not be the default) when it comes out of my init VI. This is also a good idea in the event that your software stops unexpectedly and the outputs aren't in the initialized or the default conditions.
0 Kudos
Message 4 of 4
(3,029 Views)