Changing runtime menu of multiple controls
I have ~90 indicators that I need to change the runtime menu of. Is there an easy way to do this all at once? I can't think of one, but figured I'd ask.
Thanks,
-M
Edit: To clarify, they are all being changed to the exact same menu.
I actually expected this to be quite easy with LabVIEW Scripting, but I couldn't find the functions needed. Here is a post a while ago that basically said you can't.
http://forums.ni.com/t5/LabVIEW/scripting-control-run-time-menu-file/td-p/1257590
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
Similar Messages
-
Changing runtime menu item names dynamically in executable
I want to change the language of my application dynamically. In the run-time menu i do this by changing de item names (leaving de item tags the same) In Labview (6.1) this works but in a application builder build executable this don't work.
Attachments:
demo_vi.jpg 55 KB
demo_exe.jpg 55 KBHow are you changing the runtime menu dynamically? Are you reading the menu settings from a file? If so you might be losing the path to the file in the executable.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
How can I change the state of a runtime menu item programati​cally?
Using LabView 6.1, I would like to change the state of the runtime menu item "Operate/Print at completion".
The goal here is to print the VI front panel according to the operator choice (OK ->print, Cancel ->don't print)
In a first release, I put a Stop function at the dialog output (activated by the cancel button) but this function stop the complete application and my idea where to stop only the VI in which the dialog is running.
In a second release, I've tried to use the "Application
control/Menu" but I receive every time an error:
Error 88 occured at Cannot modify application menu item in the printtest.vi.
Possible reasons: LabView, Runtime menu error...
Any suggestion is appreciated.
Re
gards,
phiduInstead of using the print at completion option, print the VI programatically if the user selects to print...open a reference to the VI you want to print and use an invoke node to print vi to printer.
Alternatively create another VI with a layout optimized for printout, set it to print at completion and run and load the data into that VI if and only if the user OKs the print...
Mads
MTO -
Can't change sort settings for multiple items in iTunes 7.1
iTunes 7.1 introduces a great feature—the ability to set a separate Sort Name, Sort Artist, Sort Album, etc. This means that "Weird Al" Yankovic songs can finally appear down among the Y's instead of up at the top of every list, by changing the Sort Artist to Yankovic, Weird Al.
Unfortunately, this feature is fatally crippled in 7.1. As far as I can tell, you can only change the Sorting information on individual tracks. When you change the information for multiple tracks, the Sorting tab doesn't show up. This renders the feature all but useless.
Let's say (hypothetically) that your friend is an enormous nerd (in theory) and your friend has 139 "Weird Al" Yankovic tracks (for the purposes of this example only, of course). Instead of just selecting all these tracks at once and changing the Sort Artist to Yankovic, "Weird Al", I (I mean, he) has to retype this information for each individual track. That's crazy! Surely this must be a bug.
Core 2 Duo 20" iMac Mac OS X (10.4.8)I just found the solution to this myself.
In a very un-Apple way, this is an undocumented feature only accessible by right- (or control-) clicking.
1. Change one track to your desired sort settings (for instance, set the Sort Artist to Yankovic, Weird Al.
2. Right-click on that track. In the contextual menu that appears, there is a new submenu called "Apply Sort Field." If you choose "Same Artist," it will apply your new sorting information to all your other tracks by "Weird Al" Yankovic (or, if you are not a huge nerd, any other artist you substitute). -
Handle runtime menu in subvi event
I am passing the runtime menu reference to a subvi event structure for processing the top-level runtime menu in the event case. I already have a registered case to handle any change in the top level vi control values. Since, I'm passing a runtime menu reference to the subvi, I initially thought I can handle the runtime menu in the subvi event. When I add an event, runtime menu is not a choice when setting the event up. The event setup does show "shortcut menu" as a selection but this must be for a context menu or the like.
Thx ahead of time,
richjohHi Richjoh,
what you should do is pass the VI-refnum into the sub-vi, and register there for menu events! A menu reference, does not cover a FP-object so LV has no events for it.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
i have a large monitor and i have it set to high res. This makes everything small. I bring it up with no squint but this does not work on the upper menu/tool bar/control/tabs or their drop down menus, leaving me squinting again. There needs to be a no squint feature for this area of the browser
'''''NoSquint''''' changes only the web page display, not the Firefox user interface.
Try this Add-on:
*'''''Theme Font and Size Changer''''' -->https://addons.mozilla.org/en-US/firefox/addon/theme-font-size-changer/
'''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update as necessary:
*Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
*Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
*'''''Adobe PDF Plug-In For Firefox and Netscape''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
*Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
*Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox] -
USING MULTIPLE CONTROLLING AREA in the column
Dear Experts,
As per my requirement i need fetch the data from multiple controlling areas in to one report. please let us know how many ways are there? can i able to use controlling are in the column of the report. when i try to select the controlling area is not appearing in the coumn and it is appearing only in the geneHi,
You can select multiple Controlling area Please try with following steps.
Maintain variant
Click on attributes.
Environment > Maint.sel.varables.
Click on Display/Change.
Create new Parameter.
Maintain selection options to new parameter.
Save and back.
Select "T" in selection variable against Field name :Controlling Area.
Select the selection variable(Newly created Parameter)
Regards
Mahesh -
How to change Payment Terms in multiple orders at same time?
How to change Payment Terms in multiple orders at same time?
I have got 10,000 Order, I need to change the payment terms for all these Orders.
Can I Know the way out for this.
Regards,
Dantham Conpolwedson
Edited by: Dantham Conpolwedson on Mar 25, 2009 11:18 AMHi
There are as many options for that
You can go for
1)MASS t code
2) LSMW (by recording)
3)BDC (by recording)
and the most easiest way is by doing the MASS tcode
goto MASS and enter the object type as BUS2032
execute now select the sales order haeader data and execute and now enter the sales doc from and to range and execute now all the sales dox will be displayed
and from the menu click on select fields and select the terms of payment
now select the terms of payment row and enter the new values and click on carry out new changes
regards -
How to change the attributes of GUI CONTROLS in my own program.
hi all,
i just want to change the attributes of GUI CONTROLS in my own program.
for example `
How to set an ICON on my GUI BUTTON in the program?
so what's the mapping between CONTROL in the SCREEN PAINTER and variable in the program?Hi Chao Liu,
Ya , u first find out the PF-STATUS of the screen and goto that status and now u can modify the ICON u want .
Finding the GUI status of the screen
Goto that TRANSACTION CODE or SCREEN
On the Standard Menu bar Goto ( Menu path) System --> Status
Now u get a pop-up System :status in that in SAP Data block u can find GUI Status. Now Double Click on that Status. It takes u to the Status of that screen.
Now click on the Display --> Change Button on the application tool bar.
If it is a standard GUI-status then it asks for the ACCESS KEY.
if it is a custom defined GUI Status then u can change the status .
reward if helpful
raam -
Programatically set runtime menu to default
I am trying to set the Runtime menu from a custom menu back to the default menu. I write a string using the RunTimeMenuPath property node when the VI is idle. All the basic combinations failed: empty string, "default", "default.rm". When I open the VI and verify the menu change, the string I specified cannot be found and the menu is then reset to default.
Is there another way to set the RunTime menu back to default other than the RunTimeMenuPath property?
I have LV2010 Professional.
Michael Munroe, ABCDEF
Certified LabVIEW Developer, MCP
Find and fix bad VI Properties with Property Inspector
Solved!
Go to Solution.Found the solution to this problem. The reference that I was using was generic Virtual Instrument and gave me at RunTime Menu Path as a string. There was no way to clear the menu. When I obtained a VI Refnum instead, setting the path to <Not a Path> changed the Run Time menu to the default.
Michael Munroe, ABCDEF
Certified LabVIEW Developer, MCP
Find and fix bad VI Properties with Property Inspector -
Hello,
since I update Adobe Reader from 10.1.9 to 11.0.07 my old little vb6 PDF-Viewer get an Runtime error by add .Controls.Add("AcroPDF.PDF.1", "AcroPDF1", frmMain)
Error -2147417848 (80010108).
What is change in the Reader-installation or what is the way to slove this error?
Thanks
rwDear Deepak
Thanks for quick response.
Note 1462415 - DB6: SQL -444 error messages in system log ( SAP_BW 701 SP7 suggested)
This is already implemented and updated in my 1st message.
Note 978319 - DB6: Incorrectly cataloged table functions
This note can not be implemented due to version issue.
Kindly suggest some more hints on top of what I already did.
Regards
Bipin -
Revision: 11027
Author: [email protected]
Date: 2009-10-20 08:50:09 -0700 (Tue, 20 Oct 2009)
Log Message:
Changes to enable using multiple style managers.
Multiple style managers are not the default yet. Can be enabled by compiling with -create-style-manager.
QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex, Paul
Tests run: checkintests, all mustella
Is noteworthy for integration: Yes.
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColu mn.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItem Renderer.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexChangeEvent.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/BusyCursor.as
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceGenerator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependenc yRules.java
Added Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSMergedStyleDeclaration.asadd type: 'random', to the script below and see what, IF anything happens. I've added after fit: and height: (see below)
<script type="text/javascript">
// BeginOAWidget_Instance_2559022: #slideshow slideshowAddCaption=false;
$(document).ready(function() {
$('#slideshow').cycle({
after: slideshowOnCycleAfter, //the function that is triggered after each transition
autostop: false, // true to end slideshow after X transitions (where X == slide count)
fx: 'fade,',// name of transition effect
pause: true, // true to enable pause on hover
randomizeEffects: false, // valid when multiple effects are used; true to make the effect sequence random
speed: 2000, // speed of the transition (any valid fx speed value)
sync: false, // true if in/out transitions should occur simultaneously
timeout: 5000, // milliseconds between slide transitions (0 to disable auto advance)
fit: false,
type: 'random',
height: '600px',
width: '0px' // container width (if the 'fit' option is true, the slides will be set to this width as well)
function slideshowOnCycleAfter() {
if (slideshowAddCaption==true){
$('#slideshow-caption').html(this.title);
// EndOAWidget_Instance_2559022
</script> -
Change the selection of tree control with a right click
How is it possible to change the item selected in a tree control (LabVIEW7) with a mouse right click ?
Filippo,
Here is a popup menu toolkit, with an additional example for a listbox. If I
understand your problem, it shouldn't be hard to change it to a tree
control.
Regards,
Wiebe.
"Filippo" wrote in message
news:[email protected]..
> Sorry for my english ! If you can send me an example, it could be very
> useful for me.
> My e-mail is : [email protected]
> Thanks.
> Regards,
>
> Filippo
[Attachment Menu 042004.zip, see below]
Attachments:
Menu_042004.zip 175 KB -
Hi,
In one application I have a runtime menu which is dynamically changed. When a option is not available, the menu point is dimmed. Now I found out, that LabVIEW crashes every time when the runtime menu is opened while the change occurs in the program.
Is there a way to avoid this? Otherwise the whole option to change the runtime menu dynamically would be worthless..
Best regards
DermotHi
just now by looking at it a second time, I found the solution.
In a early version of the program I added and deleted the runtime menu tags dynamically. When the runtime menu was opened during a delete action, LabVIEW 7.1 crashed completly.
Now I just dim the tags that are not available, that means I only change the properties of the tags and the program works just fine.
Thanks and best regards
Dermot
Attachments:
screenshot1.jpg 51 KB -
Changing the bitrate of multiple songs
Let's face it...who needs a 3:42 song to be 10.7 MB? I was wondering if there was a way for me to change the bitrate of multiple songs at one time to, say, 128 kbps?
eMachines Windows XPFirst you need to change your import settings to the format and bitrate you want, for example, AAC 128kbps. Then go to the list if songs you want to change. Click on the first song in your list then while holding down the shift key click on the last one. This will highlight all in between. Go to the Advanced menu and click on Convert selection to AAC:
How To Choose Import Settings
How to convert a song to a different format
Maybe you are looking for
-
Remote desktop not allowed between two Windows 8.1 pro pcs
PC1 client of a domain PC2 notebook (no domain) User (in remote access) is a domain administrator and also pc1 admin.Logon is not allowed from pc2 to pc1 with the following message: "The system administrator has restricted the types of logon (network
-
Date fields in the reports are not displaying as System Date Format. Pulled the date fields and set the format as System Default Shrt format. Ran the report and display the date in System Date format BUT TIME is getting displayed. How to suppress the
-
Dynamic link button from speed grade to premiere is grey.
Dynamic Link button from Speedgrade to Premier is grey. No problems Linking from Premier to SG, but no way to send the project back to Premier. The project is in Apple ProRes 4444. I have a Mac Pro last generation. Thanks for an urgent help!
-
I have a G4 10.4.11 "Screen Over the Dome" Mac.....want to Upgrade to 10.5.8 if at all possible..... Is it without a Pentium chip?? There seems to be a debate......Hep!
-
Lost firewire after recent update.
afwter down loading the most recent updates for secujrity and itunes my firewire drives no longer function. I have restarted several time to no avail.