LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

File transfer of larger size through serial port

Hi

 

I need to transfer files of larger size may be around 20Kb through serial port. Can some one suggest some idea or can provide any sample VI for achieving this. i guess we cannot send the complete file at a stretch, so we may need to form some packets and then send. If i am right i need some help for achieving this.

 

Padhu

0 Kudos
Message 1 of 4
(5,251 Views)

Hello,

 

Try something like this:

 

serialFileWrite.PNG

 

I have attached the VI to try.

 

 

Message 3 of 4
(5,241 Views)

You may want to use something like the XMODEM protocol. 

 

I believe you can find a version of XMODEM that can be used with an NI-VISA session located here on the OpenG forums.

 

 

 

Message 4 of 4
(5,222 Views)