01-11-2013 12:08 PM
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?
01-11-2013 12:43 PM
Can you show us some code instead?
01-11-2013 01:02 PM
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.
01-11-2013 01:05 PM
here they are.
01-11-2013 01:38 PM - edited 01-11-2013 01:39 PM
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!
01-11-2013 01:57 PM
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.