beautypg.com

Command 116 request long sensor name – Vernier LabPro User Manual

Page 61

background image

Revision Date: 08/02/02

LabPro Technical Manual

61

Command 116

Request Long Sensor Name

This command returns the long sensor name in a format the calculator can handle. This command requires
the channels of interest be initialized first with Command 1 (e.g., s{1,1,1}). This command is only used
with an Auto-ID sensor on a desired channel.

Syntax: {116,channel}

Parameter List:
channel

– indicates which channel on which this command operates. The possible values are

Channel number

Description

1 – 4

Analog channels 1 through 4

11, 12

Sonic Channel 1, Sonic Channel 2

Return values: This command returns a 20 character string that can be read by a calculator.

Example 1: Request the sensor name (long form) of the Auto-ID sensor on analog channel 1. In the case of
the calculator, store the data in variable LN.
Computer

Calculator

s{116,1}

:Send({116,1})
:Get(LN)

In a terminal session, the host-LabPro conversation appears as follows (changing probes after every
Command 116):
Host

LabPro

s{116,1}

"VOLTAGE 0 TO 5(V) "

s{1,1,1,0}
s{116,1}

"PH "

s{1,1,1,0}
s{116,1}

"MICROPHONE "

s{1,1,1,0}
s{116,1}

"BAROMETER(KPA) "