Check out our VI Scripting Code Repository Files and visit the LabVIEW Wiki VI Scripting article
Tags |
(This content has not been tagged yet)
|
![]() |
Mar 22 2004, 08:13 PM
Post
#1
|
|||
![]() Extremely Active NI ![]() Posts: 607 Joined: 8-December 03 From: Dallas, Texas Member No.: 208 Using LabVIEW Since:2000 LV:8.6 ,8.2.1 ,7.1.1
My Gallery
|
They try so hard to lock and password protect all those cool things they do until they decide they are ready.
Some things slip through the cracks. hehehehehehe C:\Program Files\National Instruments\MAX\Assistants\LVCGen\LV70\ Looks like someone forgot to protect the clusters mxwScript_CleanUpWires.vi mxwScript_ClusterConnector.vi <----MUST SEE!!!! mxwScript_ClusterConnectorN.vi mxwScript_CleanUpFrontPanel.vi mxwScript_ClusterCopy.vi MUAHHAHAHAHA ~,~ The Captain Was Here -------------------- Norman J. Kirchner Jr.
Automation Software Engineer ~,~ The Captain Was Here Premium Blend ![]()
|
||
|
|
|||
| Ad |
Mar 22 2004, 08:13 PM
Post
#
|
||
|
|
|
||
|
|
|||
Mar 22 2004, 09:04 PM
Post
#2
|
|||
![]() Extremely Active JKI ![]() Posts: 624 Joined: 19-June 03 From: Bay Area, CA (USA) Member No.: 121 Using LabVIEW Since:1998 LV:8.5.1 ,8.6 ,8.2.1
My Blog
|
njkirchner
You should register with info-labview Check it out as there are some extra stuff that your are not mentioning PJM --------------------
|
||
|
|
|||
Mar 23 2004, 04:13 AM
Post
#3
|
|||
|
Changing the world, one VI at a time. JKI ![]() Posts: 1717 Joined: 22-October 02 From: San Francisco, CA Member No.: 17 Using LabVIEW Since:1995 LV:8.2.1 ,8.5 ,7.1.1
My Blog
My Gallery
|
The formatting on that email archive is hard to read. Here is the same info, reformatted.
Cheers, -Jim Properties and Methods App:App.UnattendedMode: ..\National Instruments\LabVIEW 7.0\project\Source Code Control\_utils\SCC Revert safe.vi VI:SetTag: ..\National Instruments\LabVIEW 7.0\vi.lib\express\express signal manip\ConvertfromDDTConfig.llb\subSetVIProperties.vi Posible use: Create Express VI ? VI:ConPane (The read version of it): ..\National Instruments\LabVIEW 7.0\vi.lib\express\express output\ExFileWriteConfig.llb\Configure Write LabVIEW Measurement File.vi VERY usefull. I have made an utility using this property very similar to the call by reference but it is non blocking (using the conpane to pass data to the target VI) VI:FP isdialog: ..\National Instruments\LabVIEW 7.0\examples\viserver\mltsetup.llb\Save Setups.vi VI:Is Instance ?: ..\National Instruments\LabVIEW 7.0\vi.lib\express\express signal manip\TriggerBlock.llb\Ex_Inst_Trigger and Gate.vi VI:Diagram: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwCopySrcVIContentsIntoDstVI.vi The Building Block to access the Block Diagram VI:Mods.User Changes: ..\National Instruments\LabVIEW 7.0\project\Source Code Control\_utils\SCC Save safe.vi Ctl:Terminal.Owner: ..\National Instruments\LabVIEW 7.0\project\_NewProbeWizard.llb\MoveTermInsideStruct.vi Very usefull to quickly get to the block diagram counterpart of a control Ctl:Terminal.Position: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterConnector.vi Ctl:Terminal.Wire.Terms[]: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterConnector.vi Ctl:Move: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterConnector.vi Clust:Terminal: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterConnector.vi Pnl:Select All: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterCopy.vi Pnl:Paste Selection: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterCopy.vi Pnl:Copy Selection: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterCopy.vi BDiag:Select All: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwCopySrcVIContentsIntoDstVI.vi Bdiag:Copy Selection: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwCopySrcVIContentsIntoDstVI.vi Diag:Paste Selection: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwCopySrcVIContentsIntoDstVI.vi All these copy and paste utility are EXTREMELY usefull (I had wish for these for so long...) SubVI:VI Ref: ..\National Instruments\LabVIEW 7.0\vi.lib\express\express signal manip\ConvertfromDDTConfig.llb\subUpdateConversionTitle.vi ConPane:DiscTerm: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterConnector.vi Term:Name: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwConnectObjToLeadingSubVI.vi Primitives New VI Object: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterConnector.vi One of the most interesting primitive, open a whole new realm of possibilities Open VI Object Reference: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterCopy.vi --------------------
|
||
|
|
|||
Oct 12 2004, 11:53 AM
Post
#4
|
|||
|
Extremely Active Member Posts: 391 Joined: 6-February 04 From: switzerland Member No.: 253 Using LabVIEW Since:1997 LV:7.1.1 ,6.1 ,.
|
Just got LV7.1. It seems NI closed the doors to these vi's... they are password protected!
Didier
|
||
|
|
|||
Dec 3 2004, 08:09 PM
Post
#5
|
|||
|
Instant Human, just add coffee Premium Member ![]() Posts: 889 Joined: 31-January 03 From: Waterford, CT USA Member No.: 45 Using LabVIEW Since:1992 LV:8.2.1 ,7.1 ,8.0.1
|
We need to get some of these things into a bunch of subVIs, put them into a pallete with the Merge option on the menu and make up our own LAVA/OpenG Scripting pallete/toolset.
-------------------- ************************************************************* "Always listen to the experts, they'll tell you what can't be done, and why. Then go do it." ~The Notebooks of Lazarus Long (by Robert Heinlein) *************************************************************
|
||
|
|
|||
Dec 4 2004, 03:39 AM
Post
#6
|
|||
![]() Confucius say: Crowded elevator always smell different to midget Admin ![]() Posts: 2402 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
QUOTE (Michael Ashe @ Dec 3 2004, 04:09 PM) We need to get some of these things into a bunch of subVIs, put them into a pallete with the Merge option on the menu and make up our own LAVA/OpenG Scripting pallete/toolset. This is a good idea. I know there are many out there that have done this already. Perhaps we can release an OpenG package with this stuff. -------------------- Thank You
Michael Aivaliotis - Follow me on Twitter - My Personal Blog Search the LabVIEW Web - Build the LabVIEW Web - Got VIPM? ![]()
|
||
|
|
|||
Feb 9 2005, 09:44 PM
Post
#7
|
|||
![]() Active Member Posts: 13 Joined: 9-February 05 From: Pittsburgh, PA Member No.: 1561 LV:8.0
|
QUOTE (Jim Kring @ Mar 23 2004, 12:13 AM) Primitives New VI Object: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterConnector.vi One of the most interesting primitive, open a whole new realm of possibilities Open VI Object Reference: ..\National Instruments\MAX\Assistants\LVCGen\LV70\mxwScript_ClusterCopy.vi Jim - this topic is fascinating! I have a question - I'm trying to use the "Open VI Object Reference" primitive and can successfully get the references to "top-level" controls on another VI's front panel. If I wanted to access the controls within a cluster or on a tab control, though - how would I go about doing that? I am guessing there's some syntax for the "name/order" input, but...
|
||
|
|
|||
Feb 9 2005, 10:52 PM
Post
#8
|
|||
![]() Extremely Active NI ![]() Posts: 607 Joined: 8-December 03 From: Dallas, Texas Member No.: 208 Using LabVIEW Since:2000 LV:8.6 ,8.2.1 ,7.1.1
My Gallery
|
Interestingly enough each page on a tab is similar to it's own front panel.
If you look at the properties for a tab control you'll see a property called Pages. It is an array of references to the individual pages. From there you can get to a property called CtlsOnPage. That is how you dig down into the tab control. ~,~ The Captain Was Here This post has been edited by njkirchner: Feb 9 2005, 10:54 PM
Attached image(s)
-------------------- Norman J. Kirchner Jr.
Automation Software Engineer ~,~ The Captain Was Here Premium Blend ![]()
|
||
|
|
|||
Feb 10 2005, 01:45 PM
Post
#9
|
|||
![]() Active Member Posts: 13 Joined: 9-February 05 From: Pittsburgh, PA Member No.: 1561 LV:8.0
|
QUOTE (njkirchner @ Feb 9 2005, 06:52 PM) Interestingly enough each page on a tab is similar to it's own front panel. If you look at the properties for a tab control you'll see a property called Pages. It is an array of references to the individual pages. From there you can get to a property called CtlsOnPage. That is how you dig down into the tab control. True - but I then have to iterate through all the refnums, looking for the one I want (while closing all the rest). This makes a block diagram where you're doing a lot of control/indicator manipulation pretty messy pretty fast. It would be really cool if I could access a specific control or indicator in one step, and I was hoping I might be able to with this primitive (it already gets me halfway there, since I don't need to iterate through all the refnums (and close all the unneeded ones) returned by the "Controls[]" property of the "Panel" object). ...so any idea what "name/order" means? Obviously, you can put a control/indicator name in there and get the reference - what's with the "order"?? I thought maybe you could put in a special syntax to specify the "order" of the control you're after, like "MyCluster/MyBoolean" or "MyCluster:MyNumeric" or something... Thanks for your quick response on this, BTW. It's nice to talk to some real LabVIEW experts for a change instead on NI tech support. Chris
|
||
|
|
|||
Feb 23 2005, 11:30 AM
Post
#10
|
|||
![]() More Active Member Posts: 37 Joined: 22-September 04 From: Taipei,Taiwan Member No.: 705 LV:7.0
|
Hi All,
I can make use of the "New VI Object.vi" to add a Control on another SubVi,but how do I make use of the same way to delete the Control? I found out the mxwScript_Clear VI FP BD.vi(...National Instruments\MAX\Assistants\LVCGen\LV70),but is not what I want.Because it will delete all control of the front panel. Thanks -------------------- Best Regards
Jimmy Chen
|
||
|
|
|||
Feb 25 2005, 09:51 AM
Post
#11
|
|||
![]() More Active Member Posts: 37 Joined: 22-September 04 From: Taipei,Taiwan Member No.: 705 LV:7.0
|
QUOTE (Jimmy-Chen @ Feb 23 2005, 07:30 PM) Hi All, I can make use of the "New VI Object.vi" to add a Control on another SubVi,but how do I make use of the same way to delete the Control? Hi All, I have already found out the method for solving it. I can make use of the property node to complete the function that I want. See attached image: ![]() BTW,Thanks for Michael's post. Here~ -------------------- Best Regards
Jimmy Chen
|
||
|
|
|||
![]() ![]() |
| Time is now: 8th January 2009 - 07:18 PM |