DeviceReadList

DeviceReadList[device,n]

从指定的设备读取 n 次,返回结果的列表.

DeviceReadList[device,n,param]

读取参数 param.

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

读取参数列表 parami.

更多信息

  • DeviceReadList 尽可能快地在设备上有效执行 n 次连续读取.
  • DeviceReadList[device,n] 从设备中读取默认参数.
  • DeviceReadList 是一个阻断函数;它在被调用时与设备进行通信,但直到有它需要的数据时才返回.
  • 设备可以由 DeviceObject 或表示设备类别的字符串指定.

范例

打开所有单元关闭所有单元

基本范例  (1)

打开演示设备:

按顺序读取演示设备项目的指定数值:

重复读取指定参数:

或多个参数:

应用  (1)

打开与系统连接的默认摄像头:

设置适当的帧速率,并拍摄的四个帧的序列:

Wolfram Research (2014),DeviceReadList,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DeviceReadList.html.

文本

Wolfram Research (2014),DeviceReadList,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DeviceReadList.html.

CMS

Wolfram 语言. 2014. "DeviceReadList." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/DeviceReadList.html.

APA

Wolfram 语言. (2014). DeviceReadList. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/DeviceReadList.html 年

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_devicereadlist, organization={Wolfram Research}, title={DeviceReadList}, year={2014}, url={https://reference.wolfram.com/language/ref/DeviceReadList.html}, note=[Accessed: 18-November-2024 ]}