08-05-2018 12:12 AM
Hello,
I wrote a simple program that remotely controls the Waveform Generator (Agilent 33250A) and by enabling controls on its output, the device is connected to the RS232 communication (com1).
I send a command that turns on the output and asks about his status (SCPI).
I'm trying to figure out who is responsible for this mistake and what timeout it is?
Matan
08-05-2018 12:50 AM
Did you search the forums for that error number before posting your question? It has to be the most common error related to VISA communication.
It means you didn't get a response within the timeout period. Why not? Could be a few reasons, but a common one is that the command sent to get a response was incorrect or incomplete. In your case it looks like you didn't use a termination character at the end of your command (usually a carriage return or linefeed) to tell the instrument that the command has ended and to send back the response.
08-05-2018 01:55 AM
No, I did not.
Thanks for your explanation!
I found a solution so maybe it would help others:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019L3mSAE