Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

AO update, AI sample channels not found in DAQmx

I have a LabView program which uses the functions OA update channel and AI sample channel. When upgrading from LabView 7.0 to 8.2, and from DAQ to DAQmx, these .vis are not found. (The setup uses PXI-MIO-16E-4 (=NI PCI 6040E?).)
 
Have these functions got new names in DAQmx? Is there any simple ways I can use them without making changes to the program?
 
Thanks.
0 Kudos
Message 1 of 6
(4,880 Views)

All of the functions in DAQmx use different names. The easiest thing for you to do is install traditional DAQ. You could also try the compatiblity VIs.

0 Kudos
Message 2 of 6
(4,869 Views)
Thanks a lot.
The installation of DAQ(Legacy) resolved the issue.
0 Kudos
Message 3 of 6
(4,848 Views)
HI,
I'm writing a VI in order to automate a fairly simple experiment using a Michelson Interferometer and a gas cell to measure the index of refraction of several gasses at various frequencies. I've found the easiest way to control the valves is by using the DAQ update channel vi (.. 5 volts puts a 120V-AC current into the solenoid and nitrogen opens the valve, when the AC is shut off, the solenoid deactivates and a spring closes the valve. I also have a DAQmx data aquasition structure built for another experiment (which worked great) that I'd like to use in this one. After shedding some tears it became obvious that I couldn't use DAQ and DAQmx simultaneously. How do I update channels using DAQmx?
 
The DAQ version is really perfect - put channel "x" at value "y" and leave it there until I change it. As far as I can tell, no such function exists in DAQmx - I can output waveforms and whatnot, but that's not really helpful.
 
How do I "tell" my output channels to output a specific voltage and maintain that voltage until I deem necessary? It's worth mentioning that other things are happening while I'm holding my valves in a given configuration - when the vacuum valve is closed and the leak valve is open I'm taking data, so I need to be able to maintain DAQmx voltages and take data simultaneously (... and yes, I have the input and output channels on different ports).
 
Any help would be hugely appreciated,
Thanks
 
Message 4 of 6
(4,682 Views)


The DAQ version is really perfect - put channel "x" at value "y" and leave it there until I change it. As far as I can tell, no such function exists in DAQmx - I can output waveforms and whatnot, but that's not really helpful.
 


Of course such a function exists in DAQmx. Not really that much different than traditional DAQ. Have you actually looked at the shipping examples? There's one called Gen Voltqge Update. Below is a slightly modified version.
 
 


Message Edited by Dennis Knutson on 04-27-2008 03:21 PM

Message Edited by Dennis Knutson on 04-27-2008 03:21 PM
Message 5 of 6
(4,678 Views)

Dennis,

Thanks - I'm obviously a little unfamiliar with LabVIEW and DAQmx . I just tried the example you mentioned and immediately heard my valves doing exactly what they should be. I may feel foolish given that the example was right there in front of me the whole time, but at least I've got somethign that works well now. Thanks for your patience.

Jed

0 Kudos
Message 6 of 6
(4,654 Views)