求助-抽取数组(急问)

左岸 1年前 107次点击 来自 问答

程序运行无错,但最后无数据显示。采用探针检查,进入数组后无输出。程序前端是接入7个全局虚拟通道,连接了7个传感器采集电压值,上部是显示在表格中并写入文件。

请高人指点!

 

Unbenannt.jpg

  NI中文技术论坛

4 条回复
左岸 1年前
补充:如果在抽取数组前另加一个抽取数组,然后在新数组输出端右键创建显示控件-降采样的数组,则可正常显示。
ian_fung 1年前

I see that you are decimating the 1D array (which I believe is an array of 7-elements) values that acquired by the DAQmx Read function.

 

Since you mentioned that there are seven (7) analog inputs, are you using the physical channels as i.e. Dev1\ai0:6?

If so, you should get a returned 1D array of 7-elements (i.e. 7-channels).

 

You may then index each of the 7-elements out for further processes. 

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
依恩与LabVIEW
LVVILIB.blogspot.com

©2017 Powered by LabVIEW社区 - To Be Better
Any questions please contact us:confidante@labview.help