XOA Driver Logo

Table of Content

  • 1. Introduction
  • 2. Getting Started
  • 3. Script Example Library
  • 4. Understanding XOA Driver
  • 5. Test Resource Management
  • 6. Command Grouping
  • 7. Status Messages and Exceptions
  • 8. API Reference
    • 8.1. High-Level Functions
    • 8.2. High-Level API
      • 8.2.1. Summary
      • 8.2.2. Tester
      • 8.2.3. Module
      • 8.2.4. Port
        • Obtain
        • General
        • Traffic Generation
        • Layer 1 (Thor, Loki, Odin)
        • Layer 1 (Freya)
          • Link Flap
            • Control
            • Configuration
          • Transceiver
          • ANLT
          • Medium
          • PCS
          • PMA
          • PRBS
        • Impairment
        • L47
      • 8.2.5. Stream
      • 8.2.6. Exception
      • 8.2.7. Enum
    • 8.3. Low-Level API
  • 9. Glossary of Terms
XOA Driver
  • 8. API Reference
  • 8.2. High-Level API
  • 8.2.4. Port
  • Layer 1 (Freya)
  • Link Flap

Link Flap

Control

Enable / disable port ‘link flap’.

Corresponding low-level API class: PP_LINKFLAP_ENABLE

# Link Flap - Control
await port.pcs_pma.link_flap.enable.set(on_off=enums.OnOff.ON)
await port.pcs_pma.link_flap.enable.set_on()
await port.pcs_pma.link_flap.enable.set(on_off=enums.OnOff.OFF)
await port.pcs_pma.link_flap.enable.set_off()

resp = await port.pcs_pma.link_flap.enable.get()
resp.on_off

Configuration

Set port ‘link flap’ parameters. Notice: Period must be larger than duration.

Corresponding low-level API class: PP_LINKFLAP_PARAMS

# Link Flap - Configuration
await port.pcs_pma.link_flap.params.set(duration=10, period=20, repetition=0)

resp = await port.pcs_pma.link_flap.params.get()
resp.duration
resp.period
resp.repetition
Previous Next

© Copyright 2025, Teledyne LeCroy Xena.