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

Triggering infrastructure #58

Closed
prasimix opened this issue Dec 30, 2016 · 6 comments
Closed

Triggering infrastructure #58

prasimix opened this issue Dec 30, 2016 · 6 comments
Assignees
Milestone

Comments

@prasimix
Copy link
Member

prasimix commented Dec 30, 2016

A triggering infrastructure will allow us to control various actives via SCPI commands remotely, locally or using digital input pin on the front panel (when TRIGger[:SEQuence]:SOURce PIN1, See also [SOURce:]DIGital:PIN<n>:FUNCtion and [SOURce:]DIGital:PIN<n>:POLarity). The following SCPI subsystems have to be supported:

  • *TRG (see also *OPC, *WAI)
  • ABORt
  • INITiate
  • TRIGger
@prasimix
Copy link
Member Author

prasimix commented Feb 6, 2017

For TRIGger[:SEQuence]:SOURce KEY use encoder switch instead of button displayed on the TFT display. Change KEY to MANual

@prasimix
Copy link
Member Author

prasimix commented Feb 6, 2017

POSitive and NEGative SLOPe seems that are exchanged. Also for better control a new command has to be added: TRIGger[:SEQuence]:TYPE {EDGE|LEVel} where EDGE is default.

@prasimix
Copy link
Member Author

SLOPe polarity is now fixed.

@prasimix
Copy link
Member Author

prasimix commented Feb 12, 2017

We need clarification regarding inital TRIGGered value for VOLTage and CURRent and when trigger is executed. For example if *RST is applied we have:

VOLT:TRIG?
nan

... and when triggered value is once set it is not clear does it persist to the next triggering event or not. This is important to know if we'd like to introduce OUTP:TRIG command since we have to know what will be set as new VOLT when next triggering event is happen. A hypothetical example:

VOLT:TRIG 12
TRIG:SOUR IMM
INIT
OUTP OFF
VOLT 3.3
VOLT:TRIG?
12.00
OUTP ON
INIT

If previous VOLT:TRIG value remains (instead of nan) then after next trigger INIT voltage will rise from 3.3 to 12 V that could be dangerous.

prasimix added a commit that referenced this issue Feb 12, 2017
@prasimix
Copy link
Member Author

prasimix commented Feb 22, 2017

Short version ABOR is not accepted.

@prasimix
Copy link
Member Author

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants