EPICS softIocPVA for P2Plant devices
Example
Start P2Plant of simulated 8-channel ADC as described in P2Plant.
Run softIocPVA:
python -m p2plant_ioc -l -k
The P2Plant should start streaming data:
ADC:rps=10 reqs:81, trig:69021 client:1, DBG:0
...
Open another terminal to control P2Plant.
Change debugging level of the P2Plant:
python -m p4p.client.cli put p2p:debug=1
# disable debugging:
python -m p4p.client.cli put p2p:debug=0
Change streaming rate of the P2Plant to 1000 Hz (sleep time = 1 ms):
python -m p4p.client.cli put p2p:sleep=1
The P2Plot should indicate the rps (rounds per seconds) change to ~920.
Monitor ADC channel 0:
python -m p4p.client.cli monitor p2p:adc0
p2p:adc0 Sun Mar 9 11:29:44 2025 ntnumericarray([457, 458, 459, ..., 454, 455, 456], dtype=uint16)
Plot ADC0 samples using pvplot:
python -m pvplot V:p2p:adc0
Metadata
Release files for p2plant-ioc 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| p2plant_ioc-1.0.1.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| p2plant_ioc-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.9 kB
Release files / p2plant_ioc-1.0.1.tar.gz
| Download URL | p2plant_ioc-1.0.1.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61d8e672a70888aedebb42c6465cc3f69775d6842b277d8da07966a40be84133
|
|
BLAKE2b-256 checksum How to use checksums |
ed403a9b2a0330f9f436d4db0e74762e5f5bab5c6846648d67b2e71557076827
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Release files / p2plant_ioc-1.0.1-py3-none-any.whl
| Download URL | p2plant_ioc-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb0c226f1ccc8600e85b24093e8a33fc5e3ba241ca5e808791477b1c8d696498
|
|
BLAKE2b-256 checksum How to use checksums |
64e3833201273915127a6aea432366a48f149957277a4d00deb875e72edca7cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|