From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview运行一段时间,窗口冻住了!冻结期间数据没有了。

这是我的labview窗口,这个系统是控制一根杆做周期性的平移运动,位移时间曲线(NCDT vs. t)如图中所示:

但是不知道为何,该系统运行一段时间后,总会突然冻结住(有时候运行1000秒,有时运行了500000秒才冻住,所有示数都停止变化,就像截了图一样)。当我移动鼠标点击这个控制窗口的时候,就会突然“激活”,时间跳回正确的时间(比如运行到50000秒的时候窗口冻住了,又过了10000秒,我移动鼠标点击窗口,它被“激活”,时间跳到60000秒)。而在冻结的期间,所有输出到txt的数据都没有了....

至于冻结期间杆有没有按照预设路线运动,不是很清楚,感觉应该完全停止了,因为控制杆运动的马达没有发出声响。


发现冻结后查看任务管理器,显示labview仍在运行,内存使用也不多,但是CPU占用率达到100%。

这是一个控制一根杆平移运动来拉伸材料,测量材料特性的系统。所以这个往复的周期实验不能停一段时间,然后接着再重新启动,这样数据就没有意义。

希望各位大侠能给点思路究竟是哪里出问题了,十分感谢!

 

017b9fd97e3926f16c9738fbd59f90fadf80bf06ab.jpg

0 Kudos
Message 1 of 4
(2,585 Views)
It is senseless to just post an image of a front panel. You need to attach your VI. And please, this is an English forum. There is a dedicated Chinese board.

p.s. Why would you post an image from your camera anyway? Use the printscreen button and save as a png file when you must attach images.
0 Kudos
Message 2 of 4
(2,560 Views)

The dedicated Chinese board is censored.

Post takes 24 hours to show up on week day; upto 3 days on weekend.

 

It has only 9 topics for the whole December.

 

So it's a good ideal to post here in English forum.

 

George Zou
0 Kudos
Message 3 of 4
(2,522 Views)

gzliyiran:

 

Your front panel is in English, so does LabVIEW, and OS.

If you post in English, you will get more help.

 

多半是你的程序有错,请你把VI 贴上来.

 

 

 

George Zou
0 Kudos
Message 4 of 4
(2,513 Views)