Hello,
Was a little torn between placing this in the LV vs. FieldPoint forum. Since its a programmatic change that induced the problem, thought I'd post it here!
I have 12 I/O channels that are just digital I/O outputs. (Each one controls a light bulb.) I recently upgraded to 8.5, and in the process I changed how the I/O were written. Previously I had 1 large While loop, with 12 channels being written randomly, based on 12 locals. Yes, bad on many levels. Now its a bit less random, and more controlled.
I've attached a picture of the new loop thats controlling the channels. (Yeah, the variables need to be named uniquely...its next) Each of the green/yellow/red are all different variables, just named the same..thats why it appears there are 4 of each color. (Otherwise no need for duplicate locals!)
Anyhow, the behavior of the lights have changed - About every 7 seconds a light flickers real quick as though a 0 was being sent out each time its refreshed. I have set a probe on the lines and the lights should stay on constantly. None should ever flicker like that. Its periodic though, every light does it...so imagine all 4 green lights are on...it checks each one as we iterate...number 1 will blink...then 2, then 3, then 4. It takes about 7 full seconds to go through the entire set. I can control the flicker length by the Wait(ms) inside the loop, but even at its fastest with no wait...theres still a very fast flicker.
Any ideas what the heck is going on? According to the probes...they never change value. The only other important thing I can think of is that prior to this change we were using a direct serial connection....now its over our company network.
Thanks!
Message Edited by leachdor on
03-13-2008 01:17 PM
LV7.1, LV8.5, LV2014/15/16