当前位置:网站首页>LabVIEW master VI freeze pending
LabVIEW master VI freeze pending
2022-07-24 04:32:00 【LabVIEW development】
LabVIEW Lord VI Freeze pending
When running LabVIEW MainVI when , It freezes unexpectedly 、 Suspend or pause .
Doubt one LabVIEW Son VI It takes a long time to execute .
Solution
One possible cause of this problem is a particular child VI Frozen the master VI.
Use Highligh texecution Run code .
Isolate the problematic child VI after , Determiner VI Reasons for not continuing execution . This may be caused by the following reasons , Not just :
VI The setting in the property will result in the calling sub VI Pause the whole VI.
Open sub VI. then , Select File >>VI attribute .
from Category Select... From the drop-down list Execution, As shown below :

edit
Add picture comments , No more than 140 word ( Optional )
Executable files
Make sure it's not selected Suspendwhen called, Then press ok .

edit
Add picture comments , No more than 140 word ( Optional )
Run the main... Again VI To check whether the problem has been solved .
There is no condition terminal defined while loop . It is not recommended to VI Use in while loop , Because they will lead to the Lord VI Unexpected freeze . however , If there is no other way to complete a task , You can use global variables to stop in the child VI Running in while loop . The following code shows how to do this . Lord VI The architecture consists of two parallel while Cycle composition . The first one is dedicated to updating global variables , The second one is dedicated to running sub VI. This paradigm is inefficient , Therefore, it should be used only when strictly required .
The main VI:

edit
Add picture comments , No more than 140 word ( Optional )
Son VI:

edit
Add picture comments , No more than 140 word ( Optional )
Set incorrect event structure .
Ensure that there is no event structure waiting for events .
Make sure that the event structure is placed in the loop , In case you need to detect events many times . otherwise , The event structure will only register the first control change .
Functions that wait indefinitely for operations .
By default , A large amount of data is imported into sub VI.
There is a problem with the driver . for example , When VISA Function freeze MainVI when .
LabVIEW、LabVIEW Development 、LabVIEW Programming 、LabVIEW Program
Examples and information mentioned above , Both in word In the attachment in , Click to download . Learn more , Contact us .
LabVIEW Lord VI Freeze pending - Beijing Hanwen Wangxing Technology Co., Ltd (bjcyck.com)
边栏推荐
猜你喜欢

Energy principle and variational method note 11: shape function (a dimension reduction idea)

Up sampling method (deconvolution, interpolation, anti pooling)

-Bash: wget: command not found

Qt5.14_MinGW/MSVC下实现VS2019面板自由拖拽组合功能

Nautilus 3.19.2 adds momentum to Gnome

数组力扣(持续更新)
[hope to answer] the data cannot be synchronized correctly

The problem of monkeys eating peaches in classic exercises of C language

Nautilus 3.19.2为Gnome增添动力

What are the 10 live demos showing? It's worth watching again whether you've seen it or not
随机推荐
Upgrade POI TL version 1.12.0 and resolve the dependency conflict between the previous version of POI (4.1.2) and easyexcel
Learn more about the new features of ES6 in grain mall of e-commerce project
[hope to answer] the data cannot be synchronized correctly
C语言经典练习题
Up sampling method (deconvolution, interpolation, anti pooling)
一次线上事故,我顿悟了异步的精髓
C language: bubble sorting
Is cross modal semantic alignment optimal under comparative learning--- Adaptive sparse attention alignment mechanism IEEE trans MultiMedia
How long has it been since you changed your cell phone?
Privacy protection federal learning framework supporting most irregular users
Application scenarios and schemes of common mechanical equipment safety virtual simulation system
The second anniversary of opengauss' open source, cracking the pain point of database ecology
An online accident, I suddenly realized the essence of asynchrony
ECB interface is also mdsemodet in essence
Redis sentinel mode, master node check script
C language: selective sorting method
Live video | 37 how to use starrocks to realize user portrait analysis in mobile games
The judges of C language classic exercises score the highest and lowest to get an average score
C语言:选择排序法
IP second experiment mGRE OSPF