I have two FPGA vi's that are mainly used as digital i/o. Each vi has addresses different pins on the FPGA card.
I was attempting to create a Real-Time vi that would have two parallel loops of different loop rates, with FPGA1.vi in one loop and FPGA2.vi in the other loop. FPGA1 loop controls motor1 for example, and FPGA2 loop controls motor2.
Here's the problem:
Upon running the Real-Time parallel loop vi, the control of the motors seemed to be crossed. What I mean is, FPGA1 now began controlling the second motor, when in fact it should be controlling the first based on the digital inputs. A toggle switch on the first actually controlled the second.
I was almost as if running two FPGA vi's within parallel loops o
n the Real-Time computer caused the signals to be crossed.
Any ideas on why this happened? Multiple FPGA vis should be able to be called from Real-Time loops right?
Thanks in advance,
- Con