L
I'm coding a little application in C++ that reads from Extech 380801 power meter. But to be able to that in need to do this configuration explained below.
-------------------------------------------------
Default RS-232 Communications Settings
Baud Rate: 9600; Stop bit: 1; Data bits: 8; Parity: None
NOTE: Software developers must ensure that DTR provides 10V (or higher) and RTS
provides -10V (or lower). Voltage (10V, -10V) from DTR and RTS is used to generate
the RS-232 signal. DTR is usually enabled (10V) but RTS must be disabled in order to
provide -10V. To accomplish this in BASIC, add RS in the OPEN command:
OPEN "COM1: 9600, N, 8, 1, CS, DS, CD, RS" as #1
-------------------------------------------------
Any idea how I can do this in C++? How can I disable the RTS? I'm using the "termios.h"
-------------------------------------------------
Default RS-232 Communications Settings
Baud Rate: 9600; Stop bit: 1; Data bits: 8; Parity: None
NOTE: Software developers must ensure that DTR provides 10V (or higher) and RTS
provides -10V (or lower). Voltage (10V, -10V) from DTR and RTS is used to generate
the RS-232 signal. DTR is usually enabled (10V) but RTS must be disabled in order to
provide -10V. To accomplish this in BASIC, add RS in the OPEN command:
OPEN "COM1: 9600, N, 8, 1, CS, DS, CD, RS" as #1
-------------------------------------------------
Any idea how I can do this in C++? How can I disable the RTS? I'm using the "termios.h"