Sigma – INFICON SQC-122 Thin Film Deposition Controller Communications Manual User Manual
Page 19
1318 Duff Drive
?
Fort Collins, Colorado 80524
?
(970) 416-9660
?
Fax (970) 416-9330
?
Sigma
instruments
SendGetAllData
Parameters: None.
Return : 16 Bit Integer, always returns a 1.
SendGetAllData is used to get the data from the unit. This function must precede
the use of the Get122Data function.
Get122Data
Parameters: Pointer to an Measurement Data Structure.
Return : 16 Bit Integer, always returns a 1.
Get122Data is used to retrieve the data from the dll. The parameters are passed
through the Measurement Data Structure. If the TimeStamp parameter of the
AllData structure returned is equal to -1 then the unit does not have new data
available.
Example:
ReturnVal = SendGetAllData()
tell unit to transfer AllData
do while(ChkCommDone == -1)
wait for comm to finish
ReturnVal = Get122Data(&MeasurementDataStruct) Measurement
DataStruct contains run info
if (AllData.TimeStamp != -1) then
if new data available
ProcessData()
then graph or save data
while(Running)