VXI SVM2608 user manual Timeout 0x1C, 0x44, 0x6C, 0x94, 0xBC, 0xE4 Read & Write

Page 38

VXI Technology, Inc.

Trigger Delay (0x1A, 0x42, 0x6A, 0x92, 0xBA, 0xE2) — Read & Write

D15 – D0

DELAY15 – 0

Trigger Delay - The trigger delay value is used to set the time between trigger occurrence and storing of data.

Minimum Value = 0

Maximum Value = 232 – 1

Timeout (0x1C, 0x44, 0x6C, 0x94, 0xBC, 0xE4) — Read & Write

 

 

Timeout Select - This sets the resolution of the timeout counter. It will

 

 

determine how long the device waits between start and trigger events

 

 

before setting the timeout status bits.

 

 

000

- 10 μs

D15 – D13

TOSEL2 – 0

001

- 100 μs

010

- 1 ms

 

 

 

 

011

- 10 ms

 

 

100

- 100 ms

 

 

101

- 1.0 s

 

 

110

- 10.0 s

 

 

111

- 100.0 s

D12 – D0

TO12 – 0

Timeout Counter Setting - This value multiplied by the timeout select

value yields the actual timeout setting.

 

 

Interrupt Enable (0x1E, 0x46, 0x6E, 0x96, 0xBE, 0xE6) — Read & Write

D15 – D0

IM15 – 0

Interrupt Enable - Enables or disables interrupt generation for corresponding bit in the interrupt status register.

0 = Disabled

1 = Enabled Pon state = 0

Interrupt Status (0x20, 0x48, 0x70, 0x98, 0xC0, 0xE8) — Read Only

D15 – D0

INT15 – 0

Interrupt Status Register - If a corresponding bit in the interrupt enable register is set, these bits indicate if an interrupt occurred. Otherwise, they operate as status bits.

15 - Real time trigger input value

14 - This bit is reserved for future use

13 - This bit is reserved for future use

12 - Settled (range change ready)

11 - Result ready

10 - FIFO overrun

9 - FIFO underrun

8 - FIFO @ threshold

7 - ARM not ready - ERROR if ARM too soon (warning) 6 - Triggered - cleared when acquisition is complete

5 - Capture Complete

4 - Function busy

3 - Self test busy

2 - Self test passed

1 - CMD error

0 - Timeout occurred

38

SVM2608 Programming

Image 38
Contents SVM2608 VXI Technology, Inc Table of Contents Self Test Command Certification WarrantyLimitation of Warranty Restricted Rights LegendEMC Steve Mauga, QA ManagerUse Proper Power Cord Service should only be performed by qualified personnelTerms and Symbols Use Proper Power SourceOperating Conditions Avoid Electric ShockGround the Product Improper UseVXI Technology Lake Stevens Instrument Division VXI Technology World HeadquartersVXI Technology Cleveland Instrument Division Technical SupportVXI Technology, Inc SVM2608 Preface Introduction OverviewScale Acquiring Data TriggeringPre-Trigger Linear ModeDelayed Trigger Calibrations Fifo ModeCommands Test BusOption SVM2608 Block Diagram SVM2608 Environmental Specifications Physical DescriptionGND Front Panel Interface WiringGND CH1I CH3I CH1I+ GND CH3I+ Exttrigin CH0I CH2ISVM2608 Specifications MtbfOption 1 SVM2608-01 VXI Technology, Inc SVM2608 Introduction Calculating System Power and Cooling Requirements Setting the Chassis Backplane JumpersSetting the Base Address Rotary Switch LocationsMSB LSB ExampleDivide Decimal Switch to C and the front switch to Module INSTALLATION/REMOVALReserved Device Memory MapsFunction Offset Register OffsetSVM2608 A32 Register MAP MS = Most Significant LS = Least Significant0x72 Command Register Channel 0x74 Databyte Ordering Determining the Register Address Sysfailctl Accessing the RegistersDescription of Registers HSTRIGSRC2 Force Trigger, Start Register 0x02 Read & WriteINTLVL2 EXT Trig SlopeExternal Trigger Level 0x06 Read & Write TimeoutctlReserved LINEAR/FIFO 2WIREOHMS4WIREOHMS ATTN-GAIN1-GAIN0KHz Channels 0-3/5 MHz Channels 4-5 LPF Control This bit Sample Rate 0x0C, 0x34, 0x5C, 0x84 Read & WriteSample Rate 0x0E, 0x36, 0x5E, 0x86 Read & Write Sample Rate, High-Speed 0xAC, 0xD4 Read & Write Sample Rate, High-Speed 0xAE, 0xD6 Read & WriteTimeout 0x1C, 0x44, 0x6C, 0x94, 0xBC, 0xE4 Read & Write Reserved Registers 0xF8 0xFC Fifo Data 0x24, 0x4C, 0x74, 0x9C, 0xC4, 0xEC Read OnlyFifo Data 0x26, 0x4E, 0x76, 0x9E, 0xC6, 0xEE Read Only Trigger Delay = Microprocessor Commands Measurement CommandsCaptured Data Calculations Resistance Measurement Dynamic Method Self Test CommandResistance Measurement Offset Method Preset Setting Measurement Commands ExampleSample Rate Calibration CommandsSample Points Trigger Event Forced TriggerPage Error Processing There are no errors in the queue Diagnostic Commands Changes become effective the next time the module powers up Example 2 Setting Channel 2 to Acquire 200,000 Samples ExamplesExample 3 Setting Channel 2 to Pre-acquire 100,000 Samples Timeout Counter = Timeout / Timeout Base Clock Timeout Register = Timeout Base * 213 + Timeout CounterVXI Technology, Inc SVM2608 Programming Appendix a Data Swapping ExampleVXI Technology, Inc SVM2608 Appendix a Index