Norbac Posted September 6, 2005 Report Share Posted September 6, 2005 Somebody knows if all this scripting feature can be applicated to the same vi (where it is running), instead of create a new VI? Thanks A. V. Quote Link to comment
Sparc Posted September 7, 2005 Report Share Posted September 7, 2005 Somebody knows if all this scripting feature can be applicated to the same vi (where it is running), instead of create a new VI?Thanks A. V. 6020[/snapback] Scripting features that actually modify VIs cannot be used on a running VI nor one reserved to run. New Object, for example will fail if the owner object is, or is in, a running VI. However, scripting Properties like "Is Indicator" can be used on a running VI. Sparc Quote Link to comment
Yair Posted September 7, 2005 Report Share Posted September 7, 2005 Scripting features that actually modify VIs cannot be used on a running VI nor one reserved to run. 6021[/snapback] That's not entirely accurate. You can use the VI class method Fake Exec State to trick LV into thinking that the VI is idle (state 2), but you should be aware that many features will either stop your VI, cause it to crash or cause LV itself to crash, because modifying LV code while the VI is running is almost a sure way to do that. Quote Link to comment
Michael Aivaliotis Posted September 7, 2005 Report Share Posted September 7, 2005 That's not entirely accurate. You can use the VI class method Fake Exec State to trick LV into thinking that the VI is idle (state 2), but you should be aware that many features will either stop your VI, cause it to crash or cause LV itself to crash, because modifying LV code while the VI is running is almost a sure way to do that. 6026[/snapback] OOH nice one, I gotta try me some of that! Quote Link to comment
AdamRofer Posted September 12, 2005 Report Share Posted September 12, 2005 That's not entirely accurate. You can use the VI class method Fake Exec State to trick LV into thinking that the VI is idle (state 2), but you should be aware that many features will either stop your VI, cause it to crash or cause LV itself to crash, because modifying LV code while the VI is running is almost a sure way to do that. 6026[/snapback] Too bad you still can't dynamically change the code even when it's "tricked." Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.