VXI VM4016 user manual Ese, Response Description

Page 53

www.vxitech.com

 

 

 

 

*ESE

 

 

 

 

 

 

 

Purpose

Sets the bits of the Event Status Enable Register

 

 

 

 

 

 

 

 

Type

IEEE 488.2 Common Command

 

 

 

 

 

 

 

 

Command Syntax

*ESE <mask>

 

 

 

 

 

 

 

 

 

 

Command Parameters

<mask> = numeric ASCII value

 

 

 

 

 

 

 

 

*RST Value

N/A, the parameter is required

 

 

 

 

 

 

 

 

Query Syntax

*ESE?

 

 

 

 

 

 

 

 

 

 

Query Parameters

N/A

 

 

 

 

 

 

 

 

 

 

Query Response

Numeric ASCII value from 0 to 255

 

 

 

 

 

 

 

 

Description

The Event Status Enable (ESE) command is used to set the bits of the Event Status

 

 

 

Enable Register. See ANSI/IEEE 488.2-1987 section 11.5.1 for a complete

 

 

 

description of the ESE register. A value of 1 in a bit position of the ESE register

 

 

 

enables generation of the Event Status Bit (ESB) in the Status Byte by the

 

 

 

corresponding bit in the Event Status Register (ESR). If the ESB is set in the Service

 

 

 

Request Enable (SRE) register, then an interrupt will be generated. See the *ESR?

 

 

 

command for details regarding the individual bits. The ESE register layout is:

 

 

 

Bit 0 - Operation Complete

 

 

 

Bit 1 - Request Control

 

 

 

 

 

Bit 2 - Query Error

 

 

 

 

 

Bit 3 - Device Dependent Error

 

 

 

Bit 4 - Execution Error

 

 

 

 

 

Bit 5 - Command Error

 

 

 

 

 

Bit 6 - User Request

 

 

 

 

 

Bit 7 - Power On

 

 

 

 

 

The Event Status Enable query reports the current contents of the Event Status Enable

 

 

 

Register.

 

 

 

 

 

 

 

 

 

 

Examples

Command / Query

 

Response (Description)

 

 

 

*ESE 36

 

 

 

 

 

*ESE?

 

36 (Returns the value of the event status enable register)

 

 

 

 

 

 

 

 

Related Commands

*ESR?

 

 

VM4016 Command Dictionary

53

Image 53
Contents VM4016 Page Table of Contents VXI Technology, Inc Limitation of Warranty WarrantyCertification Restricted Rights LegendEMC C L a R a T I O N O F C O N F O R M I T YTerms and Symbols General Safety InstructionsThis product. Product should be inspected or serviced Support Resources VXI Technology, Inc VM4016 Preface Introduction IntroductionFront Panel Layout DescriptionVM4016 Block Diagram IRQ Output VM4016 General SpecificationsPreparation for USE InstallationCalculating System Power and Cooling Requirements Front Panel Interface Wiring Setting the Chassis Backplane JumpersSetting the Logical Address Analog Comparator PIN Outs Signal PIN Number1631 Programming Examples of Scpi Commands FETCHCONDITIONED?FETCHLATCHED? FETCHRAW? Inhousepseudo Inhouseregint InhouseregintInhouseregenable Inhouseclearlatch Examples InputdebounceINPMASK? InputmaskInputmaskinterrupt INPutMASKINTerrupt boolean Where boolean is 0 OFF 1 onINPOFFS? InputoffsetINPutPOLarity NORM,@35 InputpolarityInputrange Outputpolarityexternalinterrupt Outputpolarityexternallatched Example Application ExamplesSingle Channel Operation Commands DescriptionControl Page Sets the external interrupt output to be active high Bracketing a VoltageBracketing AN Input Voltage Page Register MAP Register Access ExamplesFor example Pseudo Register Access VXIPLUG&PLAY Driver Examples VM4016 Programming VXI Technology, Inc Alphabetical Command Listing Command DictionaryIeee 488.2 Common Commands Normal Instrument Specific Scpi CommandsScpi Required Commands Query Parameters Command DictionaryCLS Common Scpi CommandsResponse Description ESEESR? IDN? Query Parameters Query Response Description OPCRST SRE STB? TRG TST? OPC WAIFETChCONDitioned? Instrument Specific Scpi CommandsFETChLATChed? FETChRAW? Inhouseclearlatch Inhousepseudo Inhouseregint Inhouseregenable INPutDEBounce INPutMASK INPutMASKINTerrupt INPutOFFSet INPutPOLarity INPutRANGe OUTPutPOLarityEXTernalINTerrupt OUTPutPOLarityEXTernalLATChed STATusOPERationCONDition? Required Scpi CommandsSTATusOPERationENABle STATusOPERationEVENt? STATusPRESet STATusQUEStionableCONDition? STATusQUEStionableENABle STATusQUEStionableEVENt SYSTemERRor? SYSTemVERSion? Theory of Operation Input Range Control Relay Signal Comparison Interrupt Generation Interrupt Generation OUTPutPOLarityEXTernalLATChed Index