LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How can you implement a SoftwareSerial in LVIFA

Hi,

I am a beginner in using both Arduino and LabVIEW, and my senior design group and I are trying to send wireless HC-SR04 data from one Xbee and Arduino to another Xbee and Arduino. So far, we were able to establish a connection with both Xbee's and both Arduino's. We were also able to pass serial information from one side to another. The problem now is how can we implement a function that is similar to the "SoftwareSerial" function in Arduino using LVIFA?

Thank you so much for all your help!

0 Kudos
Message 1 of 2
(3,084 Views)

You simply need to add a custom function into the LIFA structure that uses the Serial functions.  I generally do this by duplicating an existing one and making sure that it works so you can rule out the basic structure of the function.  Then, you modify it to use your new code.

0 Kudos
Message 2 of 2
(2,728 Views)