GithubHelp home page GithubHelp logo

due_pcap's Introduction

Introduce

Remote control Keysight S5040 DUE via VISA protocal writen in Python

HOW-TO

Prequirement

Install rye first, which is packages management and virtual environment.

curl -sSf https://rye-up.com/get | bash

!!And remember to enable REST service at Keysight DUE throught GUI

Initialize

rye sync
rye shell

start or stop

./due_pcap.py -h for help/usage information,

usage: due_pcap.py [-h] [host] [pcap]

Keysight/DUE delay parameter change via input different .pcap

positional arguments:
  host        the Rlogging.info server IP:Port of keysight DUE, e.g., 192.168.100.100::5060
  pcap        the name of pcap file w/o ./, e.g., FR1_100M_TM1-1_A1-5_273rb_4x4_for_325-200.pcap

options:
  -h, --help  show this help message and exit

./due_pcap.py host without [pcap] will stop DUE traffic

./due_pcap.py host pcap will restart DUE traffic with specific .pcap, e.g.,

> ./due_pcap.py 192.168.2.94::5060 FR1_100M_TM1-1_A1-5_273rbs_4x4_for_DUE.pcap
/home/yellow/keysight/.venv/lib/python3.12/site-packages/pyvisa_py/tcpip.py:408: UserWarning: TCPIP:instr resource discovery is limited to the default interface.Install psutil: pip install psutil if you want to scan all interfaces.
  warnings.warn(
/home/yellow/keysight/.venv/lib/python3.12/site-packages/pyvisa_py/tcpip.py:121: UserWarning: TCPIP::hislip resource discovery requires the zeroconf package to be installed... try 'pip install zeroconf'
  warnings.warn(
[INFO] due-pcap: Keysight Technologies,S5040A,MY62340188,2.4.10301.0
[INFO] due-pcap: 1.3.0.0
[WARNING] due-pcap: STOP NOT OFF, continue(NOT PRESENT)
[WARNING] due-pcap: STOP NOT OFF, continue(NOT PRESENT)
[WARNING] due-pcap: STOP NOT OFF, continue(NOT PRESENT)
[WARNING] due-pcap: STOP NOT OFF, continue(NOT PRESENT)
[WARNING] due-pcap: STOP NOT OFF, continue(NOT PRESENT)
[WARNING] due-pcap: STOP NOT OFF, continue(NOT PRESENT)
[WARNING] due-pcap: STOP NOT OFF, continue(NOT PRESENT)
[WARNING] due-pcap: STOP NOT OFF, continue(NOT PRESENT)
[WARNING] due-pcap: STOP NOT OFF, continue(NOT PRESENT)
[WARNING] due-pcap: STOP NOT OFF, continue(NOT PRESENT)
[WARNING] due-pcap: STOP NOT OFF but force out
[INFO] due-pcap: pcap loading done!
[INFO] due-pcap: play the pcap done!

Reference

due_pcap's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.