High Voltage GridLab/Protection and Automation Test Bench/Switchbox
(Difference between revisions)
Line 10: | Line 10: | ||
==== PC Software ==== | ==== PC Software ==== | ||
− | * Send request to read switches and LEDs only if last request was answered or at least with a small delay | + | * Send request to read switches and LEDs only if last request was answered or at least with a small delay in between. |
* Implement the answering of bad messages with a negative acknowledge. | * Implement the answering of bad messages with a negative acknowledge. | ||
* Handle errors (message answered with a negative acknowledge). | * Handle errors (message answered with a negative acknowledge). | ||
+ | * By setting all relays to one side lots of setRelay messages are send. Sending only one setAllRelay message would be more appropriate. | ||
==== PIC ==== | ==== PIC ==== |
Revision as of 14:56, 2 June 2014
|
This is the switchbox of the Protection and Automation Test Bench.
Todo
Software
Protocol
- Create negative acknowledge message (NACK)
PC Software
- Send request to read switches and LEDs only if last request was answered or at least with a small delay in between.
- Implement the answering of bad messages with a negative acknowledge.
- Handle errors (message answered with a negative acknowledge).
- By setting all relays to one side lots of setRelay messages are send. Sending only one setAllRelay message would be more appropriate.
PIC
- Implement the answering of bad messages with a negative acknowledge.
- Handle errors (message answered with a negative acknowledge).