WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

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
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Applications  
See Also
Tech Notes
Related Guides
Related Links
History
Cite this Page

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:

Read one item from the device:

Scope  (3)

Open a random number generator with a specified random seed:

Read from the device:

Open a device after discovering it:

Query the properties of an open device:

Obtain a property value:

Applications  (3)

Open the default camera attached to your system and capture a frame:

Open a serial port with a specified name:

Connect to a weather station device:

Use the returned DeviceObject to configure its barometer bricklet UID and read in the ambient temperature:

Tech Notes

Wolfram Research (2014), DeviceOpen, Wolfram Language function, https://reference.wolfram.com/language/ref/DeviceOpen.html.

Text

Wolfram Research (2014), DeviceOpen, Wolfram Language function, https://reference.wolfram.com/language/ref/DeviceOpen.html.

CMS

Wolfram Language. 2014. "DeviceOpen." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DeviceOpen.html.

APA

Wolfram Language. (2014). DeviceOpen. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DeviceOpen.html

BibTeX

@misc{reference.wolfram_2025_deviceopen, author="Wolfram Research", title="{DeviceOpen}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/DeviceOpen.html}", note=[Accessed: 24-November-2025]}

BibLaTeX

@online{reference.wolfram_2025_deviceopen, organization={Wolfram Research}, title={DeviceOpen}, year={2014}, url={https://reference.wolfram.com/language/ref/DeviceOpen.html}, note=[Accessed: 24-November-2025]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /