Public Member Functions | Public Attributes
io_test.IoTest Class Reference

List of all members.

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

Detailed Description

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 38 of file io_test.py.


Constructor & Destructor Documentation

def io_test.IoTest.__init__ (   self,
  device_SN 
)

Definition at line 60 of file io_test.py.


Member Function Documentation

def io_test.IoTest.analog_state_callback (   self,
  msg 
)

Definition at line 85 of file io_test.py.

def io_test.IoTest.check_analog_inputs (   self,
  output_values 
)

Definition at line 131 of file io_test.py.

def io_test.IoTest.check_digital_inputs (   self,
  output_values 
)

Definition at line 101 of file io_test.py.

def io_test.IoTest.digital_state_callback (   self,
  msg 
)

Definition at line 89 of file io_test.py.

def io_test.IoTest.ramp (   self)

Definition at line 194 of file io_test.py.

def io_test.IoTest.run_test (   self)

Definition at line 201 of file io_test.py.

def io_test.IoTest.test_analog_io_case (   self,
  output_values 
)

Definition at line 151 of file io_test.py.

Definition at line 157 of file io_test.py.

def io_test.IoTest.test_digital_io_case (   self,
  output_values 
)

Definition at line 114 of file io_test.py.

Definition at line 120 of file io_test.py.

def io_test.IoTest.test_PWM_o_case (   self,
  output_values 
)

Definition at line 176 of file io_test.py.

Definition at line 188 of file io_test.py.


Member Data Documentation

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.

Definition at line 60 of file io_test.py.


The documentation for this class was generated from the following file:


sr_ronex_drivers
Author(s): Ugo Cupcic, Toni Oliver, Mark Pitchless
autogenerated on Fri Aug 28 2015 13:12:23