Home/Support/Support Forum/Confusion in Arduino Xbee Labview Interface

Confusion in Arduino Xbee Labview Interface

0 votes
Hi
My group and I are currently doing a project which requires the transmission of wireless ECG signal to labview. The components which we decided to use complete the task are:
2 x Xbee (Zigbee S1) modules,
1 x Arduino uno
1 Xbee module attached to the Arduino had been programmed with Arduino. However, due to our lack of understanding of how Arduino functions, we are unsure if the coding for the interface is valid for transmitting the Analog ECG signal wirelessly to the other Xbee module connected (USB cable) to the computer and later displayed onto waveform using labview.

The coding used is as follow:

#include "LabVIEWInterface.h"
int dato =0;
const int analogInPin = A0;
int sensorValue = 0;
void setup()
{
Serial.begin (9600);
}
void loop()
{
sensorValue = analogRead(analogInPin);
Serial.println(sensorValue);
delay(1);
checkForCommand();
{
dato = analogRead(0);
String cadena ="S0>";
String cadena1 = cadena + dato;
Serial.println (cadena1);
delay (10);

}
if(acqMode==1)
{
sampleContinously();
}
}



Attached were the labview which we have constructed, but we are unclear which works for the coding as stated earlier in the post. We hope to get some enlightenment. Thank you.
asked Oct 27, 2015 in XBee Programmable Development by benjaminparker New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
This is something you should post on the Arduino support forums and not on here. The reason for that is that in this case, the XBee modules only as as a wireless Cable between the PC and your Arduino.
answered Oct 27, 2015 by mvut Veteran of the Digi Community (11,755 points)
...