Hello,
I have a problem I hope someone can help me
with. I am using LabView 4.1 to acquire data
from two serial ports. In order to make sure the
sequence of events happen correctly, I am using a
SEQUENCE Block. In pseudo code this is what I am
trying to accomplish:
Initialize 1D Array1 to 0
Write data to file
Initialize 1D Array2 to 0
Write data to file
Until user ends program {
Acquire data from serial port
Put data into 1D Array2
Write data to file
Subtract Array1 from Array2
Write result to file
Overwrite Array1 data with Array2 data
}
The problem I am having is with the last line
"Overwrite Array1 data with Array2 data". When I
wire Array2 back to Array1, I get a Wire Error
that says "Wire is a member of a cycle
".
I have tried putting the Array2 data into a dummy
array and then wiring the dummy array to Array1.
Same error.
I tried performing some additional math on the
dummy array and then wiring the dummy array to
Array1. Same error.
I have tried using the Index Element VI to create
another array by using the shift registers, and
then wiring to Array1. Same error.
In C this is a very simple operation. How can I
accomplish this in LabView? Any guidance is
appreciated.
Thanks in advance,
Brian Price
pricebl@ncsc.navy.mil
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.