LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Going from LabView 5.0 to 9.0 how do i convert AI Acquire waveform vi

What do I need to do to convert an AI Acquire waveform vi to something useable in LabView 2009?  Example in attachment.

0 Kudos
Message 1 of 15
(4,552 Views)

That VI is part of Traditional DAQ. Traditional DAQ has been replaced by DAQmx. You can read a KnoledgeBase article on converting Traditional DAQ to DAQmx here: http://zone.ni.com/devzone/cda/tut/p/id/4342

0 Kudos
Message 2 of 15
(4,546 Views)

That code is so small, I would recommend just re-writing it instead of trying to Upconvert it, just for compatibility reasons.

And smercurio is right about the AI Acquire function, you need to replace it with a DAQmx function.

Cory K
0 Kudos
Message 3 of 15
(4,540 Views)

Instead of the AI Acquire waveform vi.  How do I re-write that?

0 Kudos
Message 4 of 15
(4,528 Views)

What kind of DAQ hardware do you use? If you use old DAQ hardware it could be that this hardware is not compatible with DAQmx. On the other hand I have used NIDAQ 6.9.3 on Labview 8.x with no problem at all. So before you do anything, find out what DAQ driver your hardware is compatible with.

Edit: If your DAQ hardware is from the Labview 5.0 area perhaps it is due for a replacement



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 5 of 15
(4,524 Views)

We upgraded all hardware and software to 2009.  Off hand don't know the hardware.  I am basically looking to find out what can I replace the AI Acquire waveform vi with in 2009.  Thank you.

0 Kudos
Message 6 of 15
(4,513 Views)

As you may know. Labview is shipped with a lot of examples. Go to Help in the toolbar, then Find Examples. Do search for continuous. And look for examples labled "cont Acq xxxxx Int Clk"



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 7 of 15
(4,501 Views)

 


@jimhfcc wrote:

We upgraded all hardware and software to 2009.  Off hand don't know the hardware.  I am basically looking to find out what can I replace the AI Acquire waveform vi with in 2009.  Thank you.


Did you read the article that I linked? That explains how to convert Traditional DAQ to DAQmx.

 

0 Kudos
Message 8 of 15
(4,497 Views)

 


@jimhfcc wrote:

We upgraded all hardware and software to 2009.  Off hand don't know the hardware.  I am basically looking to find out what can I replace the AI Acquire waveform vi with in 2009.  Thank you.


In DAQmx you create an AI Task, then use the polymorphic DAQmx Read.vi to acquire your signals.  Coq Rouge is right though, you need to know what hardware you're using as it may not be compatible with DAQmx and force you to stick with Traditional DAQ (which does still work with LV2009).   

 

EDIT:  Having said that, NI might drop support for the Traditional DAQ soon. - http://digital.ni.com/public.nsf/allkb/840C53BDA6D3ED77862577610074DCEB

 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 9 of 15
(4,487 Views)

I looked over the information in the link you posted. 

 

After viewing the chart in the link...I am trying to convert from LabView 5.0.1, which is using DAQ version 6.9.3, to LabView 2009 which could be using DAQmx versions  8.9.5, 9.0, 9.0.2, 9.1, or 9.1.1. 

 

The hardware I am using is the PCI-6251 M series DAQ.

0 Kudos
Message 10 of 15
(4,444 Views)