LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ECG labview wireless xbee s1 plus adarduino uno

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 co
ding for the interface is valid
for transmitting the Analog ECG signal wirelessly to the other Xbee mod
ule 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
(9
600);
}
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();
}
}
 
We have construst the labview that attached, but we are unclear which works for the coding
as stated earlier in the post.
 
We hope to get some enlightenment.
 
Thank you.
Download All
0 Kudos
Message 1 of 3
(4,127 Views)

You have end up landing in the wrong board: this one is dedicated to LabWindows/CVI, while your question refers to LABVIEW. Either repost in the appropriate board or ask a moderator to move your question there.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 3
(4,106 Views)

For whoever is interested: this question has been reposted here.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 3
(4,075 Views)