lager_pcb.rigol_dp800
Module Contents
Attributes
- lager_pcb.rigol_dp800.LAGER_CURRENT_LIMIT = 1
- class lager_pcb.rigol_dp800.DP800(instr)
- check_instrument()
- get_identification()
Query the ID string of the instrument.
- set_lager_safety()
- __str__()
Return str(self).
- _interpret_channel(channel)
Wrapper to allow specifying channels by their name (str) or by their number (int)
- _interpret_source(source)
Wrapper to allow specifying sources by their name (str) or by their number (int)
- run_analyzer()
When receiving this command, the instrument executes the analysis operation according to the current setting.
- get_analyzer_current_time()
Query the current time of the analyzer.
- set_analyzer_current_time(time=1)
Set the current time of the analyzer.
- get_analyzer_end_time()
Query the end time of the analyzer.
- set_analyzer_end_time(time=2)
Set the end time of the analyzer.
- get_analyzer_file()
Query the record file currently opened.
- set_analyzer_file(location)
Open the specified record file in memory.
- get_analyzer_unit()
Query the analysis object of the analyzer.
- set_analyzer_unit(unit='V')
Set the analysis object of the analyzer to voltage, current or power.
- get_analyzer_result()
Query the analysis results, including the number of groups, median, mode, average, variance, range, minimum, maximum and mean deviation
- set_analyzer_start_time(time=1)
Set the start time of the analyzer.
- get_analyzer_start_time()
Query the start time of the analyzer.
- get_analyzer_value(time=1)
Query the voltage, current and power at the specified time in the record file opened.
- get_channel(channel=1)
Query the voltage/current of the specified channel.
- set_channel(voltage, current, channel=1)
Select the specified channel as the current channel and set the voltage/current of this channel.
- get_channel_limits(channel=1)
Query the upper limits of the specified channel.
- get_delay_cycles()
Query the number of cycles of the delayer.
- set_delay_cycles(cycles=1)
Set the number of cycles of the delayer
- get_delay_end_state()
Query the end state of the delayer.
- set_delay_end_state(state='OFF')
Set the end state of the delayer.
- get_delay_groups()
Query the number of output groups of the delayer.
- set_delay_groups(groups=1)
Set the number of output groups of the delayer.
- get_delay_parameters(group=0, num_groups=1)
Query the delayer parameters of the specified groups.
- set_delay_parameters(group=0, state='OFF', delay=1)
Set the delayer parameters of the specified group.
- delay_is_enabled()
Query the state of the delay output function of the current channel.
- enable_delay()
Enable the state of the delay output function of the current channel.
- disable_delay()
Disable the state of the delay output function of the current channel.
- get_delay_generation_pattern()
Query the pattern used when generating state automatically.
- set_delay_generation_pattern(pattern='01')
Select the pattern used when generating state automatically.
- get_delay_stop_condition()
Query the stop condition of the delayer.
- set_delay_stop_condition(condition='NONE', value=0)
Set the stop condition of the delayer.
- get_delay_generation_time()
Query the method used to generate time automatically as well as the corresponding parameters.
- set_delay_generation_time(mode='FIX', timebase=None, step=None)
Set the method used to generate time automatically and the corresponding parameters.
- get_display_mode()
Query the current display mode.
- set_display_mode(mode='NORM')
Set the current display mode.
- enable_screen_display()
Turn on the screen display.
- disable_screen_display()
Turn off the screen display.
- screen_display_is_enabled()
Query the current screen display state.
- clear_display_text()
Clear the characters displayed on the screen.
- get_display_text()
Query the string currently displayed on the screen.
- set_display_text(text, x=5, y=110)
Display the specified string from the specified coordinate on the screen.
- clear_status()
Clear all the event registers in the register set and clear the error queue.
- get_event_status_enable()
Query the enable register for the standard event status register set.
- set_event_status_enable(data=0)
Set the enable register for the standard event status register set.
- get_event_status()
Query and clear the event register for the standard event status register.
- get_identification()
Query the ID string of the instrument.
- get_vendor()
- get_product()
- get_serial_number()
- get_firmware()
- is_busy()
The *OPC? command is used to query whether the current operation is finished. The *OPC command is used to set the Operation Complete bit (bit 0) in the standard event status register to 1 after the current operation is finished.
- reset()
Restore the instrument to the default state.
- get_service_request_enable()
Query the enable register for the status byte register set.
- set_service_request_enable(data=0)
Set the enable register for the status byte register set.
- get_status_byte()
Query the event regester for the status byte register. The value of the status byte register is set to 0 after this command is executed.
- self_test_is_passing()
Perform a self-test and then returns the self-test results.
- wait()
Wait for the operation to finish.
- initialize_trigger()
Initialize the trigger system.
- get_coupling_channels()
Query the current trigger coupling channels.
- set_coupling_channels(channels)
Select the trigger coupling channels.
- get_selected_channel()
Query the channel currently selected.
- select_channel(channel)
Select the current channel.
- install_option(license)
Install the options.
- measure(channel)
Query the voltage, current and power measured on the output terminal of the specified channel.
- measure_current(channel)
Query the current measured on the output terminal of the specified channel.
- measure_power(channel)
Query the power measured on the output terminal of the specified channel.
- measure_voltage(channel)
Query the voltage measured on the output terminal of the specified channel.
- get_current_monitor_condition()
Query the current monitor condition of the monitor (the current channel).
- set_current_monitor_condition(condition='NONE', logic='NONE')
Set the current monitor condition of the monitor (the current channel).
- get_power_monitor_condition()
Query the power monitor condition of the monitor (the current channel).
- set_power_monitor_condition(condition='NONE', logic='NONE')
Set the power monitor condition of the monitor (the current channel).
- enable_monitor()
Enable the monitor (the current channel).
- disable_monitor()
Disable the monitor (the current channel).
- monitor_is_enabled()
Query the state of the monitor (the current channel)
- get_monitor_stop_mode()
Query the stop mode of the monitor (the current channel).
- enable_monitor_outoff()
Enable the "OutpOff" mode of the monitor (the current channel).
- disable_monitor_outoff()
Disable the "OutpOff" mode of the monitor (the current channel).
- enable_monitor_warning()
Enable the "Warning" mode of the monitor (the current channel).
- disable_monitor_warning()
Disable the "Warning" mode of the monitor (the current channel).
- enable_monitor_beeper()
Enable the "Beeper" mode of the monitor (the current channel).
- disable_monitor_beeper()
Disable the "Beeper" mode of the monitor (the current channel).
- get_voltage_monitor_condition()
Query the voltage monitor condition of the monitor (the current channel).
- set_voltage_monitor_condition(condition='NONE', logic='NONE')
Set the voltage monitor condition of the monitor (the current channel).
- get_output_mode(channel=None)
Query the current output mode of the specified channel.
- overcurrent_protection_is_tripped(channel=None)
Query whether OCP occurred on the specified channel.
- clear_overcurrent_protection_trip(channel=None)
Clear the label of the overcurrent protection occurred on the specified channel.
- enable_overcurrent_protection(channel=None)
Enable the overcurrent protection (OCP) function of the specified channel.
- disable_overcurrent_protection(channel=None)
Disable the overcurrent protection (OCP) function of the specified channel.
- overcurrent_protection_is_enabled(channel=None)
Query the status of the overcurrent protection (OCP) function of the specified channel.
- get_overcurrent_protection_value(channel=None)
Query the overcurrent protection value of the specified channel.
- set_overcurrent_protection_value(value, channel=None)
Set the overcurrent protection value of the specified channel.
- overvoltage_protection_is_tripped(channel=None)
Query whether OVP occurred on the specified channel.
- clear_overvoltage_protection_trip(channel=None)
Clear the label of the overvoltage protection occurred on the specified channel.
- enable_overvoltage_protection(channel=None)
Enable the overvoltage protection (OVP) function of the specified channel.
- disable_overvoltage_protection(channel=None)
Disable the overvoltage protection (OVP) function of the specified channel.
- overvoltage_protection_is_enabled(channel=None)
Query the status of the overvoltage protection (OVP) function of the specified channel.
- get_overvoltage_protection_value(channel=None)
Query the overvoltage protection value of the specified channel.
- set_overvoltage_protection_value(value, channel=None)
Set the overvoltage protection value of the specified channel.
- get_output_range()
Query the range currently selected of the channel.
- set_output_range(range='P20V')
Select the current range of the channel.
- enable_sense(channel=None)
Enable the Sense function of the channel.
- disable_sense(channel=None)
Disable the Sense function of the channel.
- sense_is_enabled(channel=None)
Query the status of the Sense function of the channel.
- enable_output(channel=None)
Enable the output of the specified channel.
- disable_output(channel=None)
Disable the output of the specified channel.
- output_is_enabled(channel=None)
Query the status of the specified channel.
- num_channels()
- enable_tracking(channel=None)
Enable the track function of the specified channel.
- disable_tracking(channel=None)
Disable the track function of the specified channel.
- tracking_is_enabled(channel=None)
Query the status of the track function of the specified channel.
- get_record_destination()
Query the storage directory of the record file.
- set_record_destination(file_name='RIGOL.ROF', location=10)
Store the record file to the specified storage location in the internal memory with the specified filename.
- set_record_destination_external(file_path)
Store the record file to the specified storage directory in the external memory.
- get_record_period()
Query the current record period of the recorder.
- set_record_period(period=1)
Query the current record period of the recorder.
- enable_record()
Enable the recorder.
- disable_record()
Disable the recorder.
- record_is_enabled()
Query the status of the recorder.
- get_channel_current(source=None)
Query the current of the specified channel.
- set_channel_current(value, source=None)
Set the current of the specified channel.
- get_channel_voltage(source=None)
Query the voltage of the specified channel.
- set_channel_voltage(value, source=None)
Set the voltage of the specified channel.
- get_channel_current_increment(source=None)
Query the step of the current change of the specified channel.
- set_channel_current_increment(value, source=None)
Set the step of the current change of the specified channel.
- get_channel_current_trigger(source=None)
Query the trigger current of the specified channel.
- set_channel_current_trigger(value, source=None)
Set the trigger current of the specified channel.
- beep()
Send this command and the beeper immediately sounds.
- enable_beeper()
Enable the beeper.
- disable_beeper()
Disable the beeper.
- beeper_is_enabled()
Query the status of the beeper.
- get_brightness()
Query the brightness of the screen.
- set_brightness(brightness=50)
Set the brightness of the screen.
- get_gpib_address()
Query the current GPIB address.
- set_gpib_address(address=2)
Set the current GPIB address.
- apply_lan_settings()
Apply the network parameters currently set.
- enable_auto_ip()
Enable the auto IP configuration mode.
- disable_auto_ip()
Disable the auto IP configuration mode.
- auto_ip_is_enabled()
Query the status of the auto IP configuration mode.
- enable_dhcp()
Enable the DHCP configuration mode.
- disable_dhcp()
Disable the DHCP configuration mode.
- dhcp_is_enabled()
Query the status of the DHCP configuration mode.
- get_dns()
Query the current DNS address.
- set_dns(address)
Set the current DNS address.
- get_gateway()
Query the current default gateway.
- set_gateway(gateway)
Set the current default gateway.
- get_ip_address()
Query the current IP address.
- set_ip_address(address)
Set the IP address.
- get_mac_address()
Query the MAC address.
- enable_manual_ip()
Enable the manual IP configuration mode.
- disable_manual_ip()
Disable the manual IP configuration mode.
- manual_ip_is_enabled()
Query the status of the manual IP configuration mode.
- get_subnet_mask()
Query the current subnet mask.
- set_subnet_mask(mask)
Set the subnet mask.
- get_baud()
Query the baud rate of the RS232 interface.
- set_baud(rate)
Set the baud rate of the RS232 interface and the unit is Baud.
- get_data_bit()
Query the data bit of the RS232 interface.
- set_data_bit(data=8)
Set the data bit of the RS232 interface.
- enable_hardware_flow_control()
Enable the hardware flow control.
- disable_hardware_flow_control()
Disable the hardware flow control.
- hardware_flow_control_is_enabled()
Query the status of the hardware flow control.
- get_parity_mode()
Query the current parity mode.
- set_parity_mode(mode='NONE')
Set the parity mode.
- get_stop_bit()
Query the current stop bit.
- set_stop_bit(data=1)
Set the stop bit.
- get_contrast()
Query the contrast of the screen.
- set_contrast(contrast=25)
Set the contrast of the screen.
- get_error()
Query and clear the error messages in the error queue.
- enable_remote_lock()
Enable the remote lock.
- disable_remote_lock()
Disable the remote lock.
- remote_lock_is_enabled()
Query the status of the remote lock.
- get_language()
Query the current system language type.
- set_language(language='EN')
Set the system language.
- lock_keyboard()
Lock the front panel.
- unlock_keyboard()
Unlock the front panel.
- keyboard_is_locked()
Query whether the front panel is locked.
- enable_sync()
Turn on the on/off sync function.
- disable_sync()
Turn off the on/off sync function.
- sync_is_enabled()
Query whether the on/off sync function is turned on.
- enable_overtemperature_protection()
Enable the over-temperature protection (OTP) function.
- disable_overtemperature_protection()
Disable the over-temperature protection (OTP) function.
- overtemperature_protection_is_enabled()
Query the status of the over-temperature protection function.
- enable_recall()
The instrument uses the system configuration (including all the system parameters and states except the channel output on/off states) before the last power-off at power-on.
- disable_recall()
The instrument uses the factory default values at power-on (except those parameters that will not be affected by reset.
- recall_is_enabled()
Query the status of the power-on mode.
- get_luminosity()
Query the RGB brightness of the screen.
- set_luminosity(luminosity=50)
Set the RGB brightness of the screen.
- enable_screen_saver()
Enable the screen saver function.
- disable_screen_saver()
Disable the screen saver function.
- screen_saver_is_enabled()
Query the status of the screen saver function.
- top_board_is_passing()
Query the self-test results of TopBoard.
- bottom_board_is_passing()
Query the self-test results of BottomBoard.
- fan_is_passing()
Query the self-test results of the fan.
- get_temperature()
Query the self-test result of the temperature.
- get_track_mode()
Query the current track mode.
- set_track_mode(mode='SYNC')
Set the track mode.
- get_system_version()
Query the SCPI version number of the system
- get_timer_cycles()
Query the current number of cycles of the timer.
- set_timer_cycles(cycles='I')
Set the number of cycles of the timer.
- get_timer_end_state()
Query the current end state of the timer.
- set_timer_end_state(state='OFF')
Set the end state of the timer.
- get_timer_groups()
Query the current number of output groups of the timer.
- set_timer_groups(num_groups=1)
Set the number of output groups of the timer.
- get_timer_parameters(group=None, num_groups=1)
Query the timer parameters of the specified groups.
- set_timer_parameters(group, voltage, current=1, delay=1)
Set the timer parameters of the specified group.
- enable_timer()
Enable the timing output function.
- disable_timer()
Disable the timing output function.
- timer_is_enabled()
Query the status of the timing output function.
- reconstruct_timer()
Send this command and the instrument will create the timer parameters according to the templet currently selected and the parameters set.
- get_timer_exp_fall_rate()
Query the fall index of ExpFall.
- set_timer_exp_fall_rate(rate=0)
Set the fall index of ExpFall.
- get_timer_interval()
Query the current time interval.
- set_timer_interval(interval=1)
Set the time interval.
- enable_timer_invert()
Enable the invert function of the templet currently selected.
- disable_timer_invert()
Disable the invert function of the templet currently selected.
- timer_is_inverted()
Query whether the invert function of the templet currently selected is enabled.
- get_timer_max_value()
Query the maximum voltage or current of the templet currently selected.
- set_timer_max_value(value)
Set the maximum voltage or current of the templet currently selected.
- get_timer_min_value()
Query the minimum voltage or current of the templet currently selected.
- set_timer_min_value(value=0)
Set the minimum voltage or current of the templet currently selected.
- get_timer_unit()
Query the editing object of the templet currently selected as well as the corresponding current or voltage.
- set_timer_unit(unit='V', value=0)
Select the editing object of the templet and set the current or voltage.
- get_timer_pulse_period()
Query the period of Pulse.
- set_timer_pulse_period(value=10)
Set the period of Pulse.
- get_timer_points()
Query the total number of points
- set_timer_points(value=10)
Set the total number of points.
- get_timer_exp_rise_rate()
Query the rise index of ExpRise.
- set_timer_exp_rise_rate(rate=0)
Set the rise index of ExpRise.
- get_timer_template()
Query the templet type currently selected
- set_timer_template(mode='SINE')
Select the desired templet type.
- get_timer_ramp_symmetry()
Query the symmetry of RAMP.
- set_timer_ramp_symmetry(symmetry=50)
Set the symmetry of RAMP.
- get_timer_pulse_width()
Query the positive pulse width of Pulse.
- set_timer_pulse_width(width=5)
Set the positive pulse width of Pulse.
- get_trigger_source_type()
Query the trigger source type currently selected.
- set_trigger_source_type(mode='BUS')
Select the trigger source type
- set_trigger_current(current=0.1, channel=1)
Set the trigger current of the specified channel.
- enable_trigger_input(data_line=None)
Enable the trigger input function of the specified data line.
- disable_trigger_input(data_line=None)
Disable the trigger input function of the specified data line.
- trigger_input_is_enabled(data_line='D0')
Query the status of the trigger input function of the specified data line.
- trigger()
Initialize the trigger system.
- get_trigger_response(data_line=None)
Query the output response of the trigger input of the specified data line
- set_trigger_response(mode='OFF', data_line=None)
Set the output response of the trigger input of the specified data line.
- get_trigger_sensitivity(data_line=None)
Query the trigger sensitivity of the trigger input of the specified data line.
- set_trigger_sensitivity(sensitivity='LOW', data_line=None)
Set the trigger sensitivity of the trigger input of the specified data line.
- get_trigger_input_source(data_line=None)
Query the source under control of the trigger input of the specified data line.
- set_trigger_input_source(channel=1, data_line=None)
Set the source under control of the trigger input of the specified data line.
- get_trigger_type(data_line=None)
Query the trigger type of the trigger input of the specified data line.
- set_trigger_type(mode='RISE', data_line=None)
Set the trigger type of the trigger input of the specified data line.
- set_trigger_voltage(voltage=0, channel=1)
Set the trigger voltage of the specified channel.
- get_trigger_condition(data_line=None)
Query the trigger condition of the trigger output of the specified data line.
- set_trigger_condition(condition='OUTOFF', value=0, data_line=None)
Set the trigger condition of the trigger output of the specified data line.
- get_trigger_duty_cycle(data_line=None)
Query the duty cycle of the square waveform of the trigger output on the specified data line.
- set_trigger_duty_cycle(duty_cycle=50, data_line=None)
Set the duty cycle of the square waveform of the trigger output on the specified data line.
- enable_trigger_output(data_line=None)
Enable the trigger output function of the specified data line.
- disable_trigger_output(data_line=None)
Disable the trigger output function of the specified data line.
- trigger_output_is_enabled(data_line='D0')
Query the status of the trigger output function of the specified data line.
- get_trigger_period(data_line=None)
Query the period of the square waveform of the trigger output on the specified data line.
- set_trigger_period(period=1, data_line=None)
Set the period of the square waveform of the trigger output on the specified data line.
- get_trigger_polarity(data_line=None)
Query the polarity of the trigger output signal of the specified data line.
- set_trigger_polarity(polarity='POSI', data_line=None)
Set the polarity of the trigger output signal of the specified data line.
- get_trigger_signal(data_line=None)
Query the type of the trigger output signal of the specified data line.
- set_trigger_signal(signal='LEVEL', data_line=None)
Set the type of the trigger output signal of the specified data line.
- get_trigger_output_source(data_line=None)
Query the control source of the trigger output of the specified data line.
- set_trigger_output_source(channel=1, data_line=None)
Set the control source of the trigger output of the specified data line.
- get_trigger_delay()
Query the current trigger delay.
- set_trigger_delay(delay=0)
Set the trigger delay.
- get_trigger_source()
Query the trigger source currently selected.
- set_trigger_source(source='BUS')
Select the trigger source.
- get_state()
- lager_pcb.rigol_dp800.IP_ADDR = 192.168.8.136