06-24-2010 07:31 AM
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.
Anyone know how can I solve this problem?Thanks
YehChia
06-28-2010 06:45 AM
Hi YehChia,
Can you please post these two VIs.
Thanks,
Christian
06-28-2010 07:48 AM
@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.
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