Displays instructions for user to run test, makes sure part is working. More...
Public Member Functions | |
def | __init__ |
def | check_drop |
Verify that drop was OK, move to next drop. | |
def | display_drop_structs |
Display instructions for drop in window. | |
def | is_ok |
OK if no dropped packets and motors running. | |
def | is_pass |
Pass if OK and we've completed all drops w/o canceling. | |
def | on_cancel |
Cancel test, report failure. | |
def | on_continue |
Proceed to next drop, or pass if done. | |
def | post_drop_check |
Load post-drop instructions, or pass drop test. | |
def | send_results |
Send results to qualification manager. | |
def | start_test |
Load pre-drop instructions if any, or proceed. | |
def | test_error_service_call |
Error, send failure data to manager. | |
Public Attributes | |
complete | |
data_sent | |
drops | |
postdrop | |
predrop | |
result_service | |
test_name | |
total | |
Private Member Functions | |
def | _check_msgs |
Checks diagnostics for EtherCAT Master, makes sure OK. | |
def | _diag_cb |
Callback for diagnostics msgs. | |
def | _write_drop_data |
Write data from each drop. | |
def | _write_result |
Write data from entire drop test in HTML. | |
def | _write_summary |
Write summary of drop test. | |
Private Attributes | |
_cancel_button | |
_canceled | |
_continue_button | |
_current_drop | |
_current_drop_count | |
_diag_sub | |
_drop_packets | |
_eth_master_ok | |
_html_window | |
_msgs | |
_mutex | |
_panel | |
_sizer | |
_state |
Displays instructions for user to run test, makes sure part is working.
Definition at line 93 of file drop_test.py.
def drop_test.DropTestFrame.__init__ | ( | self, | |
parent, | |||
test_name, | |||
pre, | |||
post, | |||
drops | |||
) |
Definition at line 94 of file drop_test.py.
def drop_test.DropTestFrame._check_msgs | ( | self | ) | [private] |
Checks diagnostics for EtherCAT Master, makes sure OK.
Definition at line 205 of file drop_test.py.
def drop_test.DropTestFrame._diag_cb | ( | self, | |
msg | |||
) | [private] |
Callback for diagnostics msgs.
Definition at line 192 of file drop_test.py.
def drop_test.DropTestFrame._write_drop_data | ( | self | ) | [private] |
Write data from each drop.
Definition at line 235 of file drop_test.py.
def drop_test.DropTestFrame._write_result | ( | self, | |
msg = '' |
|||
) | [private] |
Write data from entire drop test in HTML.
Definition at line 246 of file drop_test.py.
def drop_test.DropTestFrame._write_summary | ( | self, | |
msg = '' |
|||
) | [private] |
Write summary of drop test.
Definition at line 257 of file drop_test.py.
def drop_test.DropTestFrame.check_drop | ( | self | ) |
Verify that drop was OK, move to next drop.
Definition at line 280 of file drop_test.py.
def drop_test.DropTestFrame.display_drop_structs | ( | self | ) |
Display instructions for drop in window.
Definition at line 307 of file drop_test.py.
def drop_test.DropTestFrame.is_ok | ( | self | ) |
OK if no dropped packets and motors running.
Definition at line 227 of file drop_test.py.
def drop_test.DropTestFrame.is_pass | ( | self | ) |
Pass if OK and we've completed all drops w/o canceling.
Definition at line 231 of file drop_test.py.
def drop_test.DropTestFrame.on_cancel | ( | self, | |
event | |||
) |
Cancel test, report failure.
Definition at line 162 of file drop_test.py.
def drop_test.DropTestFrame.on_continue | ( | self, | |
event | |||
) |
Proceed to next drop, or pass if done.
Definition at line 147 of file drop_test.py.
def drop_test.DropTestFrame.post_drop_check | ( | self | ) |
Load post-drop instructions, or pass drop test.
Definition at line 269 of file drop_test.py.
def drop_test.DropTestFrame.send_results | ( | self, | |
test_result | |||
) |
Send results to qualification manager.
Definition at line 184 of file drop_test.py.
def drop_test.DropTestFrame.start_test | ( | self | ) |
Load pre-drop instructions if any, or proceed.
Definition at line 261 of file drop_test.py.
def drop_test.DropTestFrame.test_error_service_call | ( | self, | |
except_str = '' |
|||
) |
Error, send failure data to manager.
Definition at line 174 of file drop_test.py.
drop_test.DropTestFrame::_cancel_button [private] |
Definition at line 94 of file drop_test.py.
drop_test.DropTestFrame::_canceled [private] |
Definition at line 94 of file drop_test.py.
Definition at line 94 of file drop_test.py.
drop_test.DropTestFrame::_current_drop [private] |
Definition at line 94 of file drop_test.py.
Definition at line 94 of file drop_test.py.
drop_test.DropTestFrame::_diag_sub [private] |
Definition at line 94 of file drop_test.py.
drop_test.DropTestFrame::_drop_packets [private] |
Definition at line 94 of file drop_test.py.
drop_test.DropTestFrame::_eth_master_ok [private] |
Definition at line 94 of file drop_test.py.
drop_test.DropTestFrame::_html_window [private] |
Definition at line 94 of file drop_test.py.
drop_test.DropTestFrame::_msgs [private] |
Definition at line 94 of file drop_test.py.
drop_test.DropTestFrame::_mutex [private] |
Definition at line 94 of file drop_test.py.
drop_test.DropTestFrame::_panel [private] |
Definition at line 94 of file drop_test.py.
drop_test.DropTestFrame::_sizer [private] |
Definition at line 94 of file drop_test.py.
drop_test.DropTestFrame::_state [private] |
Definition at line 94 of file drop_test.py.
Definition at line 94 of file drop_test.py.
Definition at line 94 of file drop_test.py.
Definition at line 94 of file drop_test.py.
Definition at line 94 of file drop_test.py.
Definition at line 94 of file drop_test.py.
Definition at line 94 of file drop_test.py.
Definition at line 94 of file drop_test.py.
Definition at line 94 of file drop_test.py.