Hey guys, I met a problem in using labview VISA serial port communication module.
I simply generate a number 350 in arduino to test my labview code:
int value=350;
void setup(){
Serial.begin(9600);
}
void loop(){
Serial.println(value);
delay(250);
}
However, labview cannot receive data correctly, sometimes it receives 350, sometimes it receives50, sometimes it cannot receive anythink. Someone said the mistake is on the arduino end, he told me to append a termination character.
Since I'm new to arduino, I'm not sure how to add the termination character, in my understanding, the arduino Serial.println() function is automatically followed by a termination, is it right? Can anyone tell me some more details? =( =(
Here is our discussion in NI community.