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

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

采集多个信号的时候,如何只停止采集其中一个信号而继续采集其他信号?

已解决!
转到解答

用Labview While Loop 采集多个信号,如何使其中的一个信号在达到停止条件之后,只停止采集这一个信号而继续采集其他信号?

0 项奖励
1 条消息(共 5 条)
2,460 次查看
解答
已被主题作者 Jason2018 接受

Hi,

最简单的方法是继续多路采集,然后利用数组操作,把某一路信号从多路信号中删掉,或者替换为“NaN”让图表类控件不显示。

 

如果你要节省硬件资源和系统开销,从而需要关闭某一路采集信号,那么需要硬件支持。普通的DAQ是不支持该操作的。

 

Good Luck!

 

Xiaohui Wang

2 条消息(共 5 条)
2,420 次查看

谢谢回复,我试了一下把两个lvdt信号合成一个数组,但是删除其中一个信号之后,不知道应该怎么显示剩下的信号,,请问可以给个示意图片吗?感谢!

0 项奖励
3 条消息(共 5 条)
2,391 次查看

请问具体怎么利用数组操作,把某一路信号从多路信号中删掉,然后显示在图表中?能给个例子VI照片吗?谢谢啦(我的labview版本比较低,不一定能打开VI)

0 项奖励
4 条消息(共 5 条)
2,381 次查看

我上传一下我的Labview VI和截图。我有三个问题想了很久没解决:

#1. How to delete one of the two channels? The reason why I want to delete it is that I want to seperate the two channels and use each channel to compare with the constant I set to decide whether to write a digital output to a corresponding device(line 5 or line 6).


#2. How to count iteration of signal 1 when "less-than sign" outputs false without stop the while loop?


#3. How to give output signal to each of the two devices(line 5 and line 6) respectively? Let's say comparision of signal 1 gives digital output to line 5, while comparision of signal 2 gives digital output to line 6.

discussion VI Cycles.png

0 项奖励
5 条消息(共 5 条)
2,369 次查看