VXI VM4016 user manual Inputdebounce, Examples

Page 26

VXI Technology, Inc.

INPUT:DEBOUNCE

The INPut:DEBounce command sets the time period for the digital debounce circuitry. This command affects all the 16 channels of the instrument. It is important to note that the debounce resolution is 9.6 ∝s.

INPut:DEBounce <value>

Where <value> ranges from 9.6 s, i.e.,

 

0.0000096 s to 0.6291456 s.

 

 

EXAMPLES

 

INPut:DEBounce 9.6e-6

Sets the input debounce time for all

 

channels to 0.0000096 s. This will not

 

allow a signal to generate an interrupt

 

unless the input signal crosses the signal for

 

more than 9.6 e-6 seconds.

INP:DEB 0.6

Setting input debounce time to 0.6 s.

INP:DEB?

Returns the input debounce time as 0.6 s.

0.6

 

26

VM4016 Programming

Image 26
Contents VM4016 Page Table of Contents VXI Technology, Inc Certification WarrantyLimitation of Warranty 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 OutputPreparation for USE InstallationCalculating System Power and Cooling Requirements Front Panel Interface Wiring Setting the Chassis Backplane JumpersSetting the Logical Address 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