1 Channel Temperature Input [ssi_single]

Appearance

 

Overview

This is a sample that inputs the temperature from the specified channel.

Sample specification

※This is the initial value of the sample program.
 Please note that it is different from the initial value of the driver.

Program name

./ssi_simple

Sensor type

Type K

Specified channel (Channel No.)

0

Temperature unit

Celsius

Steps to Use

1. Specify the program name [./ssi_single], run the program, and a CUI (Character User Interface) menu like the one above will be displayed.
  Appearance may vary depending on software version.

2. Initialize device

 ・Specify the device name by selecting the [1 : SsiInit] command.
  Notify the device driver to start using the specified device.
  After specifying the device name, SsiInit will run and the CUI menu will be displayed again.

  

 ・Select the [2: Channel No. Set] command to specify the channel No. to be controlled.
  The specified channel No. will be used commonly for [3: SsiSetSensorType] to [7: SsiInputTemperature].

  

 ・Select the [3: SsiSetSensorType] command to specify the sensor type.
  Please specify the number of the connected sensor type.

  

 ・Select the [4: SsiGetSensorType] command to get the currently set sensor type.

  

 ・Select the [5: SsiSetTemperatureUnit] command to specify the temperature unit.
  Temperature unit that can be specified are 0: Celsius, 1: Fahrenheit.

  

 ・Select the [6: SsiGetTemperatureUnit] command to get the temperature unit.

  

3. Temperature input

 ・Select the [7: SsiInputTemperature] command to input the temperature and display the input temperature and input status.

  

4. Exit device

 ・Select the command [8:SsiExit] to notify the device driver that the use of the current device is complete.
  You can acquire data from a different device (e.g. SSI001, etc.) without terminating the program.
  After SsiExit is executed, the CUI menu will be displayed again.

  

5. Exit program

 ・Select the command [q : Quit] to terminate the program.