Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how does VISA data frame should look like?

Hi,

 

I have a following question. I have to communicate with a device over serial port. I am trying to use Basic Serial Write and Read.vi from NI examples. The problem is that I don't know how does data frame should look like. Data frame is as following:

 

0xFC

10

200

200

 

I tried to send it in this form: \nFC\n0A\nC8\nC8 but my device doesn't react to this data. Communication using NINJA IO works OK. Could you help me with this problem?

thanks in advance,

Marcin

0 Kudos
Message 1 of 3
(2,761 Views)

anyone?

0 Kudos
Message 2 of 3
(2,750 Views)

Try setting the control to Hex display and type 'FC0AC8C8'. If you really need the carriage return, you need to preface each hex character with the '\' escape code with '\' Codes turned on - '\n\FC\n\01n\C8\n\C8'

0 Kudos
Message 3 of 3
(2,747 Views)