Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

RS-232/Visa Communication

I am trying to communicate with a BK Precision 8500 electronic load.  The manual provides hex communication protocol.  For example to change the control mode to remote mode you would send AA002001 in hex. I am getting time outs whenever I send a command.  I am communicating with another instrument with standard ascii comand with this vi.
From what I have read it looked like I just needed to change my input display to hex but this doesnt seem to change anything.  Any suggestions are appreciated.
 
 
0 Kudos
Message 1 of 4
(3,977 Views)
 
Download All
0 Kudos
Message 2 of 4
(3,970 Views)
Instead of creating a hex string, try creating an array of u8's with the hex values and using the Byte Array to String. The entire command should be 26 bytes of data and your string is not that long. It's only 4 bytes.
0 Kudos
Message 3 of 4
(3,961 Views)
Hi,

don't you need a rc or lf at the end , check your manuak first ... also
try to use directly the RS-232 port with a COMM component from
Microsoft or with the LabTab direct dialog toolbar (free). When the
dialog is made, you might tune the way you use VISA/RS232 ... being
sure of what is needed to be sent as data to your device ...

Regards,

FG

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