10-04-2005 01:43 PM - edited 10-04-2005 01:43 PM
Message Edited by NELfc on 10-04-2005 01:49 PM
Message Edited by NELfc on 10-04-2005 01:49 PM
10-04-2005 07:48 PM
I believe you are using Send() function with a termination mode that automatically
sends an LF. In this case passing "*IDN?" string to the function physically
sends "*IDN?" + chr(10). To physically send "*IDN?" + chr(13) + chr(10),
pass a string that explicitly appends a CR, such as "*IDN?" + chr(13).
Alternativa way is give NLend value at the final parameter of Send(),
specifying LF and EOI to be sent automatically.
As for receiving, there is no problem for reading termination, as every response
string does include an LF at the final byte.