https://github.com/b1f6c1c4/lab-scpi
Easily configurable lab assistant that logs data using SCPI protocol
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.0%) to scientific vocabulary
Keywords
Repository
Easily configurable lab assistant that logs data using SCPI protocol
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
lab-scpi
Easily configurable lab assistant that logs data using SCPI protocol
Workflow
- Connect all of your SCPI-compatible test equipments (DMMs, AFGs, oscilloscopes, DC power supplies, spectrum analyzers, etc.) to a central computer. Supported connection methods include:
* SCPI over TTY over USB (`/dev/ttyUSB0`)
* SCPI over TCP over LAN (IP address + port)
* (TODO) SCPI over USBTMC (`/dev/usbtmc0`)
Write a YAML configuration describing your setup:
yaml channels: dmm: !tcp host: 10.11.13.200 port: 5025 ps: !tty dev: /dev/ttyUSB0 baud: 9600 stop: 2In the same YAML file, write your testing plan:
```yaml steps:
- !send {channel: ps, cmd: 'OUTP ON'}
- !delay {seconds: 1}
- !send {channel: dmm, cmd: 'MEAS:VOLT:DC?'}
- U1: !recv {channel: dmm, unit: V}
- !send {channel: ps, cmd: 'OUTP OFF'}
- !send {channel: dmm, cmd: 'MEAS:VOLT:DC?'}
- U2: !recv {channel: dmm, unit: V}
- U: !math {op: '-', operands: ['U1', 'U2'], unit: V} ```
Download and compile
lab-scpi:bash git get b1f6c1c4/lab-scpi cd lab-scpi cmake -G Ninja -S . -B cmake-build-release -DCMAKE_BUILD_TYPE=Release cmake --build cmake-build-releaseRun the executable:
bash ./cmake-build-release/lab <path-to-config>.yaml <path-to-data>.json
Owner
- Login: b1f6c1c4
- Kind: user
- Location: NJ, USA
- Company: Princeton University
- Repositories: 26
- Profile: https://github.com/b1f6c1c4
52BE D143 A92D BE96 2B83 092B 9BAC 0164 9600 1E70
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0