05-31-2007 07:34 AM
05-31-2007 08:08 AM
Can you better define what you mean by the instrument is not recognized? If you get an error, post the error code that you get.
One thing I always recomend is that you first establish communication with a program like Hyperterminal. This will allow you to verify the com settings (baud rate, parity, etc.) and the correct type of serial cable (null modem or straight through). Once you've done that, then you can start with one the shipping examples. You will need the manual for the instrument to know the commands to send and the format of them. Pay attention to any termination character that might need to be at the end of a command (i.e. CR or LF). If you have problems with something that you write, it would help if you post the code you write.
05-31-2007 09:00 AM
I'll try to better explain my problem. I have the manual of instrument and I know which commands to send. I've just finished some actions and in attachment you can see the error code.
Thank you very much!
Bojan
05-31-2007 10:15 AM
06-01-2007 03:21 AM
OK, command *IDN? is not on the command list in the manual but I thought that it is the unique command all the instruments! :mansad:
Using the Hyperterminal I got the following for port settings: Bit per second: 2400 Data bits: 8 Parity: None Stop bit: 1 Flow control: Hardware That's OK.
But I don't know how to send and receive commands using Hyperterminal. Which protocol to use, in which type of file to write command... ![]()
I will really understand if you don't have the patience to explain me.
In every case, thank you very much!
Bojan
06-01-2007 03:36 AM
06-04-2007 05:19 PM
06-05-2007 09:29 AM
06-05-2007 12:29 PM