Public Member Functions | |
def | __init__ |
def | analog_state_callback |
def | check_analog_inputs |
def | check_digital_inputs |
def | digital_state_callback |
def | ramp |
def | run_test |
def | test_analog_io_case |
def | test_analog_ios |
def | test_digital_io_case |
def | test_digital_ios |
def | test_PWM_o_case |
def | test_PWM_outputs |
Public Attributes | |
a_state_lock | |
analog_command_publisher | |
analog_state_subscriber_ | |
average_period | |
d_state_lock | |
device_SN | |
digital_command_publisher | |
digital_state_subscriber_ | |
last_analog_state | |
last_digital_state | |
last_period_start_time | |
PWM_command_publisher | |
PWM_testing | |
success |
A class used to test the Shadow Robot ethercat board HW. For the PRODUCT_CODE = "0x05300424" 4 digital inputs/outputs/PWM outputs 4 analog inputs 2 analog outputs The digital outputs will be tested by turning on and off LEDs attached to them. The digital inputs will read back the value we set for the outputs. The PWM outputs will be set to their lower frequency, and the digital inputs used to check the on-off period The analog output 0 will be wired to analog inputs 0 and 2, output 1 to inputs 1 and 3 Keep in mind that the test is intended to be run with the LEDs attached to the digital I/Os and the correct wiring of the analog I and O
Definition at line 42 of file io_test.py.
def io_test.IoTest.__init__ | ( | self, | |
device_SN | |||
) |
Definition at line 65 of file io_test.py.
def io_test.IoTest.analog_state_callback | ( | self, | |
msg | |||
) |
Definition at line 95 of file io_test.py.
def io_test.IoTest.check_analog_inputs | ( | self, | |
output_values | |||
) |
Definition at line 141 of file io_test.py.
def io_test.IoTest.check_digital_inputs | ( | self, | |
output_values | |||
) |
Definition at line 111 of file io_test.py.
def io_test.IoTest.digital_state_callback | ( | self, | |
msg | |||
) |
Definition at line 99 of file io_test.py.
def io_test.IoTest.ramp | ( | self | ) |
Definition at line 206 of file io_test.py.
def io_test.IoTest.run_test | ( | self | ) |
Definition at line 212 of file io_test.py.
def io_test.IoTest.test_analog_io_case | ( | self, | |
output_values | |||
) |
Definition at line 164 of file io_test.py.
def io_test.IoTest.test_analog_ios | ( | self | ) |
Definition at line 170 of file io_test.py.
def io_test.IoTest.test_digital_io_case | ( | self, | |
output_values | |||
) |
Definition at line 124 of file io_test.py.
def io_test.IoTest.test_digital_ios | ( | self | ) |
Definition at line 130 of file io_test.py.
def io_test.IoTest.test_PWM_o_case | ( | self, | |
output_values | |||
) |
Definition at line 189 of file io_test.py.
def io_test.IoTest.test_PWM_outputs | ( | self | ) |
Definition at line 201 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.
Definition at line 65 of file io_test.py.