Is there a SCPI command to check when the ARB waveform playback is finished (assuming single trigger)
Right now I’m checking for UNLEVEL output but there must be a more elegant solution
If *OPC? is sent before waveform playback has finished, the instrument answers right away
Hi Fleon,
You didn't indicate which signal generator or stand alone Arb you are using so this is a just a guess.
Here is a link to the X Series signal generator programming guide.
https://literature.cdn.keysight.com/litweb/pdf/N5180-90057.pdf?id=2179718
The command you are looking for might be
[:SOURce]:RADio:DMODulation:ARB:PLAY:COMPleted?
Supported N5166B/72B/82B with Option N5180431B
This SCPI command returns whether the ARB waveform has completed since the last query or the last time the waveform was set up to play. The waveform is setup to play when various waveform parameters are adjusted, such as turning the mode off and on or changing the triggering mode. It returns a 0 if the waveform has not completed and a 1 if the waveform has completed at least one time. After this query, the value will be reset to 0 until another completion occurs.
[:SOURce]:RADio:DMODulation:ARB:PLAY:WCOMpleted?
Supported N5166B/72B/82B with Option N5180431B
This SCPI command returns whether the ARB waveform has completed since the last query or the last time the waveform was setup up to play. This SCPI command will wait until the ARB waveform has completed. The completion is after repeat counts for single trigger. The waveform is set up to play when various waveform parameters are adjusted, such as turning the mode off and on or changing the triggering mode. It returns a 0 if the waveform has not completed and a DCAS has been sent to the instrument or the mode is not on, otherwise a 1 will be returned when the waveform has completed at least one time. After this query, the value will be reset to 0 until another completion occurs.
Hope this helps
Pete