EasyManua.ls Logo

GW Instek LCR-1100 - Command Overview; USB-HID Command Package Structure

GW Instek LCR-1100
76 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LCR-1000 Series
54
COMMAND OVERVIEW
The LCR-1000 instruction set is common to both
USB-HID and USB-VCOM. The difference is that
USB-HID needs to be packaged and used, while
USB-VCOM can be used directly.
USB-HID command package
The command packet format sent by the PC (a packet structure
defined in C language, other language formats must be similar):
#define program pack(1)
typedef __packed struct
{
uint cSize; //Packet size 4 =60
char sHeader[24]; //Command 24
char sPara[28]; //Parameter 28
uint nSignature; //Signature 4 =0x88805550
uint nChecksum; //Checksum 4
} TUSB_CMD;
#define program pack()
in,
cSize: always 60
nSignature: always 0x88805550
sCmd and sPara: see SCPI command set
nChecksum: 32-bit checksum

Related product manuals