From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA error (VI and Picture attached)

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

Download All
0 Kudos
Message 1 of 3
(2,212 Views)

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.

0 Kudos
Message 2 of 3
(2,201 Views)

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

0 Kudos
Message 3 of 3
(2,189 Views)