02-10-2017 12:29 AM
Hello,
I want to make a simple program which write to a digital output (like simple LED blink) on the Arduino using VISA functions in LabView.
Can someone give an example of LabView program and Arduino IDE sketch?
I cannot use LINX or LIFA, because it's an old version of LabView which doesn't support those toolkits.
regards,
paalbrok
02-10-2017 02:45 AM - edited 02-10-2017 02:46 AM
Hi paalbrok,
write a small Arduino sketch which reads commands from serial port.
Then define commands similar like "Set D0 0/1" and parse them in your sketch to drive (or read) the corresponding IO pins.
Then simply send those commands from LabVIEW to the Arduino.
Basically you need to recreate the same work, which is done in LINX/LIFA: they also have their sketch/Arduino software, that reacts on commands from LabVIEW…
(Or think about upgrading LabVIEW.)
02-10-2017 05:15 AM
Hi,
OK, Thanks.
Would like to see a concrete example with IDE and LabView file. To upgrade labView in this case is impossible.
regards,
paalbrok
02-10-2017 05:39 AM
Hi paalbrok,
on LabVIEW side you can open the example finder and check the BasicSerial Read&Write example VI.
For Arduino side of the communication I guess there also is an example sketch library showing how to handle serial communication…