Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added Full API support for TekscopePC. #282

Merged
merged 5 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ Things to be included in the next release go here.
### Added

- Added curve query support for the MSO2KB series scopes
- Full Python API support for TekScopePC device.

### Fixed

- Fixed APIs with queries syntax missing.
v12ganesh marked this conversation as resolved.
Show resolved Hide resolved

---

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ _Device Support Levels_
| | **DSA70000/C/D** | PI | ✅ | ✅ |
| | **MSO70000/C/DX** | PI | ✅ | ✅ |
| | **TSOVu** | PI | ✅ | |
| | **TekScope** | PI | ✅ | |
| PSUs | **2200** | PI | ✅ | |
| | **2220** | PI | ✅ | |
| | **2230** | PI | ✅ | |
Expand Down Expand Up @@ -149,6 +148,7 @@ _Software Solution Support Levels_
| -------------------- | --------------- | ---------------- | ---------------------------------- |
| DPOJET | PI | ✅ | ✅ |
| SourceXpress | PI | ✅ | ✅ |
| TekScopePC | PI | ✅ | ✅ |
v12ganesh marked this conversation as resolved.
Show resolved Hide resolved

</div>

Expand Down
4 changes: 2 additions & 2 deletions docs/_static/css/theme_overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ span.doc-object-name {
}

