User Guide
- 44
–
{
if ( strcmp(RdPtr, "Err") == 0) {
MessageDlg("Command is wrong", mtError, TMsgDlgButtons() <<
mbCancel, NULL);
Screen->Cursor = crDefault;
Cmd33->Enabled = true;
Timer1->Enabled = true;
Application->ProcessMessages();
return;
} else {
LG_diameter = atof(RdPtr);
Edit9->Text = FloatToStrF(LG_diameter, ffFixed, 12, 3);
Screen->Cursor = crDefault;
Cmd33->Enabled = true;
Timer1->Enabled = true;
Application->ProcessMessages();
return;
}
}
}
}
if (TimeOut)
MessageDlg("No response from Unit", mtError, TMsgDlgButtons() <<
mbCancel, NULL);
Screen->Cursor = crDefault;
Cmd33->Enabled = true;
Timer1->Enabled = true;
Application->ProcessMessages();
Bit
0
1
2
3
4
5
6
7
Alarm
Lamp Shutter Home Lamp
Ready
Lock Calibration Exposure
Fault
Status
0 Off
Off
Close
Pass
No
Off
No
No
1 On
On
Open
Fault
Yes
On
Yes
Yes
Table 7 Unit Status