LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 7.1 - Adding new global variables from acquisiton via FP, getting 0's

Basically, I'm adding a few new points to a system that has been up for a few years. I've added 2 analog points to a AI-111 module and converted 3 points from an AI-110 module from 0-5V to 0-21 amps. Using FP read, I index the array from each module and assign each channel to its' unique global. All of those points are showing up as 0.

 

Any ideas?

0 Kudos
Message 1 of 6
(2,750 Views)

Can you show us some code instead?

0 Kudos
Message 2 of 6
(2,743 Views)

sure.

The first example works and is wired in as a 0-5V. The 2nd one was converted to 0-21 amps in MAX, currently showing a 0. (thats how all of the 0-21 amp ones look as of now.)

 

As far as the other 2 that are new but on the AI-111 card, they are brought in the same.

0 Kudos
Message 3 of 6
(2,738 Views)

here they are.

Download All
0 Kudos
Message 4 of 6
(2,736 Views)

Your images have near zero information content, except for the fact that they are crawling with local variables and stacked sequences. No way to troubleshoot this. We cannot see the other frames, and we cannot know what's in the array.

 

Why do you rename bitmaps with a jpg extension to circumvent the ban on attaching bitmaps? Bad, bad, bad! 😞 Also, naming a file should be done with more involvement ("Copy of ..." has also no useful information content). Thanks!

0 Kudos
Message 5 of 6
(2,725 Views)

Sorry about that, didn't realize the no bitmap rule. Just figured I added something wrong.

 

Heres the VI.

 

This is the first time I've tried to get someone else to look at any of my code, hence my lack of know-how on here.

0 Kudos
Message 6 of 6
(2,717 Views)