/* Customize link color */
a.autorefs, a.autorefs code {
a.autorefs, a.autorefs code, .rst-content .admonition a.autorefs code {
color: dodgerblue !important;
}

a.autorefs:hover, a.autorefs:hover code {
a.autorefs:hover, a.autorefs:hover code, .rst-content .admonition a.autorefs:hover code {
color: #d600d6 !important;
}

Expand Down
3 changes: 3 additions & 0 deletions docs/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ SS
TCPIP
: Transmission Control Protocol/Internet Protocol

TekScopePC
: A PC software to view and analyze waveforms anywhere, anytime, with remote access to Tektronix oscilloscope
v12ganesh marked this conversation as resolved.
Show resolved Hide resolved

TSP
: Test Script Processor

Expand Down
1 change: 1 addition & 0 deletions docs/macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
(" API ", " <API:>"),
(" DPOJET ", " <DPOJET:>"),
(" SourceXpress ", " <SourceXpress:>"),
(" TekScopePC ", " <TekScopePC:>"),
(" ✅ ", " [](default:✅) "),
(" 🚧 ", " [](default:🚧) "),
(" ❌ ", " [](default:❌) "),
Expand Down
4 changes: 4 additions & 0 deletions src/tm_devices/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
from .smu2651a_commands import SMU2651ACommandConstants, SMU2651ACommands, SMU2651AMixin
from .smu2657a_commands import SMU2657ACommandConstants, SMU2657ACommands, SMU2657AMixin
from .ss3706a_commands import SS3706ACommandConstants, SS3706ACommands, SS3706AMixin
from .tekscopepc_commands import TekScopePCCommandConstants, TekScopePCCommands, TekScopePCMixin

__all__ = [
"AFG3KBCommandConstants",
Expand Down Expand Up @@ -281,4 +282,7 @@
"SS3706ACommandConstants",
"SS3706ACommands",
"SS3706AMixin",
"TekScopePCCommandConstants",
"TekScopePCCommands",
"TekScopePCMixin",
]
14 changes: 11 additions & 3 deletions src/tm_devices/commands/afg3k_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,18 @@
from .gen_22daqs_afg.trigger import Trigger
from .gen_33ijgq_afgawg.abort import Abort
from .gen_33ijgq_afgawg.calibration import Calibration
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.miscellaneous import Idn, Tst
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.status_and_error import (
Cls,
Esr,
Opc,
Rst,
Stb,
Wai,
)
from .gen_fst7sp_lpdmsotekscopepcmdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.calibration import Cal
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Idn, Trg, Tst
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.status_and_error import Cls, Esr, Opc, Rst, Stb, Wai
from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Trg


# pylint: disable=too-few-public-methods
Expand Down
14 changes: 11 additions & 3 deletions src/tm_devices/commands/afg3kb_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,18 @@
from .gen_22daqs_afg.trigger import Trigger
from .gen_33ijgq_afgawg.abort import Abort
from .gen_33ijgq_afgawg.calibration import Calibration
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.miscellaneous import Idn, Tst
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.status_and_error import (
Cls,
Esr,
Opc,
Rst,
Stb,
Wai,
)
from .gen_fst7sp_lpdmsotekscopepcmdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.calibration import Cal
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Idn, Trg, Tst
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.status_and_error import Cls, Esr, Opc, Rst, Stb, Wai
from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Trg


# pylint: disable=too-few-public-methods
Expand Down
14 changes: 11 additions & 3 deletions src/tm_devices/commands/afg3kc_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,18 @@
from .gen_22daqs_afg.trigger import Trigger
from .gen_33ijgq_afgawg.abort import Abort
from .gen_33ijgq_afgawg.calibration import Calibration
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.miscellaneous import Idn, Tst
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.status_and_error import (
Cls,
Esr,
Opc,
Rst,
Stb,
Wai,
)
from .gen_fst7sp_lpdmsotekscopepcmdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.calibration import Cal
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Idn, Trg, Tst
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.status_and_error import Cls, Esr, Opc, Rst, Stb, Wai
from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Trg


# pylint: disable=too-few-public-methods
Expand Down
16 changes: 12 additions & 4 deletions src/tm_devices/commands/awg5200_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,19 @@
from .gen_3n9auv_awg.slist import Slist
from .gen_3n9auv_awg.status import Status
from .gen_3n9auv_awg.wplugin import Wplugin
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.miscellaneous import Idn, Tst
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.status_and_error import (
Cls,
Esr,
Opc,
Rst,
Stb,
Wai,
)
from .gen_fst7sp_lpdmsotekscopepcmdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.calibration import Cal
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Idn, Trg, Tst
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.status_and_error import Cls, Esr, Opc, Rst, Stb, Wai
from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt
from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Trg
from .gen_fu6dog_lpdmsotekscopepcdpomdoawgdsa.status_and_error import Ese, Sre
from .helpers import DefaultDictPassKeyToFactory


Expand Down
16 changes: 12 additions & 4 deletions src/tm_devices/commands/awg5k_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,19 @@
from .gen_32dszm_awg.wlist import Wlist
from .gen_33ijgq_afgawg.abort import Abort
from .gen_33ijgq_afgawg.calibration import Calibration
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.miscellaneous import Idn, Tst
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.status_and_error import (
Cls,
Esr,
Opc,
Rst,
Stb,
Wai,
)
from .gen_fst7sp_lpdmsotekscopepcmdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.calibration import Cal
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Idn, Trg, Tst
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.status_and_error import Cls, Esr, Opc, Rst, Stb, Wai
from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt
from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Trg
from .gen_fu6dog_lpdmsotekscopepcdpomdoawgdsa.status_and_error import Ese, Sre
from .helpers import DefaultDictPassKeyToFactory


Expand Down
16 changes: 12 additions & 4 deletions src/tm_devices/commands/awg5kc_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,19 @@
from .gen_32dszm_awg.wlist import Wlist
from .gen_33ijgq_afgawg.abort import Abort
from .gen_33ijgq_afgawg.calibration import Calibration
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.miscellaneous import Idn, Tst
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.status_and_error import (
Cls,
Esr,
Opc,
Rst,
Stb,
Wai,
)
from .gen_fst7sp_lpdmsotekscopepcmdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.calibration import Cal
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Idn, Trg, Tst
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.status_and_error import Cls, Esr, Opc, Rst, Stb, Wai
from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt
from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Trg
from .gen_fu6dog_lpdmsotekscopepcdpomdoawgdsa.status_and_error import Ese, Sre
from .helpers import DefaultDictPassKeyToFactory


Expand Down
16 changes: 12 additions & 4 deletions src/tm_devices/commands/awg70ka_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,19 @@
from .gen_3rs8qy_awg.system import System
from .gen_3rs8qy_awg.trigger import Trigger
from .gen_3rs8qy_awg.wlist import Wlist
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.miscellaneous import Idn, Tst
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.status_and_error import (
Cls,
Esr,
Opc,
Rst,
Stb,
Wai,
)
from .gen_fst7sp_lpdmsotekscopepcmdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.calibration import Cal
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Idn, Trg, Tst
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.status_and_error import Cls, Esr, Opc, Rst, Stb, Wai
from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt
from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Trg
from .gen_fu6dog_lpdmsotekscopepcdpomdoawgdsa.status_and_error import Ese, Sre
from .helpers import DefaultDictPassKeyToFactory


Expand Down
16 changes: 12 additions & 4 deletions src/tm_devices/commands/awg70kb_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,19 @@
from .gen_3rs8qy_awg.system import System
from .gen_3rs8qy_awg.trigger import Trigger
from .gen_3rs8qy_awg.wlist import Wlist
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.miscellaneous import Idn, Tst
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.status_and_error import (
Cls,
Esr,
Opc,
Rst,
Stb,
Wai,
)
from .gen_fst7sp_lpdmsotekscopepcmdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.calibration import Cal
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Idn, Trg, Tst
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.status_and_error import Cls, Esr, Opc, Rst, Stb, Wai
from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt
from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Trg
from .gen_fu6dog_lpdmsotekscopepcdpomdoawgdsa.status_and_error import Ese, Sre
from .helpers import DefaultDictPassKeyToFactory


Expand Down
16 changes: 12 additions & 4 deletions src/tm_devices/commands/awg7k_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,19 @@
from .gen_32dszm_awg.wlist import Wlist
from .gen_33ijgq_afgawg.abort import Abort
from .gen_33ijgq_afgawg.calibration import Calibration
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.miscellaneous import Idn, Tst
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.status_and_error import (
Cls,
Esr,
Opc,
Rst,
Stb,
Wai,
)
from .gen_fst7sp_lpdmsotekscopepcmdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.calibration import Cal
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Idn, Trg, Tst
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.status_and_error import Cls, Esr, Opc, Rst, Stb, Wai
from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt
from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Trg
from .gen_fu6dog_lpdmsotekscopepcdpomdoawgdsa.status_and_error import Ese, Sre
from .helpers import DefaultDictPassKeyToFactory


Expand Down
16 changes: 12 additions & 4 deletions src/tm_devices/commands/awg7kc_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,19 @@
from .gen_32dszm_awg.wlist import Wlist
from .gen_33ijgq_afgawg.abort import Abort
from .gen_33ijgq_afgawg.calibration import Calibration
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.miscellaneous import Idn, Tst
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.status_and_error import (
Cls,
Esr,
Opc,
Rst,
Stb,
Wai,
)
from .gen_fst7sp_lpdmsotekscopepcmdodpoafgawgdsa.status_and_error import Opt
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.calibration import Cal
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Idn, Trg, Tst
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.status_and_error import Cls, Esr, Opc, Rst, Stb, Wai
from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt
from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Trg
from .gen_fu6dog_lpdmsotekscopepcdpomdoawgdsa.status_and_error import Ese, Sre
from .helpers import DefaultDictPassKeyToFactory


Expand Down
47 changes: 28 additions & 19 deletions src/tm_devices/commands/dpo2k_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,43 @@
from .gen_1nmc1o_msodpomdo.status_and_error import Psc
from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice
from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc
from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime
from .gen_e6bmgw_lpdmsotekscopepcdpomdo.totaluptime import Totaluptime
from .gen_fhrp27_msodpomdodsa.curve import Curve
from .gen_fhrp27_msodpomdodsa.date import Date
from .gen_fhrp27_msodpomdodsa.mathvar import Mathvar
from .gen_fhrp27_msodpomdodsa.save_and_recall import Rcl, Sav
from .gen_fkjfe8_msodpodsa.time import Time
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.miscellaneous import Idn, Tst
from .gen_fsksdy_lpdmsotekscopepcdpomdoafgawgdsa.status_and_error import (
Cls,
Esr,
Opc,
Rst,
Stb,
Wai,
)
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.calibration import Cal
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Idn, Trg, Tst
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.status_and_error import Cls, Esr, Opc, Rst, Stb, Wai
from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre
from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev
from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy
from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese
from .gen_fx54ua_lpdmsodpomdodsa.event import Event
from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg
from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty
from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory
from .gen_fx54ua_lpdmsodpomdodsa.header import Header
from .gen_fx54ua_lpdmsodpomdodsa.id import Id
from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn
from .gen_ft5uww_lpdmsodpomdoafgawgdsa.miscellaneous import Trg
from .gen_fu6dog_lpdmsotekscopepcdpomdoawgdsa.status_and_error import Ese, Sre
from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt
from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass
from .gen_fx54ua_lpdmsodpomdodsa.password import Password
from .gen_fx54ua_lpdmsodpomdodsa.rem import Rem
from .gen_fx54ua_lpdmsodpomdodsa.set import Set
from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud
from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure
from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose
from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.allev import Allev
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.busy import Busy
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.dese import Dese
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.event import Event
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.evmsg import Evmsg
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.evqty import Evqty
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.factory import Factory
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.header import Header
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.id import Id
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.miscellaneous import Lrn
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.rem import Rem
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.set import Set
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.status_and_error import Pud
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.verbose import Verbose
from .gen_fxvtmy_lpdmsotekscopepcdpomdodsa.wavfrm import Wavfrm
from .gen_fzn174_lpdmsodpomdodsa.lock import Lock
from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock
from .gen_u301s_msodpo.acquire import Acquire
Expand Down
Loading
Loading