LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Global channel is measured correct in max but not in labview with create task.vi

I have configured a global channel in MAX "IstDruck" with a scaling "IstDruck". (I allready tried different names but had the same effect.) In the test panel in max I get the correct pressure values between 0-160 bar.
If I use the global channel in my attached VI I get allways 0 in the area 0-100 and after that it works but i get to small measurement values. I tried this although with an analoge output channel "SollDruck" in my configuration and i had not this problem.

My System has this Soft and Hardware
LabVIEW 7.1
NI-DAQmx 7.2
PCI-6071

Has anybody seen this behavior before?

Best regards

LXF
Download All
0 Kudos
Message 1 of 6
(3,133 Views)
I checked your VI and actually it should work. Maybe it's a problem of the scaling in NI DAQmx 7.2. Try NI DAQmx 7.3 there are some improvements, maybe it helps.
0 Kudos
Message 2 of 6
(3,133 Views)
May be you are correct, Michael... because I tried to open the VI in LV 7.0 and it conflicted.
0 Kudos
Message 3 of 6
(3,133 Views)
It has to be a conflicte with the VI because it is writen in LV 7.1.
0 Kudos
Message 4 of 6
(3,133 Views)
And the VI's comes from the NI-DAQ driver. Try it with NI-DAQmX 7.3.
0 Kudos
Message 5 of 6
(3,132 Views)
One other thing you can try b/4 upgrading to NI-DAQmx 7.3. In MAX, create a task and add your global channel to it. Test this in MAX. If it's ok, then in LV try wiring the task directly to the Read VI. Let me know if this works.

BTW, you can wire a global channel directly to the Read VI too. You don't have to explicity create a task and destroy the task using the create/clear task VIs. If you wire a global channel into the task input of the Read VI (or the timing or triggering VIs), LV and DAQ automatically create a task for you out of the global channel (using defaul timing, just as if you'd called create task yourself) and then clears it when the top VI in the heirarchy goes idle.

BTW2, VIs saved in LV 7.1 cannot be opened in LV 7.0, so T Sreedhar's failure
to do so has nothing to do with the problem you are having and has nothing to do with NI-DAQmx 7.2 being installed.

Deborah
0 Kudos
Message 6 of 6
(3,132 Views)