07-19-2012 09:36 AM - last edited on 04-01-2024 03:04 PM by Content Cleaner
I have some missing LabVIEW vi's and could use some help in a project that is written in 6.1. It turns out this originates from an example that is no longer available through NI written in 4.0.2 most likely compatible up to version 6.1 DAQ Libraries.
I only have LabVIEW 2011. There is some good documentation in the source code and I can tell it is derived from Acquire N - Multi-Analog Hardware Trig.vi and calls out AI Config.vi, AI Start.vi, AI Read.vi, AI Control.vi, and AI Clear.vi.
I'm hoping I don't need to switch to the new NI-DAQmx module, since this might have its challenges.
Here is a tutorial describing the changes, look at the AI input section and it shows a picture of the old vs. new vi’s: https://www.ni.com/en/support/documentation/supplemental/06/transition-from-traditional-ni-daq--lega...
If they made a tutorial of it chances are it’s complicated enough that it has challenged many new users that have switched.
Are there 6.1 DAQ Libraries included somewhere in LabVIEW 2011, that should include the Analog Input vi’s? Or do I have to upgrade to NI-DAQmx to move up to LabvIEW 2011?
Thanks,
-SS
Solved! Go to Solution.
07-19-2012 09:56 AM - last edited on 04-01-2024 03:04 PM by Content Cleaner
SS:
Not sure of campatability of 2011 and DAQ since I have not used traditional DAQ in ages.
-AK2DM
07-19-2012 09:59 AM - last edited on 04-01-2024 03:04 PM by Content Cleaner
Doesn't look promising regarding 2011 and DAQ, see here:
https://www.ni.com/en/support/documentation/compatibility/16/ni-daqmx-and-labview-compatibility.html
-AK2DM
07-19-2012 12:29 PM
07-19-2012 12:57 PM
Look at that chart again. Traditional DAQ 7.4.4 supports LabVIEW 2011. It just doesn't support LabVIEW Real-Time 2011.
07-19-2012 01:22 PM
And of course if you are using an os later than xp, you can't use traditional DAQ. While painful, the conversion to DAQmx will probably have to be done eventually.
07-19-2012 01:42 PM
07-24-2012 09:40 AM
I replaced the DAQ code with DAQmx equivalent and I'm using NI 6040E on Window 7. Or at least what I think is the equivalent and keep getting an Error -200282.
I was able to to create a task and get my signal to trigger with Measurement Explorer so I'm pretty sure I'm missing a setup step.
Any idea what I'm missing? Please see attached png.
Thanks,
-SS
07-24-2012 11:31 AM
07-24-2012 11:37 AM
There's some inconsistency in your Trigger config. Dunno your particular board and what kinds of triggering support it offers, but here are a couple general observations:
1. You configured an Analog Start trigger with a 3.0 V threshold. However, you specified a digital input line PFI0 as its source. If you have a digital TTL trigger signal at PFI0, you should configure a Digital trigger.
2. You configure the trigger as a "Start" trigger but try to Read relative to an (unconfigured) Reference trigger. That's what the error is telling you. Again, I dunno what kind of reference triggering may or may not be supported by your board, but you can't read relative to a trigger point that you haven't configured.
-Kevin P