Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logger racaldana_90x5a #104

Merged

Conversation

Code-Craftsman-Christian
Copy link
Contributor

Initial release of a driver for the venerable Racal-Dana 9015A/9035A counter. Supports instrument options -11A (pulse measurement) and -06A (switchable 50 Ohms input), requires option -55 (GPIB, obviously).

Notes:

  • the instrument uses a pre-SCPI command set
  • the instrument does not use an End-Or-Identify line to finalize commands, which is why a custom identifier is definied via GPIB_EOLread parameter
  • the gate/time multiplier options span a vast range of values and some extreme ones on each end are not usable in all operating modes; because checking all possible combinations of permitted values and operating modes would have caused at least two pages of additional IF statements, this check has not been implemented but the permitted operating modes have been added as text in brackets to each gate/time multiplier option in the GUI interface
  • the totalizer mode requires a start and stop use to define the time within all events are supposed to be counted; I was unsure to implement it, which is why, for the time being, I added the option of defining a time span within events are supposed to be counted. An ideal implementation would be to detect if the driver has been called the first or the second time in totalizer mode as so to either start a counting sequence or to stop it and retrieve the result

The driver is extensively commented (I think) so remaining questions should be answered by the source code, I hope.

@Code-Craftsman-Christian Code-Craftsman-Christian requested a review from a team as a code owner November 20, 2024 06:06
Initial release of a driver for the venerable Racal-Dana 9015A/9035A counter. Supports instrument options -11A (pulse measurement) and -06A (switchable 50 Ohms input), requires option -55 (GPIB, obviously).

Notes: 
- the instrument uses a pre-SCPI command set
- the instrument does not use an End-Or-Identify line to finalize commands, which is why a custom identifier is definied via GPIB_EOLread parameter
- the gate/time multiplier options span a vast range of values and some extreme ones on each end are not usable in all operating modes; because checking all possible combinations of permitted values and operating modes would have caused at least two pages of additional IF statements, this check has not been implemented but the permitted operating modes have been added as text in brackets to each gate/time multiplier option in the GUI interface
- the totalizer mode requires a start and stop use to define the time within all events are supposed to be counted; I was unsure to implement it, which is why, for the time being, I added the option of defining a time span within events are supposed to be counted. An ideal implementation would be to detect if the driver has been called the first or the second time in totalizer mode as so to either start a counting sequence or to stop it and retrieve the result.

The driver is extensively commented (I think) so remaining questions should be answered by the source code, I hope.
@afischer-sweepme afischer-sweepme merged commit 4039f7c into SweepMe:main Dec 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants