Sketchaug03a.ino:: error: LabVIEWInterface.h: No such file or directory sketchaug03a.ino: In function 'void setup': sketchaug03a:39: error: 'syncLV' was not declared in this scope sketchaug03a.ino: In function 'void loop': sketchaug03a:59: error: 'checkForCommand' was not declared in this scope sketchaug03a:63: error: 'acqMode' was not declared in this scope sketchaug03a:65: error: 'sampleContinously' was not declared in this scope these are the errors i am facing while compiling program to arduino board for the LIFA base.
It looks like the GSM shield uses a UART (serial) interface on pins 2 and 3. Since software serial is not currently supported in LINX I would suggest not using an Arduino at all and using serial commands from LabVIEW to talk directly to the GSM shield.
![Arduino Arduino](/uploads/1/2/5/3/125392845/701905119.jpg)
There are a few things you can change to improve your performance, all in the red box below:. Move the outside of the while loop. You only need to configure the port once after opening it, not for every read.
Confirm your VI and Arduino program use the same. Right now, your Arduino program sends two termination characters for every sensor read, but your VI expects there to be only one. Each call to Serial.println will send a: Serial.println(sensors.getTempCByIndex(0)); // EOL here Serial.print(','); Serial.println(voltage); // EOL here VI Updates.