LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA read timeout

Solved!
Go to solution

Double checked my C code and i wasnt sending the carriage return...I aint even mad.

0 Kudos
Message 21 of 27
(4,737 Views)

I think it means your controller is not sending the termination character.  It was waiting for 1000 bytes, the termination character, or the timeout time, whichever occurred first.  Since it was unlikely you were really going to get 1000 bytes, you must not have been getting the termination character.

 

(By the way, the screenshot of the errors and indicators like I was asking for would have shown whether the CR was in the read string or not.Smiley Wink  )

 

 

Message 22 of 27
(4,734 Views)

@LM84 wrote:

Double checked my C code and i wasnt sending the carriage return...I aint even mad.


See, by ignoring this error you were missing the fact that the device being tested was not operating as it should.

 

Lesson learned?Smiley Wink

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 23 of 27
(4,730 Views)

@RTSLVU wrote:

@LM84 wrote:

Double checked my C code and i wasnt sending the carriage return...I aint even mad.


See, by ignoring this error you were missing the fact that the device being tested was not operating as it should.

 

Lesson learned?Smiley Wink


haha, yes definitely. Especially since this controller is set to be released in April. I would have released a faulty controller!!Smiley Surprised

 

0 Kudos
Message 24 of 27
(4,727 Views)

Hi,

    i have just started to paly around with VISA for my rigol device and I noticed that when I run the program without having the VISA close block at the end, the program is running successful only randomly. After putting the VISA close block it works ok.

 

 

0 Kudos
Message 25 of 27
(4,501 Views)

Hello!!

 

I made a program that reads data from an Arduino microprocessor. Once I realize the exe and connect Arduino, the program starts reading the data, but only for a few minutes ... then it stops and i have to disconnect and reconnect Arduino....any ideas?

 

Thanks a lot!

 

0 Kudos
Message 26 of 27
(4,390 Views)

You posted to the end of an old, long message thread that seems to have nothing to do with your question.

 

I recommend you start a new message thread.  What does "realize the exe" mean?  Please start a new thread with a clearer message describing how you wrote your VI.  Perhaps attach the VI so others can look at it and look for potential problems rather than speculating wildly on what the problem may be.

 

 

Message 27 of 27
(4,375 Views)