Creating a drop down menu configured with VISA write
Hi I'm using the Basic Serial Write Read example vi in LabVIEW to communicate using the serial port. Instead of having a write box on the front panel connected to the VISA Write in the program I want to create a drop down menu on the front panel to be able to choose from a variety of commands. Is there a way I can program multiple commands into the block diagram and choose one of them on the front panel to send to VISA Write? For example, the commands to choose current are I/E\s0\r for 1 A, I/E\s-1\r for 100 mA and so on. I want to be able to choose between 1A, 100mA, etc on the front panel and have the code send the corresponding function to VISA Write. Is this possible?
Okay, please let us know the solution you came up with, so we might be able to use it sometime.
Cameron
To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.
To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
LabVIEW Unit 1 - Getting Started
Learn to Use LabVIEW with MyDAQ
Similar Messages
-
Is there a way to create a drop down menu with an automatic answer dependent on what is chosen? An if-then statement perhaps? I am looking to add over 100 drop down options and would like to have a message automatically pop up depending one which option they chose. Thank you.
Hi,
You would use the skip logic to conditionally show form items based on the selection within the drop-down menu. Here's a link to a description of the feature in our help documentation:
http://help.adobe.com/en_US/formscentral/using/WSd789abd336388b1642c7fce012da94afe4f-8000. html#WS0faeceb8c23f5d60-774f03e3131ddc76d7d-8000
Regards,
Brian -
How do I create a drop down menu with multiple items in Adobe Acrobat 9?
I am trying to create a drop down menu with four items within a field box. When I try to do this
the font is too big and it just doesn't fit.You can use panel widget to create manual menu where set to show target on rollover.
Something like this :
http://muse.adobe.com/exchange-library/menu-vertical-accordion-widget-1
http://muse.adobe.com/exchange-library/tiptop-navigation-menu
Thanks,
Sanjit -
How do I create a drop down menu with Code Snippets and Flash CS5?
Hi
I am wondering how to create a drop down menu using the Code Snippets and CS5?
There are some older tutorials out there and it would be nice if someone could create an updated drop down menu tutorial, and it might be me doing this after I have figured out the best and easiest way to create one, but before that I need some pointers.
Thanks!
Have a great day!
Paal JoachimYou can use panel widget to create manual menu where set to show target on rollover.
Something like this :
http://muse.adobe.com/exchange-library/menu-vertical-accordion-widget-1
http://muse.adobe.com/exchange-library/tiptop-navigation-menu
Thanks,
Sanjit -
Trying to create a drop down menu in numbers...please help
Hi
Can anyone indicate how to go about creating a drop-down menu.
Thanks in advanceHi Meela,
Welcome to Apple Discussions and the Numbers 08 forum.
Check page 66 of the Numbers User Guide supplied with your copy of iWork. The guide refers to them as "pop-up" menus, so a search using "pop-up" will be more successful than one using "drop down".
Essentially the process is:
Click on the cell to select it.
Open the Inspector and choose Cell Format (icon is a cell containing 42)
Click the Cell Format menu and select Pop-up Menu from the bottom of the list.
Double click an item in the list to edit it. Click the + button to add an item, the - button to delete the selected item.
Done.
Regards,
Barry -
How do i create a drop-down menu in SharePoint that redirects to a new page?..
Helly everyone, i have a question and really hope someone can help me out here:)
In SharePoint i want to create a drop-down menu that has the possibelty to redirect to other websites.
I fount the code below and it works but just not in SharePoint:(
It only shows the drop-down list but it doesn't redirect you to another website if you click on a site.
Can someone please help me out because it's really getting frustrating.
<form method="post" action="" name="">
<select name="select15" onChange="window.open(this.options[this.selectedIndex].value,'_parent')">
<option selected>Please Select Site to Visit</option>
<option>---------------------------------------------------</option>
<option value="http://leedssocialclubs.co.uk">Leeds Social Clubs </option>
<option value="http://yahoo.co.uk">Yahoo </option>
<option value="http://msn.com">MSN </option>
<option value="http://Moonfruit.com">Moonfruit </option>
<option value="http://burystaffhire.moonfruit.com/#/home/4548482603">Bury Staff Hire</option>
</select>
</form><form>
<select name="URL" onchange="window.location.href=this.form.URL.options[this.form.URL.selectedIndex].value">
<option value="">Choose a site</option>
<option value="http://webdesign.about.com/">Web Design Front Page</option>
<option value="http://webdesign.about.com/library/beginning/bl_begin.htm">
Beginning HTML</option>
<option value="http://webdesign.about.com/od/javascript/">JavaScript Help</option>
</select>
</form>
Demo url
http://webdesign.about.com/od/examples/l/blfaqddredirect.htm
script url
http://webdesign.about.com/od/javascript/a/aa050701a.htm
For me it is working fine -
How can i create a drop down menu for set qty in my store?
I'm wondering how i can create a drop down menu for the qty module that sits on the individual product page. My client sells in quantities of 6 packs. I currently have the minimum order at 6 but i would like to give consumers the option for 6,12,18...and so forth. I was told that it could be accomplished? Hopefully someone can help me.
Hi Chris -
Thank you for your reply! I had seen your article before, and just now again attempted to follow it, but I get stuck. There are two things that I'm confused by.
First off, toward the top, referring to the initial button, you say to add this interaction:
ON CLICK; Play Transition to comboBox: selected
ON ROLL OUT; Play Transition to comboBox normal if comboBox is in over state
ON ROLL OVER; Play Transition to comboBox over if comboBox is in normal
However, I do not see these transition options. When I select the button, the only interactions I have are to Play transistion to state, Play action sequence, Go to URL, and two for videos. So that's the first roadblock for me.
But, trying to get passed that, I went down to the portion of the article that refers to adding interaction to the dataset items. Again, I don't get it, as I see no way to add interaction to a dataset item. When I open my design-time data menu, I do see the items, and am able to rename each item, add additional rows, and change the shape of the datalist layout. However, I see no way to add an interaction to a dataset item. I must be missing a step ... Can you help with this?
Again, thank you!
Amy -
Creating a Drop Down Menu Attached to Existing Rovvover Menu Buttons
I am working on a website, and I was wondering if one can create a drop down menu for existing buttons. I looked over directions for adding drop down menus for iWeb (http://iwebfaq.org/site/iWebTeardown.html) but wondered how difficult it would be to connect them to the rollover buttons that I am already using in my menu bar.
Here is my draft site: http://web.me.com/toesproductions/AFW/Home.html
Thank you for any advice or help you maybe able to provide.In iWeb you use the HTML Snippet to paste the code for the dropdownmenu.
You have to find the code first.
[Using the iWeb HTML Snippet|http://www.wyodor.net/blog/archives/2009/07/entry_213.html]
You can also add the code directly with a JavaScript :
http://www.wyodor.net/_Demo/tmf/Duckmenu.html
http://www.wyodor.net/_Demo/tmf/TMF.html
This is the JavaScript :
http://www.wyodor.net/_Demo/duckmenu/tmf.js
It searches for a textbox with the word DIVmenu in it and replaces it with the code.
You may have to learn HTML/CSS/JavaScript and how iWeb creates its webpages. -
How do i create a drop down menu for selecting from the drop down arrow
how can i create a drop down menu so that when i click on the arrow in the cell i can select from the menu that appears
katiesandell wrote:
how can i create a drop down menu so that when i click on the arrow in the cell i can select from the menu that appears
Hi Katie,
Welcome to Apple Discussions and the Numbers '09 forum.
Numbers vocabulary for this feature is a "Pop-up Menu". It's available as a Cell Format, and is set and edited in the Cell Format Inspector.
See "Using a Checkbox, Slider, Stepper, or Pop-Up Menu in Table Cells" starting on page 96 of the Numbers '09 User Guide.
This guide, and the equally useful iWork Formulas and Functions User Guide are available for download through the Help menu in Numbers.
Regards,
Barry -
What is the best way to create a drop down Menu
It is my frist time using Dreamwaever CC and i was wondering if there was a jQuery UI widget that could make, creating a drop down menu easir.
*Best* is subjective and depends on what you require.
For multi-level CSS drop-menus, this one is nice:
DEMO:
http://www.red-team-design.com/wp-content/uploads/2011/11/css3-animated-dropdown-menu-demo .html
TUTORIAL:
http://www.red-team-design.com/css3-animated-dropdown-menu
RESPONSIVE:
Project Seven Responsive Tabs (commercial DW Extension)
http://www.projectseven.com/products/tools/tpm2/tutorials/responsive/index.htm
Pop-Menu Magic3 by PVII (NEW commercial DW extension)
http://www.projectseven.com/products/menusystems/pmm3/index.htm
MEGA MENUS:
http://www.designchemical.com/lab/jquery-mega-drop-down-menu-plugin/examples/
Nancy O. -
I need to create a drop down menu in dreamweaver using my own button, I do not seem to be able to to this using spry. I have tried fireworks but the buttons do not work properly. Can any one help
Have a look here http://foundationphp.com/tutorials/sprymenu/customize1.php
Gramps -
Drop down menu appears with a bunch of icons on it which blocks the screen
When I try to enter a URL or address into the window at the top of the Safari screen in Yosemite, a drop down menu appears with a bunch of icons on it which blocks the screen. I need to see the screen when I'm entering a URL line. How do I get the drop-down with the icons on it to go away?
-
Is it possible to create a drop down menu using form fields rather than text?
Is it possible to create a drop down menu using form fields rather than text?
Yes, correct - values of form fields. If one is blank, then the field would be blank - yes? If two or more have the same value that is fine.
A standard dropdown ... As shown here. If there is an easier way to do this, I'd love to hear your suggestions. Thank you! -
How can I create a drop down menu from an array
Hello all,
I am attempting to create a subvi that allows the end user to add a part number to an .txt file, and assigns that part number a value than can be used to select one of two modes of communication to be used to write to a EEPROM. I am using the "write key.vi" and the "read key.vi" to create and read the .txt file. What I would like to do is is use "get section names.vi" to read all of the part numbers and dump them into a drop down menu after the end user generates the file using the subvi.
I guess my question is how do I dump a 1D string array into a drop down menu.
I have attached some semi-functional .vi's to give an idea of what i am attempting to do.
Erik
Attachments:
FirsttryPN.vi 15 KB
PNwrite.vi 16 KBPlace a Ring control on your front panel, then create a property node on the block digram. You can wire the output array of "Get Section Names" to populate the Strings[ ] property of the Ring.
Retrieve the specific string selected by the operator by wiring the Ring control to the Index Array function.
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness -
How do i create a drop down menu???
This is nothing to do with creating a run-time menu, rather it is to do with creating a sort of drop down or drop up menu selection with three or more options. I want to have a button at the buttom of the front panel, when you click on it, a menu which contains some options should appear (kind of Start button menu in Windows), and after chosing one option it disapears (the menu). How do i do it in LabView. Thanks
you can create an event structure that will trigger an event upon a button hit. Now you will have to be careful when using an enum if you want to populate it dynamically. You cannot write directly to the strings property of an enum. I would suggest using a text box and right clicking on it to create a property node. Once you have created the property node then write to the strings property and you will be able to write an array of strings. You can programmatically remove your options from that array before writing it based on what button was hit. Hope this helps.
BJD1613
Lead Test Tools Development Engineer
Philips Respironics
Certified LV Architect / Instructor
Maybe you are looking for
-
Can a family have multiple iClouds, with 1 iTunes acct?
We are a family of 4 apple users. I want us to share the same iTunes acct with one way to purchase items, but I want us each to have our own iCloud login for backing up our devices. How can this be done? Also, would we be able to access or see each
-
Manipulation to reset an iPod Shuffle earlier models
Hello everybody, I've a problem with my ipod, It will no longer charge and no longer connects to itunes I'm sorry for my english Thank you, for your help
-
I am having a constant problem with my iMac finding my wireless keyboard
Can someone help with my problem? My PPC repeatedly cannot find my wireless keyboard
-
How to clear invoices posted in foreign currency in APP VERY URGENT
Hi Sap Gurus, I have posted 2 invoices , one is in inr (local curcy), another one in usd and i have run the app using the t.code f110 local currcy incoive was cleared but usd curcy invoice went to exception list Why this happened? how can i clear for
-
Hyperion IR client 11.1.2.2 is not connecting to database
Hi, I've installed EPM 11.1.2.2 Interactive reporting client on 32 bit windows XP machine. The oracle client installed is 9.2.0. The IR client just throws the error "Oracle Error -1: ORA-12154: TNS could not resolve the connecter identifier specified