‎02-02-2009 10:18 AM - edited ‎02-02-2009 10:19 AM
No. Look again. There are two different Reads. The first read will get one line and send it to indicator 1. The second read will get the next line and send it to indicator 2. Then it will repeat all of this again on the next loop iteration, thus you have the alternating of the incoming data that you are looking for.
Your example had only 1 read on each loop iteration and sent the data to both indicators.
‎02-02-2009 10:54 AM
‎02-02-2009 05:24 PM
‎02-02-2009 05:53 PM
a friend has a problem if I reset the times the channels are alternate, is to create an identification saying this is the channel 1 and channel 2 y made pic send an string this form
channel_a:100
channel_b:200
channel_a:100
channel_b:200
‎02-02-2009 09:13 PM
magnoedu wrote:a friend has a problem if I reset the times the channels are alternate, is to create an identification saying this is the channel 1 and channel 2 y made pic send an string this form
channel_a:100
channel_b:200
channel_a:100
channel_b:200
LabVIEW is how to read only the value that is identified by the string channel_a and refuse to read the value than the right channel
This would be a better method as it allows you to know from the data that was sent as to what it really means. You still have to read all the data, but if it is from a channel that you don't want, then you just don't do anything with it.
With data coming in like this, you could use some of the search string functions to determine which channel of data you have then decide what to do with it.