Gocator API > Go2 > Classes > Go2System > Functions > Go2System_ReceiveData
Gocator 1x00 API
Go2System_ReceiveData
Description

Waits to receive a data message from the sensor's data channel.

C
Go2Status Go2System_ReceiveData(Go2System system, Go2UInt64 timeout, Go2Data* data);
Parameters
Parameters 
Description 
Go2System system 
Go2System object. 
Go2UInt64 timeout 
Timeout interval (microseconds). 
Go2Data* data 
Receives data message. 
Returns

Operation status.

Remarks

Use the Go2System_ConnectData function to start data transmissions. Do not call Go2System_ReceiveData if a callback was provided to the Go2System_ConnectData function.

File

Go2System.h

Copyright (c) 2013 by LMI Technologies Inc. All rights reserved.