How to Send [UNL]

Q: There is a GP-IB command named [UNL]. How to send this command to GP-IB device?

 

A: There is the function GpCommand. The following is an example to send the command [UNL].

<Visual Basic>

Dim Cmd(255) As Long

Cmd(0) = 1       'Total number of command

Cmd(1) = &H3F    '&H3F (Refer to multiline message) -> UNL

GpCommand Cmd(0) 'Send command