050326-1124 EST USA
Greg's comments are good. To this I would add the following test:
Assuming you have a DC voltmeter you can measure the voltage from pin 2 to pin 7 on
the HAAS RS232 connector with nothing else connected to the HAAS connector.
In the idle state, no data being sent, the voltage should be about -12 V at pin 2
relative to pin 7 or pin 1.
For typical random data in you program and while sending from HAAS the average
voltage at pin 2 should be within +/- 1 V from pin 2 to 1 or 7.
Also if you short circuit pin 2 to pin 7 or pin 1 in the idle state the current should be
around 10 MA.
Note: In the XON/XOFF mode HAAS does not require an initial XON signal be received
at HAAS to start sending data. Thus, HAAS just starts sending as soon as you push
the send button and only stops when an XOFF is received and remains in the idle
state until an XON is received.
If the above test works, then plug your cable into HAAS and make the same
measurements at the computer end.
If the test is good at the computer end, then make sure all setup parameters are the
same at both ends.
My assumption from your question is that you receive absolutely no data at the PC,
not even garbage.
Your computer must be in a receiving state before you initiate sending from the HAAS.
.
Last edited by gar; 03-26-2005 at 01:56 PM.
Reason: Additional information.
|