LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Value of first analog input channel is incorrect

Hello

 

I'am using LabVIEW 2013 f1, DAQmx 9.7.5, NI PCI-6229 with SC-2345

 

I create the Task programmatically in Labview which is shown in the attachment.

 

When I start the measurement the first analog input channel shows the scaled max (e.g. constant 42 -> module SCC-AI01), the other channels are correct. When I use MAX with the test panel I can measure the value correctly.

 

I've checked the inputs of both DAQmx VI's, they are correct.

I've tested both task configurations separately.

The TC Configuration works without problems.

The AI Configuration itself shows the same behaviour.

 

Is it possible that there is a bug in one of the two used DAQmx VI's?

 

TIA

G3W0
0 Kudos
Message 1 of 5
(2,720 Views)

Its hard to tell from a picture but I would look at the scaled min and max values in the first scale, are they reversed?  also are the scale names unique?


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 5
(2,688 Views)

Hello,

 

As attachment you can find the VI I've created for demonstration.

In the Screenshot you can find the OUTPUT Data.

 

Expected Output:

AI01: 24V

AI02: not connected

TC01: room temperature

TC02: not connected

TC03: not connected

TC04: not connected

 

 

 

G3W0
Download All
0 Kudos
Message 3 of 5
(2,661 Views)

Hello wolfgera

 

I configured an Test computer with an PCI 6229 and an SC 2345 (SCC-PWR01). Tomorrow i will test your VI. Are there other specifications/settings, which i have to know?

 

Best Regards

 

Simon

0 Kudos
Message 4 of 5
(2,576 Views)

The problem is the misinterpreting from the voltage range from the AIO1 module( +- 42V to +-8.4 Gain 0.2) which is placed on the SC 2345.

The selected I/O channel in the VI is AIO with an intern scaling back to min and max  of 42V. The manual scaling in the VI set the expected Ranges to a  threshold, which is too low ( 8,4 V), so that every measurement which is grater than 8,4 takes the configured max Voltage Output.

 

Best Regards

Simon

0 Kudos
Message 5 of 5
(2,546 Views)