"PJ M" <[EMAIL PROTECTED]> wrote:
 
>I have a main VI that call a SubVI containing a call by reference.
>The call by ref pass some parameters to the target VI.
>One of the parameter is from a control on the main VI (UI). As long as I
>dont hold the control (a slider), everything is fine. If I do hold the
>control, the call by reference does not execute until I release the
>mouse (to be more specific the Open VI reference does not execute).

"Open VI Reference" needs to be protected and for that reason always
executes in the UI thread. The UI thread also handles all User Interaction.
Not much you really can do other than openening the VI reference once in
the beginning and store it in a shift register or something like that.

Rolf Kalbermatter
CIT Engineering Nederland BV    tel: +31 (070) 415 9190
Treubstraat 7H                           fax: +31 (070) 415 9191
2288 EG Rijswijk        http://www.citengineering.com
Netherlands             mailto:[EMAIL PROTECTED]
 


Reply via email to