VXI VM4016 user manual INPutMASKINTerrupt

Page 72

VXI Technology, Inc.

 

 

INPut:MASK:INTerrupt

 

 

 

 

 

 

 

Purpose

Enable or disable interrupt generation when changing MASKs

 

 

 

 

 

 

 

 

Type

Setting

 

 

 

 

 

 

 

 

 

Command Syntax

INPut:MASK:INTerrupt <boolean>

 

 

 

 

 

 

 

 

 

Command Parameters

<boolean> = 0 1 OFF ON

 

 

 

 

 

 

 

 

 

*RST Value

0

 

 

 

 

 

 

 

 

 

 

Query Syntax

INPut:MASK:INTerrupt?

 

 

 

 

 

 

 

 

 

Query Parameters

N/A

 

 

 

 

 

 

 

 

 

Query Response

ASCII numeric 0 or 1

 

 

 

 

 

 

 

 

Description

The INPut:MASK:INTerrupt command enables or disables interrupt generation when

 

 

 

changing MASK values. When set to 0 (the *RST state), interrupts are temporarily

 

 

 

disabled whenever MASK values are changed. When set to 1, interrupts are generated

 

 

 

even as MASK values are changed.

 

 

 

 

When a MASK is first enabled, an interrupt is generated if a channel is beyond its

 

 

 

threshold. To create an interrupt when this occurs, set this command to 1.

 

 

 

Example 1: If a channel is set for NORMal polarity and the channel’s input is higher

 

 

 

than its threshold, an interrupt is generated. This interrupt will be ignored when

 

 

 

INPut:MASK:INTerrupt is set to 0. Only when the channel’s input goes below its

 

 

 

threshold, and then goes above the threshold for a period longer than the

 

 

 

INPut:DEBounce time, will an interrupt be generated.

 

 

 

Example 2: If a channel is set for NORMal polarity and the channel’s input is higher

 

 

 

than its threshold, an interrupt is generated. This interrupt will be recognized when

 

 

 

INPut:MASK:INTerrupt is set to 1. When the channel’s input goes below its threshold,

 

 

 

and then goes above the threshold for a period longer than the INPut:DEBounce time,

 

 

 

another interrupt will be generated.

 

 

 

 

 

 

 

 

 

Examples

Command / Query

 

Response (Description)

 

 

 

INP:MASK:INT 1

 

(Enables interrupt generation while changing mask

 

 

 

 

 

values)

 

 

 

INP:MASK:INT?

 

1 (Indicates that Input Mask Interrupt is enabled)

 

 

 

 

 

 

 

 

Related Commands

All INPut commands

 

 

 

72

VM4016 Command Dictionary

Image 72
Contents VM4016 Page Table of Contents VXI Technology, Inc Warranty Limitation of WarrantyCertification Restricted Rights LegendC L a R a T I O N O F C O N F O R M I T Y EMCGeneral Safety Instructions Terms and SymbolsThis product. Product should be inspected or serviced Support Resources VXI Technology, Inc VM4016 Preface Introduction IntroductionDescription Front Panel LayoutVM4016 Block Diagram VM4016 General Specifications IRQ OutputInstallation Calculating System Power and Cooling RequirementsPreparation for USE Setting the Chassis Backplane Jumpers Setting the Logical AddressFront Panel Interface Wiring Signal PIN Number Analog Comparator PIN Outs1631 Examples of Scpi Commands FETCHCONDITIONED? ProgrammingFETCHLATCHED? FETCHRAW? Inhousepseudo Inhouseregint InhouseregintInhouseregenable Inhouseclearlatch Inputdebounce ExamplesInputmask INPMASK?INPutMASKINTerrupt boolean Where boolean is 0 OFF 1 on InputmaskinterruptInputoffset INPOFFS?Inputpolarity INPutPOLarity NORM,@35Inputrange Outputpolarityexternalinterrupt Outputpolarityexternallatched Application Examples ExampleCommands Description Single Channel OperationControl Page Bracketing a Voltage Sets the external interrupt output to be active highBracketing AN Input Voltage Page Register Access Examples Register MAPFor example Pseudo Register Access VXIPLUG&PLAY Driver Examples VM4016 Programming VXI Technology, Inc Command Dictionary Alphabetical Command ListingIeee 488.2 Common Commands Instrument Specific Scpi Commands NormalScpi Required Commands Command Dictionary Query ParametersCommon Scpi Commands CLSESE Response DescriptionESR? IDN? OPC Query Parameters Query Response DescriptionRST SRE STB? TRG TST? WAI OPCInstrument Specific Scpi Commands FETChCONDitioned?FETChLATChed? FETChRAW? Inhouseclearlatch Inhousepseudo Inhouseregint Inhouseregenable INPutDEBounce INPutMASK INPutMASKINTerrupt INPutOFFSet INPutPOLarity INPutRANGe OUTPutPOLarityEXTernalINTerrupt OUTPutPOLarityEXTernalLATChed Required Scpi Commands STATusOPERationCONDition?STATusOPERationENABle STATusOPERationEVENt? STATusPRESet STATusQUEStionableCONDition? STATusQUEStionableENABle STATusQUEStionableEVENt SYSTemERRor? SYSTemVERSion? Theory of Operation Input Range Control Relay Signal Comparison Interrupt Generation Interrupt Generation Index OUTPutPOLarityEXTernalLATChed