Current

SCPI Command :

CHANnel<*>[:WAVeform<*>]:HISTory:CURRent
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(channel=Channel.Default, waveform=Waveform.Default) int[source]
# CHANnel<*>[:WAVeform<*>]:HISTory:CURRent
value: int = driver.channel.waveform.history.current.get(channel = repcap.Channel.Default, waveform = repcap.Waveform.Default)

Accesses a particular acquisition in the memory to display it. The query returns the index of the segment that is shown.

Parameters:
  • channel – optional repeated capability selector. Default value: Ch1 (settable in the interface ‘Channel’)

  • waveform – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Waveform’)

Returns:

curr_acq_idx: History index: the newest segment has the index ‘0’, older segments have a negative index: -(n-1) , …. -1 , 0 where n is the number of acquired segments.

set(curr_acq_idx: int, channel=Channel.Default, waveform=Waveform.Default) None[source]
# CHANnel<*>[:WAVeform<*>]:HISTory:CURRent
driver.channel.waveform.history.current.set(curr_acq_idx = 1, channel = repcap.Channel.Default, waveform = repcap.Waveform.Default)

Accesses a particular acquisition in the memory to display it. The query returns the index of the segment that is shown.

Parameters:
  • curr_acq_idx – History index: the newest segment has the index ‘0’, older segments have a negative index: -(n-1) , …. -1 , 0 where n is the number of acquired segments.

  • channel – optional repeated capability selector. Default value: Ch1 (settable in the interface ‘Channel’)

  • waveform – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Waveform’)