NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

求助-抽取数组(急问)

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

请高人指点!

 

Unbenannt.jpg

0 项奖励
1 条消息(共 3 条)
3,483 次查看
补充:如果在抽取数组前另加一个抽取数组,然后在新数组输出端右键创建显示控件-降采样的数组,则可正常显示。
0 项奖励
2 条消息(共 3 条)
3,470 次查看

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, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
3 条消息(共 3 条)
3,463 次查看