Difference between revisions of "Component: PicoScope (PS2000) (Test Equipment)"
From Flowcode Help
Jump to navigationJump to search(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
==PicoScope component== | ==PicoScope component== | ||
A set of functions designed for interacting with a 2000 series Pico scope via simulation. | A set of functions designed for interacting with a 2000 series Pico scope via simulation. | ||
+ | |||
+ | ==Component Pack== | ||
+ | |||
+ | COMMSC | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 26: | Line 36: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 59: | Line 75: | ||
| colspan="2" | The ps2000a API allows you to select any of 2 32 different timebases based on a maximum sampling rate of 1 GS/s. | | colspan="2" | The ps2000a API allows you to select any of 2 32 different timebases based on a maximum sampling rate of 1 GS/s. | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | no_of_samples | | width="90%" | no_of_samples | ||
|- | |- | ||
| colspan="2" | number of samples required | | colspan="2" | number of samples required | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | time_interval | | width="90%" | time_interval | ||
|- | |- | ||
Line 79: | Line 95: | ||
| colspan="2" | not used. | | colspan="2" | not used. | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | max_samples | | width="90%" | max_samples | ||
|- | |- | ||
Line 232: | Line 248: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | times | | width="90%" | times | ||
|- | |- | ||
Line 267: | Line 283: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | no_of_samples | | width="90%" | no_of_samples | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 333: | Line 349: | ||
| colspan="2" | Handle to the device | | colspan="2" | Handle to the device | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | Offset_uV | | width="90%" | Offset_uV | ||
|- | |- | ||
Line 414: | Line 430: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | no_of_samples | | width="90%" | no_of_samples | ||
|- | |- | ||
Line 429: | Line 445: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | time_indisposed_ms | | width="90%" | time_indisposed_ms | ||
|- | |- | ||
Line 477: | Line 493: | ||
| colspan="2" | Flags to indicate if an overflow has occurred | | colspan="2" | Flags to indicate if an overflow has occurred | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" | no_of_samples | | width="90%" | no_of_samples | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-s32-icon.png]] - LONG |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 539: | Line 555: | ||
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} |
Latest revision as of 17:21, 9 November 2022
Author | Matrix Ltd |
Version | 1.0 |
Category | Test Equipment |
Contents
PicoScope component
A set of functions designed for interacting with a 2000 series Pico scope via simulation.
Component Pack
COMMSC
Detailed description
No detailed description exists yet for this component
Examples
An example project showing the capabilities of the Velleman K8055D board combined with a Pico Technology series 2 scope.
Downloadable macro reference
![]() |
ps2000_open_unit_progress |
This function checks on the progress of a request made to ps2000aOpenUnitAsync to open a scope. | |
![]() |
handle |
![]() |
Progress |
![]() |
Return |
![]() |
ps2000_flash_led |
This function flashes the LED on the front of the scope without blocking the calling thread. | |
![]() |
handle |
handle of the scope device | |
![]() |
Return |
![]() |
ps2000_stop |
This function stops the scope device from sampling data. If this function is called before a trigger event occurs, the oscilloscope may not contain valid data. | |
![]() |
Handle |
![]() |
Return |
![]() |
ps2000_get_times_and_values |
![]() |
Handle |
![]() |
times |
![]() |
buffer_a |
![]() |
buffer_b |
![]() |
buffer_c |
![]() |
buffer_d |
![]() |
overflow |
![]() |
time_units |
![]() |
no_of_samples |
![]() |
Return |
![]() |
ps2000_set_trigger |
![]() |
handle |
![]() |
source |
![]() |
threshold |
![]() |
direction |
![]() |
delay |
![]() |
auto_trigger_ms |
![]() |
Return |
![]() |
ps2000_close_unit |
This function shuts down an oscilloscope. | |
![]() |
Handle |
The handle of the scope device to be closed | |
![]() |
Return |
![]() |
ps2000_run_block |
This function starts collecting data in block mode. | |
![]() |
handle |
![]() |
no_of_samples |
![]() |
timebase |
![]() |
oversample |
![]() |
time_indisposed_ms |
![]() |
Return |
![]() |
ps2000_ready |
![]() |
Handle |
![]() |
Return |
![]() |
ps2000_open_unit_async |
This function opens a scope without blocking the calling thread. | |
![]() |
Return |
![]() |
ps2000_open_unit |
Returns a handle to the opened unit Returns 0 if no unit found Returns -1 if unit failed to open | |
![]() |
Return |
Property reference
![]() |
Properties |