04-22-2012 10:33 PM
Hi Y'all,
I have a PCI-6281 with an SCB-68 B.O.B. Anyways, I have been using the two analog output channels to drive some voltages across some instruments. Everytime I reboot the computer, I have to reset the voltages using the measurements and automization explorer. (I go to measurements and automization explorer > Devices and interfaces > NI PCI-6281 dev 1 > test pannels... > analog output). Is there a way to have the VI set this everytime I run it? THX
Solved! Go to Solution.
04-23-2012 12:04 PM
morning bump
04-23-2012 12:17 PM
Your question does not make much sense. If you already have a VI, then you are controlling the analog output so I am not at all sure what more you are asking for.
04-23-2012 05:47 PM
I would like to set AO 0 to 1.5 volts and AO 1 to 5 volts. I have to do this through Measurements and Automation explorer. When I reboot, I loose those settings and have to repeat. Is there a way to get the VI to set this.
04-23-2012 05:57 PM
Start by searching for examples of analog output or analog generation. The examples which come with LabVIEW are a good place to start, a good way to learn how to use the DAQ drivers, and may be all you need for simple applications.
Lynn
04-23-2012 06:01 PM
Look at the DAQmx Write.vi in the DAQmx pallet. Also look up in the example finder (Help->Find Examples...) for DAQmx Analog Output. There should be plenty of examples that you should be able to strip down to simply set the voltages.
04-24-2012 11:02 AM
The examples are a great little resource.