02-07-2016 07:50 AM
Hi guys,
I want to send a string to arduino when there is an alarm ,what should I do?
eg. when alarm , labview will send a 'A' back to arduino to control vibration motor.
should i use digital write or send receive??
i attched the file and picture.
thank you in advance
02-07-2016 04:27 PM
02-08-2016 03:34 AM - edited 02-08-2016 03:35 AM
You are already using one of the Arduino Toolkits which has it's own protocol for sending/receiving data via the usb->serial port.
Depending on the toolkit you are using, there is functionality to implement custom commands by modifying the default sketch and implementing some custom functionality. For the LINX toolkit (the current up-to-date LabVIEW->Arduino toolkit), the documentation on custom commands is here: https://www.labviewmakerhub.com/doku.php?id=learn:tutorials:libraries:linx:misc:adding_custom_comman...