DAQ session error within a guide interface
显示 更早的评论
I am currently building a gui that contains controls for both image acquisition and national instruments data acquisition (sometimes simultaneously). I successfully built the controls for the image acquisition part. I can preview, capture, and process images from my video stream, and view them in real time. I went on to add the daq code and ran into the following error:
No appropriate method, property, or field preview for class daq.ni.Session
This occurs when I try to access any part of the handles structure after issuing a daq command. I check handles and all the fields appear to be present. I created the daq session as handles.s = daq.createSession('ni'). I am sure I am using the handles structure incorrectly but I cannot figure it out.
回答(1 个)
Sean de Wolski
2014-3-20
编辑:Sean de Wolski
2014-3-20
0 个投票
preview is an option to preview an image, it'll be different for daq. I don't have access to any hardware right now but you'll be able to find your method of choice in here, perhaps startbackground?
类别
在 帮助中心 和 File Exchange 中查找有关 Image Data Acquisition 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!