Hardware manual
89
void Form1::startButtonClicked () [protected, slot]
Function called after "Start" button click.
Start button clicked. According to selections in checkbox, chosen baud rate and selections of device it
calls others functions in right order. This function automatically opens and closes given device,
allocates and frees memory.
void Form1::stopButtonClicked () [protected, slot]
Function called after "Stop" button click.
Stop button clicked. Function stops detection of the hall position table and index mark.
void Form1::checkBox1ButtonClicked () [protected, slot]
Function called after clicked on the "Use on board phase tables" checkbox.
Function checks wheater checkbox for board was selected.
void Form1::quitMenuFileClicked () [protected, slot]
Function called after File->Quit menu click.
Quit Menu clicked. Function quits from the program.
void Form1::aboutMenuFileClicked () [protected, slot]
Function called after Help->About menu click.
About Menu clicked. Function shows information dialog about the program.
int Form1::initport (int fd) [private]
Initializes given port.
Function initialize given device/port.
Parameters:
fd descriptor to device.
Returns:
0 if there were no errors.