[CheckCalibration]
// Script is executed only when menu item is selected
Calii=mod(Calii+1,2); // Toggle check mark
if(Calii)      // If menu item needs to be checked
{
	menu.rename(CheckId,(&Uncheck Calibration)); // Rename menu item
	menu.check(CheckId,1); // Check menu item
}
else
{
	menu.rename(CheckId,(&Check Calibration)); // Rename menu item
	menu.check(CheckId,0); // Uncheck menu item
}
return 0;


[InitCalibration]
CheckId=menu.lastid; // Get menu id of UnCheck Calibration menu item 
menu.check(CheckId,1); // Check menu item;
Calii=1;       // Initialize LabTalk variable
return 0;
