DeviceConfigure

DeviceConfigure[device,config]

configures the specified device according to config.

Details

  • The configuration specification config is often a list of rules or an association of values.
  • DeviceConfigure typically changes device properties.
  • A device can be specified either by a DeviceObject or by a string representing a device class.
  • DeviceConfigure can be called multiple times for a given device.
  • DeviceConfigure[device,config] returns config, even if for some reason the operation fails.

Examples

open allclose all

Basic Examples  (1)

Use DeviceConfigure to set the buffer length for a demo device:

In[1]:=
Click for copyable input

Verify the setting:

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

Applications  (3)

Properties & Relations  (1)

See Also

DeviceOpen  Devices  FindDevices

Tutorials

Introduced in 2014
(10.0)