We want to control the Pfeiffer make TPG 256A gauge controller through PC via RS-232 Port. We had written program in Visual Basic using NI component work CWSerial1, through which we are able to send the command to the gauge controller i.e we are able to change the CONTRAST and make the sensor ON/OFF. But we are not able to receive data from the controller.We receive either '?' or '|' characher and <cr> from the controller when we try to read from the controller.
the format for data is given as follows:
1 Start bit, 8 data bits, 1 stop bit, no parity bit, no hardware handshake
where i am able to set the data bits , stop bit and other paramater but there is no way to set the start bit. i would like to know whether there is a way to set the start bit or it is not needed.
Also it would be helpful if u can send me some sample program if possible in C or Visual Basic language to access the pfeiffer controller.
Thankx
regards
Ramchandra Chavan