WOLFRAM

DeviceReadList[device,n]

reads from the specified device n times, returning a list of the results.

DeviceReadList[device,n,param]

reads the parameter param.

DeviceReadList[device,n,{param1,param2,}]

reads the list of parameters parami.

Details

  • DeviceReadList effectively performs n sequential reads on the device, as quickly as possible.
  • DeviceReadList[device,n] reads the default parameter from the device.
  • DeviceReadList is a blocking function; when called, it communicates with the device and does not return until it has the data it needs.
  • A device can be specified either by a DeviceObject or by a string representing a device class.

Examples

open allclose all

Basic Examples  (1)Summary of the most common use cases

Open the demo device:

Out[1]=1

Sequentially read the specified number of items from a demo device:

Out[2]=2

Repeatedly read a specified parameter:

Out[3]=3

Or multiple parameters:

Out[4]=4

Applications  (1)Sample problems that can be solved with this function

Open the default camera attached to your system:

Out[1]:=1

Set an appropriate frame rate and capture a sequence of four frames:

Out[3]:=3
Wolfram Research (2014), DeviceReadList, Wolfram Language function, https://reference.wolfram.com/language/ref/DeviceReadList.html.
Wolfram Research (2014), DeviceReadList, Wolfram Language function, https://reference.wolfram.com/language/ref/DeviceReadList.html.

Text

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

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

CMS

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

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

APA

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

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

BibTeX

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

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

BibLaTeX

@online{reference.wolfram_2025_devicereadlist, organization={Wolfram Research}, title={DeviceReadList}, year={2014}, url={https://reference.wolfram.com/language/ref/DeviceReadList.html}, note=[Accessed: 08-July-2025 ]}

@online{reference.wolfram_2025_devicereadlist, organization={Wolfram Research}, title={DeviceReadList}, year={2014}, url={https://reference.wolfram.com/language/ref/DeviceReadList.html}, note=[Accessed: 08-July-2025 ]}