Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving file from Arduino on Request

Hi

 

Im trying to get the Arduino microcontroller to repond to my labview program via the basic read and write example.

 

it is connected with a USB cable, and i've installed NI VISA

 

Code currently on the Arduino writes back whatever is written to it, and this works fine through the arduino.exe program serial monitor.

 

Eventually i want to be able to send a file with many (1000+) readings through this method, but getting this working first would be a good baby step.

 

so far the basic read write VI manages to write to the microcontroller,the Tx and Rx light on the microcontroler light up, but nothing is read back by the VI.

 

The COM port is set up correctly and the bytes to read is set more than high enough to be able to read the single test digit i sent.

 

otherwise everything other setting is as default on the VI (attached)

 

Any ideas why this doesnt work? im sure its something very simple but ive been trying to get this to work for awhile now with no success

 

0 Kudos
Message 1 of 3
(3,305 Views)

Dear Alex,

 

I was just wondering if you were still having issues with your Arduino controlled through NI VISA; or were you able to find a resolution?

 

Kind Regards,

Robert Ward
Applications Engineer, NI
0 Kudos
Message 2 of 3
(3,254 Views)

A solution of sorts was found and the project has finished thanks

0 Kudos
Message 3 of 3
(3,222 Views)