User Manual
USB PT-104 Data Logger Programmer's Guide 7
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved. usbpt104pg.en
2.6
UsbPt104GetValue
PICO_STATUS UsbPt104GetValue (
short handle,
USBPT104_CHANNELS channel,
long * value,
short filtered
)
Once you open the driver and define some channels, the driver begins to take
continuous readings from the PT-104. When you call this routine, it immediately sets
data to the most recent reading for the specified channel.
The scaling of measurements is as follows:
Range
Scaling
Temperature
value × 1/1000 °C
Voltage (0 to 2.5 V)
value × 10 nV
Voltage (0 to 115 mV)
value × 1 nV
Resistance
value × 1 m
Arguments:
handle, identifies the device from which to get data
channel, the number of the channel to read, from 1 to 4 in
differential mode or 1 to 8 in single-ended mode
value, output: an array where the sample values will be stored
filtered, if set to TRUE, the driver returns a low-pass filtered value
of the temperature. The time constant of the filter depends on the
value of filter_factor for this channel, and on how many channels
are active
Returns:
defined in picoStatus.h