Gocator API > Go2 > Classes > Go2Sensor > Functions > Go2Sensor_SetRole

Gocator 1x00 API | Contents | Reference | Previous | Up | Next

Go2Sensor_SetRole
Functions
Description

Sets the sensor's current role within the system.

C

    Go2Status Go2Sensor_SetRole(Go2Sensor sensor, Go2SensorRole role);

Parameters

Parameters | Description
Go2Sensor sensor | Go2Sensor object.
Go2SensorRole role | New sensor role.

Returns

Operation status.

Remarks

The role of the main sensor cannot be altered.

File

Go2Sensor.h

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.

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