DeviceOpen

DeviceOpen ["devclass"]

opens a connection to the first available device in the class specified by "devclass".

DeviceOpen ["devclass", spec ]

opens a connection to the particular device defined by spec .

DeviceOpen [ device ]

opens a connection to an existing device specified by a DeviceObject .

Details

Examples

open all close all

Basic Examples    (1)

Open a demo device:

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

Read one item from the device:

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

Scope    (3)

Applications    (3)

Introduced in 2014
(10.0)