Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Send commands to a RS232 serial device using terminal emulator


XxVashxX Dec 14, 2017 08:34 PM

Hello,

Im trying to control a serial RS232 device with a CRBasic program, first im tryng to send the commands using terminal emulator but cant make it happend, i try with some serial simulators and i can, but with the datalogger is not possible, any idea or hint?

1.- I configure the correct com port in the program and also using device configuration utility

2.- Open terminal emulator, select the baud rate and com port 

3.- Select the option "W" and then select the option 9  is "CoMC1" (Im using a CR6 datalogger)

4.- the terminal shows a simbol of ASCCII (y)  and then i introduce my commands to send to the datalogger but nothing happens.

5.- Or probably i have something wrong in the command? the command is: SYSTEM:ID? and the manual of the equipment says:

"When the user sends a command, the instrument expects, before processing the message, a carriage return (CR) character (ASCII hexadecimal no 0x0D) or a null character (ASCII hexadecimal no 0x00). So a terminating CR or NULL character is implied with all commands."

I try to introduce the command with all the combinations i imagine but nothing:

SYSTEM:ID? <CR>

SYSTEM:ID?0X0D

SYSTEM:ID?NULL

Any ideas??

Thank you in advance


JDavis Dec 14, 2017 08:59 PM

The 'W' mode in the terminal is a passive watch mode.

Try the 'P' mode for serial talk through.


TCC - traduction de CV Dec 14, 2017 11:09 PM

try P mode

Log in or register to post/reply in the forum.