VXI SM8000 user manual Typical Optical Attenuator Control Example, Write

Page 58

VXI Technology, Inc.

TYPICAL OPTICAL ATTENUATOR CONTROL EXAMPLE

The optical attenuator modules are controlled via an I2C bus interface. The bus protocol requires the transmission of the following:

a Module Address

a Command Byte

the number of bytes to send

the number of bytes to receive

the proper data byte(s) that are to be written to, or received from, the optical module (the command byte(s)).

The following sequence should be used to control the modules:

Write

1.Load the Address Register with the module’s address. The default address of the modules as shipped from the factory is 73 => 49h. (This step may be skipped, see Address Register description.)

2.Load the Command Register with the number of bytes to be received plus 1, the number of bytes to be sent, and the proper command.

3.Write/Read the appropriate Relay Register 02 through 08 depending on the module being controlled.

Read

1.Load the Address Register with the module’s address. The default address of the modules as shipped from the factory is 73 => 49h. (This step may be skipped, see Address Register description.)

2.Load the Command Register with the number of bytes to be received plus 1, the number of bytes to be sent, and the proper command (a query command).

3.Write/Read the appropriate Relay Register 02 through 08 depending on the module being queried (write a “0”, the data is ignored).

4.Read the appropriate Relay Register 0A through 0C depending on the number of bytes that are to be received from the module being queried. See Attenuator Command Set.

Note

These read back registers are common to all four of the possible attenuator modules that may be installed. A subsequent write to any of the Relay Registers 02 through 08 will corrupt these registers.

58

SM8000 Series Programming

Image 58
Contents SM8000 Series VXI Technology, Inc Table of Contents Control Modes VXI Technology, Inc SM8000 Series Preface Certification EMC Steve Mauga, QA ManagerVXI Technology, Inc SM8000 Series Preface Service should only be performed by qualified personnel Terms and SymbolsAvoid Electric Shock Support Resources VXI Technology, Inc SM8000 Series Preface Section OverviewSM8000 Series Optical Switch Controller SM8001 / SM8002 MULTI-CHANNELSWITCHES ConfigurationsDuplex 1 x N SM8001 / SM8002 Multi Switch Specifications PDL6SM8003 Prism Switches SpdtSM8003 Prism Switch Specifications PDL3SM8101 / SM8102 Optical Attenuators PDLSetting the Chassis Backplane Jumpers Calculating System Power and Cooling RequirementsIntroduction Example Setting the Logical AddressMSB LSB Selecting the Extended Memory Space Mating Optical Connectors Cleaning Optical ConnectorsOptical Connections SM8001 / SM8002 Multi-Channel Switches General DescriptionSM8003 Prism Switches SM8003 Prism SwitchesAttenuator Diagram SM8101 / SM8102 Optical AttenuatorsOperation Resetting the SwitchRelay Registers Output Channel Selection N Switch Configuration Duplex 1 x N Switch Configuration Common Active ChannelN Blocking Switch Configuration N Non-Blocking Switch Configuration Calculating Switching Time 8MULTI-SWITCH TimingSM8003 Prism Switches Uncalibrated Operation Move-To-Absolute-Step Starting the DeviceControl Modes Calibrated OperationResetting the Device Busy SignalError Status Commanding the DevicesRegister Access AddressingSmip II Register MAP A16 Offset Write FunctionDevice Type Register Read Only ID Register Read OnlyLogical Address Register Write Only Status Register Read OnlySerial Number High Register Read Only Control Register Write OnlyOffset Register Read and Write Serial Number Low Register Read OnlyInterrupt Control Register Read and Write Interrupt Status Register Read OnlySubclass Register Read Only Board X, Y Used Address Register Read and Write NVM Access Register ReadNVM Access Register Write Trace RAM Start High Register Read and WriteTrace RAM Address High Register Read and Write Trace RAM End High Register Read and WriteTrace RAM End Low Register Read and Write Trace RAM Address LOW Register Read and WriteOpen Trigger Select Register Write Only TTL Trigger Polarity Register Write OnlyTrace RAM Control Register Read and Write Busy Trigger Control Register Read and WriteBoard Busy Register Read Only Trigger Advance Register Write OnlyReserved Registers Read and Write 1MB RAM See Typical Optical Multi Switch Operation Control Register Read and WriteControl Register Delay Register Read and Write Plug-In LA+0x104 Command Register Write Only Address Register Write Only Device Memory Relay Register OffsetRelay Register 00 Read and Write Writing to the Relay RegistersRegister 02 thru 08 Read and Write Relay Optical Module’s Data Attenuation LevelRegister 0A thru 0C Read Typical Optical MULTI-SWITCH Control Example Programming ExamplesTypical Optical Attenuator Control Example WriteVXI Technology, Inc Write Example Read ExampleCommand SET Command Transmit Data Receive Data Byte Byte Count30h 31h32h 35h6Ch 80h81h 82h83h 89h8Ah 8Bh8Ch 8Dh8Eh Recommends That the Optical MODULE’S 90hConvert to hexadecimal 96h A2hVXI Technology, Inc SM8000 Series Programming Index VXIbus

SM8000 specifications

The VXI SM8000 is a versatile and robust modular instrumentation platform that is designed for various testing applications in industries such as aerospace, telecommunications, and military. This advanced test equipment is part of the VXI (Versatile Instrumentation System) standards, which allow for high-speed data acquisition, processing, and analysis.

One of the main features of the VXI SM8000 is its modular architecture, which enables users to configure the system according to their specific testing needs. This flexibility means that users can integrate various modules, including signal generators, oscilloscopes, and digital multimeters, making the system adaptable to a wide range of applications. The modular design also ensures scalability, allowing for easy expansion as test requirements grow.

The VXI SM8000 supports high-speed communication via its advanced backplane design. This design features multiple data buses that facilitate fast communication between modules, ensuring minimal latency and enhanced performance during testing. Moreover, the system is built to accommodate high-density modules, maximizing the amount of test parameters that can be handled simultaneously.

The SM8000 boasts enhanced signal processing capabilities thanks to its digital signal processing (DSP) technology. This feature enables real-time analysis and processing of signals, which is crucial for applications that require rapid feedback and adjustments. Additionally, the system is equipped with high-resolution analog-to-digital converters, ensuring precise measurement and analysis.

One of the key characteristics of the VXI SM8000 is its reliability. Built with robust materials and advanced engineering, the system is designed to endure rigorous testing environments and extreme operating conditions. This durability ensures consistent performance over time, making it a reliable choice for critical applications.

Furthermore, the VXI SM8000 is compatible with various software platforms, enabling seamless integration into existing testing environments. It supports programming languages like LabVIEW and MATLAB, allowing engineers to develop customized test scripts and configurations easily.

In summary, the VXI SM8000 is a powerful and flexible test system that combines modularity, high-speed communication, advanced signal processing, and compatibility with industry-standard software. Its reliability and scalability make it an ideal choice for professionals seeking a comprehensive testing solution across various sectors.