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.
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.
05-04-2006 09:11 AM - edited 05-04-2006 09:11 AM
you have a TRUE connected to the loop terminal (see 11.jpg), so the loop will run infinitly.
i'm not sure if you have shared/global variable in LV 6... but one way you might be able to do this without shared/global variable is to use VI reference (see 21.jpg and 31.jpg). place a Static VI Reference on your block diagram, and right click on it and select browse for VI (or something like that), select the control panel VI, then add the invoke nodes as in the attachment.
sorry i can only use screen shots (i have LV 8, and the only previous version i can save is LV 7)
good luck!
Elsa
Message Edited by Elsa Fung on 05-04-2006 09:12 AM
05-04-2006 09:23 AM
Here is a picture of the vi I sent you.
bye
05-04-2006 09:41 AM
05-04-2006 08:04 PM
hi, Elsa, i have to trouble you again,
because i can not find that invoke node with Fp.open function and that do not konw how to create that control panel icon before the invoke node with FP.open function in labview 6.1, can you show me the detail, thanks.
05-05-2006 08:54 AM
hmm.. LabVIEW 6 might not have the same features, but in LabVIEW 8:
to place the static VI reference (subVI "icon"), go to Application Control -> Static VI Reference block. right click on the Static VI Reference block, and select Browse for Path. select the subVI from the file dialog.
to place the invoke nodes, go to Application Control -> Invoke Node. run a wire from the Static VI Reference to the input reference of the invoke node. click on Method, and select Front Panel -> Open, Run VI or Control Value -> Get [Variant].
if you still can't find it, try searching "VI Reference" in LabVIEW help and see
Elsa
05-05-2006 09:25 AM