LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple digital output pin problem, init.vi setting digital pin

If you look through the firmware, the only thing that is executed is some serial commands.

syncLV() is run on setup() and then Serial.print("sync") and Serial.flush(); are executed in Init.vi.

Since this also happens on configuring serial communication, maybe you should search in the Arduino forums to see if they know anything since I'm sure other people use serial in a similar manner to LIFA.


0 Kudos
Message 11 of 14
(1,023 Views)

Thank you for the information Nathan,

I have searched all over the Arduino forums and have not yet found a solution. I will scoure them again to double check and post if I manage to find anything.

0 Kudos
Message 12 of 14
(1,023 Views)

hi all...i facing the same problem..can u guy tell me how to solve it??

when i run the VI, led is on..when i stop the VI, led still on...how can i off the led when i stop the VI??

0 Kudos
Message 13 of 14
(1,023 Views)

mesutozil wrote:

hi all...i facing the same problem..can u guy tell me how to solve it??

when i run the VI, led is on..when i stop the VI, led still on...how can i off the led when i stop the VI??

Simply set pin 13 to 0 after you stop the loop before you use Close.vi.

0 Kudos
Message 14 of 14
(1,023 Views)