a short look at your code:
1- serial init should be done once at the beginning, before you enter the loop
2- you want to read one character, but you configured the visa read to wait for 7 bytes -> timeout error, so even when your 'A' is received the 'B' will not be send
3- where is your VISA close? (once when program finish)
Message Edited by Henrik Volkers on 07-31-2006 02:11 PM
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'