Set the connected sensor type.
Ret = SsiSetSensorType ( Id , ChannelNo , SensorType )
Id
[ C, C++: short ] [ Python: ctypes.c_short ]
Specify the device ID retrieved from SsiInit.
ChannelNo
[ C, C++: short ] [ Python: ctypes.c_short ]
CPSN-SSI-4C is common setting for all channels. Please specify 0.
SensorType
[ C, C++: short ] [ Python: ctypes.c_short ]
Specify the sensor type.
Definition |
Value [Dec] |
Description |
CSSI_SENSOR_TYPE_J |
0 |
Type J |
CSSI_SENSOR_TYPE_K |
1 |
Type K |
CSSI_SENSOR_TYPE_E |
2 |
Type E |
CSSI_SENSOR_TYPE_N |
3 |
Type N |
CSSI_SENSOR_TYPE_R |
4 |
Type R |
CSSI_SENSOR_TYPE_S |
5 |
Type S |
CSSI_SENSOR_TYPE_T |
6 |
Type T |
Ret [ C, C++: long ] [ Python: ctypes.c_long ]
Definition |
Value [Dec] |
Description |
SSI_ERR_SUCCESS |
0 |
Succeeded |
SSI_ERR_DLL_INVALID_ID |
10001 |
Invalid device id. |
SSI_ERR_DLL_CALL_DRIVER |
10002 |
Can not call driver (ioctl failed). |
SSI_ERR_SYS_CH_NO |
20100 |
Channel No. is outside the setting range. |
SSI_ERR_SYS_SENSOR_TYPE |
20102 |
Sensor type is outside the setting range. |
The others (See also: Details of Error Code)
Type K (CSSI_SENSOR_TYPE_K)
Set the connected sensor type.
Set the connected sensor type to Type K.
C, C++ |
long
Ret; |
Python |
Ret = ctypes.c_long() |