DeviceRead
This feature is not supported on the Wolfram Cloud.

DeviceRead[devobj]
reads a single default item from the open device corresponding to the specified DeviceObject.

DeviceRead["devclass"]
reads from the default device in the class .

DeviceRead[device,param]
reads the parameter param from the specified device.

DeviceRead[device,{param1,param2,}]
reads the list of parameters from the specified device.

DetailsDetails

  • DeviceRead is a blocking function; when called, it communicates with the device and does not return until it has the data it needs.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Open a demo device and read from it:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Read a particular parameter:

In[3]:=
Click for copyable input
Out[3]=

Read a parameter from a device of the class:

In[1]:=
Click for copyable input
Out[1]=

Read a list of parameters:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)