equal
deleted
inserted
replaced
35 extern wxTextCtrl *textLog; |
35 extern wxTextCtrl *textLog; |
36 |
36 |
37 /*****************************************************************************/ |
37 /*****************************************************************************/ |
38 void Call_heartbeatError(UNS8 heartbeatID) |
38 void Call_heartbeatError(UNS8 heartbeatID) |
39 { |
39 { |
40 *textLog << wxT("HeartbeatError\n"); |
40 //*textLog << wxT("HeartbeatError\n"); |
41 } |
41 } |
42 |
42 |
43 void Call_initialisation() |
43 void Call_initialisation() |
44 { |
44 { |
45 *textLog << wxT("Initialisation\n"); |
45 //*textLog << wxT("Initialisation\n"); |
46 } |
46 } |
47 |
47 |
48 void Call_preOperational() |
48 void Call_preOperational() |
49 { |
49 { |
50 *textLog << wxT("PreOperational\n"); |
50 //*textLog << wxT("PreOperational\n"); |
51 } |
51 } |
52 |
52 |
53 void Call_operational() |
53 void Call_operational() |
54 { |
54 { |
55 *textLog << wxT("Operational\n"); |
55 //*textLog << wxT("Operational\n"); |
56 } |
56 } |
57 |
57 |
58 void Call_stopped() |
58 void Call_stopped() |
59 { |
59 { |
60 *textLog << wxT("Stopped\n"); |
60 //*textLog << wxT("Stopped\n"); |
61 } |
61 } |
62 |
62 |
63 void Call_post_sync() |
63 void Call_post_sync() |
64 { |
64 { |
65 //*textLog << wxT("Post_sync\n"); |
65 //*textLog << wxT("Post_sync\n"); |
68 printf(" Read_Input: %x \n Analogue_Input1: %d \n Analogue_Input2: %d \n", Read_Inputs_8_Bit[0], Read_Analogue_Input_16_Bit[0], Read_Analogue_Input_16_Bit[1]); |
68 printf(" Read_Input: %x \n Analogue_Input1: %d \n Analogue_Input2: %d \n", Read_Inputs_8_Bit[0], Read_Analogue_Input_16_Bit[0], Read_Analogue_Input_16_Bit[1]); |
69 } |
69 } |
70 |
70 |
71 void Call_post_TPDO() |
71 void Call_post_TPDO() |
72 { |
72 { |
73 *textLog << wxT("Post_TPDO\n"); |
73 //*textLog << wxT("Post_TPDO\n"); |
74 } |
74 } |
75 |
75 |
76 void Call_storeODSubIndex(UNS16 wIndex, UNS8 bSubindex) |
76 void Call_storeODSubIndex(UNS16 wIndex, UNS8 bSubindex) |
77 { |
77 { |
78 printf("StoreODSubIndex : %4.4x %2.2x\n", wIndex, bSubindex); |
78 printf("StoreODSubIndex : %4.4x %2.2x\n", wIndex, bSubindex); |
79 *textLog << wxT("StoreODSubIndex :\n"); |
79 //*textLog << wxT("StoreODSubIndex :\n"); |
80 } |
80 } |