Skip to content

Commit

Permalink
feat: Added Full API support for TekscopePC. (#282)
Browse files Browse the repository at this point in the history
* feat: Added Full API support for TekscopePC.

* feat: Added Full API support for TekscopePC.

* feat: Added Full API support for TekscopePC.

* feat: Added Full API support for TekscopePC.

* fix: Reverted the required files and resolve the PR comments.
  • Loading branch information
v12ganesh authored Aug 23, 2024
1 parent 8a11495 commit 44f460a
Show file tree
Hide file tree
Showing 157 changed files with 178,857 additions and 2,443 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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.

---

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,7 @@ _Device Support Levels_
| | **DSA70000/C/D** | PI |||
| | **MSO70000/C/DX** | PI |||
| | **TSOVu** | PI || |
| | **TekScope** | PI || |
| | **TekScope** | PI || |
| PSUs | **2200** | PI || |
| | **2220** | PI || |
| | **2230** | PI || |
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
5 changes: 3 additions & 2 deletions docs/basic_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@ first instantiated.

In order to do this a few things will need to be created:

1. A custom device class inheriting from one of the
[main device types](advanced/architecture.md#main-device-types).
1. A custom device class. Ideally this would inherit from one of the
[main device types](advanced/architecture.md#main-device-types), though a custom class
representing an unsupported device type can also be created.
2. A mapping of the parsed model series string to the Python class.

```python
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 application to view and analyze waveforms anywhere, anytime, with remote access to a Tektronix oscilloscope

TSP
: Test Script Processor

Expand Down
1 change: 1 addition & 0 deletions docs/known_words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ __none__
add_new
adding_devices
alias_usage
analyze
api
artifact
artifacts
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

0 comments on commit 44f460a

Please sign in to comment.