11-03-2011 06:52 AM
hi guys,
please hell me
i'm doing my Remotly controlled vehicle mini project
in that project i want to control a vehicle using joystick the joystick is connected to labview geting values.
i want send this values to arduino using serial communication
but the labview send the string values but i want decimal values
wat should i do?
i attached my programs here
11-03-2011 07:11 AM
I can't open your vi as I am using Labview2010. If you can send it as a .png file I'll look at it but if I understand your question properly you don't want LV to send the string but want it to change that string value to a decimal value? If so just use the Decimal String To Number function found in the Programming>String>String/Number pallette.
11-04-2011 11:41 AM
Using the Send Receive VI you can send an array of bytes to the Arduino. You can add a case to the firmware to interpret these bytes any way you like. For example you can use several Split Number VIs in LabVIEW to split a doulbe into 8 bytes, send the to the arduino as a byte array and then use bit operations to build the bytes back into a double on the Arduino.
-Sam K
LIFA Developer
11-08-2011 01:36 AM
Hi Murph i attach a older version program now this program open your system
u can modify that program