Expand description

Contains basic implementations of mandated IEEE 488.2 commands.

Mandatory IEEE488.2 commands:

MnemonicName488.2 Section
*CLSClear Status Command10.3
*ESEStandard Event Status Enable Command10.10
*ESE?Standard Event Status Enable Query10.11
*ESR?Standard Event Status Register Query10.12
*IDN?Identification Query10.14
*OPCOperation Complete Command10.18
*OPC?Operation Complete Query10.19
*RSTReset Command10.32
*SREService Request Enable Command10.34
*SRE?Service Request Enable Query10.35
*STBRead Status Byte Query10.36
*TSTSelf-Test Query10.38
*WAIWait-To-Continue10.39

Note that the comments about the default mandatory commands below are from the IEEE 488.2-1992 document and explain their purpose, not my implementation.

Structs

10.3 *CLS, Clear Status Command

10.10 *ESE, Standard Event Status Enable Command

10.12 *ESR?, Standard Event Status Register Query

10.14 *IDN?, Identification Query

10.18 *OPC, Operation Complete Command

10.32 *RST, Reset Command

10.34 *SRE, Service Request Enable Command

10.36 *STB?, Read Status Byte Query

10.38 *TST?, Self-Test Query

10.39 *WAI, Wait-to-Continue Command