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.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Visa read error

Hello,

 

I am trying to create a simple serial communication between labview and an Arduino board using its USB interface. The communication works when I use the serial monitor of the Arduino IDE. I used VISA read/write functions to implement it in Labview. The writing seems to work but I get an error -1073807339 during the reading operation. I double checked the baud rate and the ending character. I have no idea what could cause this error.

 

Thanks,

Thomas

 

0 Kudos
Message 1 of 4
(3,407 Views)

Instead of using the Auto Detect Arduino VI, have you tried to open the visa connection with the VISA Configure Serial Port? It is in the Instrumentation -> Serial 

 

visa.png

Guilherme Correa
0 Kudos
Message 2 of 4
(3,383 Views)

I have tried the VISA Configuration Serial Port but the result is the same.

0 Kudos
Message 3 of 4
(3,379 Views)

Is the program in the Arduino sending something?

greetings from the Netherlands
0 Kudos
Message 4 of 4
(3,365 Views)