LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

main program freeze when i change the position of the subVI`s front panel

Hello everyone,

 

I have a main program that read DATA_1 from data socket continuously. In this main program, i call out a subVI through VI Reference. My problem is, when I move the front panel of the subVI around, my main program will be freeze. Then DATA_1 will show 0 Value altough my source data isnt 0.It happen only around less 1second and after that the value of DATA_1 will be back to my actual value.

 

It only happen when I move from 1 corner to another(bigger distance). When the distance is short, the main program doesnt hang. 

 

I tried changing the Window Behavior of the subVI. But it doesnt solve my problem.

 

The following is the  Window Appearance Setting for my subVI.

17331iEB430FEDDC680E83

 

Anyone know how can I solve this problem?Thanks

 

YehChia

0 Kudos
Message 1 of 3
(2,699 Views)

Hi YehChia,

 

Can you please post these two VIs.

 

 

Thanks,

Christian

0 Kudos
Message 2 of 3
(2,673 Views)

@yehchia wrote:

Hello everyone,

 

I have a main program that read DATA_1 from data socket continuously. In this main program, i call out a subVI through VI Reference. My problem is, when I move the front panel of the subVI around, my main program will be freeze. Then DATA_1 will show 0 Value altough my source data isnt 0.It happen only around less 1second and after that the value of DATA_1 will be back to my actual value.

 

It only happen when I move from 1 corner to another(bigger distance). When the distance is short, the main program doesnt hang. 

 

I tried changing the Window Behavior of the subVI. But it doesnt solve my problem.

 

The following is the  Window Appearance Setting for my subVI.

17331iEB430FEDDC680E83

 

Anyone know how can I solve this problem?Thanks

 

YehChia


 

 

User Inteface Thread is single threaded. suspect you are getting a time out and ingoring same. Re-write to not use the UI thread.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 3
(2,662 Views)