General#
These example programs should give you a general idea of how to work with the Handel API.
handel-error_code#
Demonstrates how to retrieve error code text from a sampling of error codes. This example does not require connected hardware to execute.
handel-gap_time#
Demonstrates how to read and set acquisition values.
Note
Requires connection to a Mercury, MPX-32D, Saturn or xMap.
Arguments#
- ini-file#
A ini file that configures the system to execute the test.
handel-multi_module#
Demonstrates how to work with a multi-channel device.
Note
Requires connection to a Mercury, MPX-32D, Saturn or xMap.
Arguments#
- ini-file#
A ini file that configures the system to execute the test.
handel-preset_run#
Demonstrates how to execute a 5 second data run.
Note
Requires connection to a Mercury, microDXP, MPX-32D, Saturn or xMap.
Arguments#
- ini-file#
A ini file that configures the system to execute the test.
handel-sca#
Demonstrates how to set and configure SCA regions and read out the SCA values.
Note
Requires connection to a Mercury, microDXP, MPX-32D, Saturn or xMap.
Arguments#
- ini-file#
A ini file that configures the system to execute the test.
infinite_read_loops#
Demonstrates how to execute an infinite MCA data run that reads data out based on the provided period.
Note
Requires connection to a Mercury, microDXP, MPX-32D, Saturn or xMap.
Arguments#
- ini-file#
A ini file that configures the system to execute the test.
- read-out-period#
The period at which the software reads the MCA data and outputs it to the terminal.