"Vernier"
A full list of compatible sensors can be found on the Vernier website.
Opening the Device

DeviceOpen["Vernier"]
opens the first available Vernier sensor.
DeviceOpen[dev]
opens the Vernier sensor for the DeviceObject dev.
Configuring the Device

-
dt can be the number of seconds or a Quantity object representing time.
-
dt must lie between the "MinMeasurementInterval" and "MaxMeasurementInterval" device properties.
DeviceConfigure[dev,"MeasurementInterval"dt]
configures the device to take measurements at time interval dt.
Device Properties

-
Properties for Vernier sensor device objects include:
-
"SensorID" integer that identifies the type of sensor "SensorName" name of the sensor "SensorDescription" description of the sensor "MeasurementInterval" time between measurements "MinMeasurementInterval" minimum configurable time between measurements "MaxMeasurementInterval" maximum configurable time between measurements "ProbeType" type of probe attached "BufferLength" length of sensor buffer -
Multiple sensors of the same type will show up as different devices but share the same "SensorID".
-
Typical values for "ProbeType" include "Analog 10V", "Heat Pulser" and "Photo Gate".
Reading Data

-
DeviceRead returns the sensor value as a Quantity.
-
The device buffer stores up to dev["BufferLength"] values from the sensor.
-
DeviceReadBuffer returns all of the values currently in the buffer, up to dev["BufferLength"] values.
-
DeviceReadBuffer returns the sensor values from the buffer as a QuantityArray.
DeviceRead[dev]
reads the current value from dev.
DeviceReadBuffer[dev]
reads all values in the device buffer.
Related Guides
History
Introduced in 2017 (11.1)