LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A simple serial connection question

Dear all,
This is my first time to build a program to talk with external device. I will say the question is very simple for all of you, but it takes me a few days already.
I need to make a program to talk with the "brainmaster" system. It uses RS-232 port. The Start ADC Module code is "G B603 Cr". I just follow what the instruction says. I have selected different port. Could anyone please tell me what wrong of my program?
Download All
0 Kudos
Message 1 of 3
(2,628 Views)
Hello Marco
I don't know the specific module you are using, but from th doc file you supplied, and a quick look at you VISA code, I would suggest that the command you send should be G B603,followed by the carraige return character, not a single string of G B603 Cr, as you have done. Basically, the ascii characters Cr are not the same as the code for a carraige return. Also, I am not sure why you send the line feed character at the start of your string???

HOpe this helps

Dave
Message 2 of 3
(2,628 Views)
Thanks
0 Kudos
Message 3 of 3
(2,628 Views)