Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I transmit a Hex file using the serial port, i will apreciate your help

I want to transmit a file.HEX by the serial port, I have using the serial port just to send a short messages like commads but I don't have any idea how can I send a file
 
thanks!
0 Kudos
Message 1 of 3
(3,526 Views)

Try VISA Write From File. This is assuming you are using LabVIEW. If you're not, you might think about specifying the progamming language you are using in your post.Smiley Wink

Note: I've had a few problems with large files and VISA Write From File. If you have problems, then just use something like Read Characters From File and wire the output to a VISA Write.

0 Kudos
Message 2 of 3
(3,522 Views)
I'm wondering why you mention hex,
should a byte be represented by two symbols in the range 0..9,A..F or is it just the bytes in binary you want to transport.
the last one is twice as fast and the first one is most often described in manuals to make it readable, not to function like that.

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