hink Posted May 30, 2007 Report Share Posted May 30, 2007 just like this user interface Quote Link to comment
Ton Plomp Posted May 30, 2007 Report Share Posted May 30, 2007 QUOTE(hink @ May 29 2007, 01:46 AM) just like this user interface Hi hink, LabVIEW can create the GUI shown (LV 8 intoduced splitter bars), however dynamic splitter bars are a problem. I can think of several solutions: Picture control, in that case you draw every pixel yourself seperate windows, each control has it's own window, that you move around from some controller VI Ton Quote Link to comment
Ton Plomp Posted May 30, 2007 Report Share Posted May 30, 2007 QUOTE(tcplomp @ May 29 2007, 06:27 AM) Hi hink,LabVIEW can create the GUI shown (LV 8 intoduced splitter bars), however dynamic splitter bars are a problem. I can think of several solutions: Picture control, in that case you draw every pixel yourself seperate windows, each control has it's own window, that you move around from some controller VI Ton And my coffee just got bad. Hink (or hinksky) if you do crosspost please provide a link of the cross-post http://forums.ni.com/ni/board/message?board.id=170&message.id=249710#M249710' target="_blank">NI forums post Ton Quote Link to comment
Michael Aivaliotis Posted May 30, 2007 Report Share Posted May 30, 2007 The simple answer is NO. You cannot dynamically create splitter bars if none exist. You can, however, operate on them programmatically after they've been created. Right-click on a splitter and select Create>Property. Quote Link to comment
Wolfram Posted May 30, 2007 Report Share Posted May 30, 2007 Generating objects programmatically is a feature that is called scripting. This is a hidden feature that can be enabled by a special LabVIEW.ini entry (reserved only for NI). In LabVIEW 7.1.1 this feature can be made visible by adding the keyword "SuperPrivateScriptingFeatureVisible=True" in the LabVIEW.ini. Have a look into the "rusty nails" -> "scripting" topic in this forum. Unfortunately this keyword does not work any more. NI has changed this in LabVIEW 8.0 Wolfram Quote Link to comment
hink Posted May 31, 2007 Author Report Share Posted May 31, 2007 my problem is continue , the menthod i found now is make enouge splitter bar, and show /hide them in the programe. but the effect is not very good Quote Link to comment
crelf Posted May 31, 2007 Report Share Posted May 31, 2007 QUOTE(hink @ May 30 2007, 05:22 PM) the menthod i found now is make enouge splitter bar, and show /hide them in the programe, but the effect is not very good Show us what you've done - maybe we could make suggestions on how to make it look better. Quote Link to comment
Jim Kring Posted May 31, 2007 Report Share Posted May 31, 2007 This can be done by using subpanels to subpanel VIs containing one splitter bar and two subpanels to create arbitrary splitter bars (recursively). However, this technique tends to crash LabVIEW.WARNING: These examples will crash LabVIEW. [Moderator Note] This post contained some kind of attachment links which could not be found, so they've been removed. A best effort was made to find these missing attachments but unfortunately could not be found. 1 Quote Link to comment
Rolf Kalbermatter Posted June 9, 2007 Report Share Posted June 9, 2007 QUOTE(Wolfram @ May 29 2007, 10:01 AM) Generating objects programmatically is a feature that is called scripting. This is a hidden featurethat can be enabled by a special LabVIEW.ini entry (reserved only for NI). In LabVIEW 7.1.1 this feature can be made visible by adding the keyword "SuperPrivateScriptingFeatureVisible=True" in the LabVIEW.ini. Have a look into the "rusty nails" -> "scripting" topic in this forum. Unfortunately this keyword does not work any more. NI has changed this in LabVIEW 8.0 While this is all correct there is one extra caveat. You can not use scripting for changing VIs that are non idle. This means to do what the OP would want you would have to write a different VI that loads the VI to modify into memory, modifies it and only after all modifications are done, does start it. And whenever you want to change it again the VI needs to be stopped, modified and restarted. Basically not something I would ever consider to do. Rolf Kalbermatter 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.