Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Write binary data to serial port

Hello. I am using PIC 18f to control my servo using USB. My PIC only reads binary data. 
Therefore, I want to send binary data but seems like VISA WRITE only accepts string. My PIC does not recognize string. 
Please assist. Thank you. 

0 Kudos
Message 1 of 3
(4,090 Views)
A string does not mean the data has to be ASCII. As has been discussed numerous times, you can send the data in several ways. Right click on the string control/constant and select Hex Display, use the Byte Array to String, use the typecast function, etc.
0 Kudos
Message 2 of 3
(4,085 Views)

Thank you. 🙂 

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