Logic Analyzer - getter functions
Along with regular configuration methods, Logic Analyzer supports following getter functions.
get_analog_mode
Gets the threshold voltages of converting analog inputs to digital.get_decoder
Gets the decoder configuration for the given ID.Parameters
integer
required
Target channel
allowed values:1, 2
get_pattern_generator
Gets the configuration for a given pattern generator ID.Parameters
integer
required
Target channel
allowed values:1, 2
get_pin deprecated
Gets the the states of Logic Analyzer's digital pins.get_pin is deprecated, use get_pin_mode to get the state of digital pins
Parameters
integer
required
Target pin
allowed values:Moku:Lab Moku:Go 1 to 16 Moku:Pro
get_pins deprecated
Gets the the states of Logic Analyzer's digital pins.get_pins is deprecated, use get_pin_mode to get the state of digital pins
get_pin_mode
Gets the state of Logic Analyzer's digital pin.Parameters
integer
required
Target pin
allowed values:Moku:Lab Moku:Go 1 to 16 Moku:Pro
get_source
Gets the type of Logic Analyzer's input source.get_timebase
Gets the span and offset for the configured timebaseget_trigger
Gets the current trigger configuration.Response includes edge, holdoff, mode, nth_event, polarity, source, type, width, width_condition