Menu selection didnt respond

Hello all..
I got a problems when i select the menu (acquire data), the program like being stuck.  What my mistake? Can anyone help me?
thanz all
Solved!
Go to Solution.
Attachments:
1.vi ‏14 KB

I removed the while loop from the subvi and now you'll see that the acquire button gets the value from the sub VI.
On another note, all your controls 'No of TU' etc are in the sub VI. How do you intend to change/input values in them?
Can you click on the 'Kudos' button beside a reply if you want to say thanks.
Cheers
Attachments:
Copy of test.vi ‏17 KB
1-modified.vi ‏14 KB

Similar Messages

  • Handling menu selection in multi states of states machine

    Hi everyone,
    My application uses states machine architecture, I have to handle menu selection in two different states and the 2nd of them has to be handled by the event case structure.
    The problem is that when I use event structure in the 1st state it is also handled later by the event case in the 2nd state and it is impossible to handle menu selection in the 1st state by the "Get Menu Selection" block because according to it's descripton if event structure is configured to handle the same menu as item as this block, LabVIEW ignores this function.
    I would be greatful for any clue.
    Greetings,
    Mariusz
    Solved!
    Go to Solution.

    Thanks for respond.
    Here's a code explaining the main idea.
    Attachments:
    Untitled 1.vi ‏9 KB
    Enum_States.ctl ‏5 KB

  • Apple (Finder) menu do not respond

    I make a search but could find anything related to this specific trouble.
    It has happen already few time (3) after download or update a soft (QT) Apple/Finder Menu does not respond anymore to function SLEEP, RESTART and SHUT DOWN.
    I have repair permission (no result), run ONYX 1.5.3 (no result), Disk Warrior 4.0 (no result), eDrive -TTP 4.1.2- (no result)...
    The Mac (almost) never stop or put in sleep to let utilities like Onyx and TTP check/repair automatically on night.
    Since I thought it should be a corrupted preference file, I moved on desktop com.apple.finder.plist, com.apple.systemuiserver.plist and restart.
    The two first time I did that, Finder was working again normally. But this time not !
    I also try disable Application Enhancer 2.0.2 for testing and also kill the finder from Activity Monitor (an advise), through away again com.apple.finder.plist and com.apple.systemuiserver.plist.
    At restart, still no response at menu Sleep, start etc...
    Any idea what could I try now to solve that ? It's so boring !

    Hi cldjr!
    Which of your Macs are you having a problem with? The iMac or the iBook?
    What size is the Hard Drive, and how much space is available?
    How much RAM is installed, and is it original or added?
    By all means, run Repair Permissions, as Dimaxum suggested, which should be run from Disk Utility, located in the Utilities folder, while booted from the Startup Volume, not from the system disc. Instructions posted below.
    In addition, if you are able to startup from the system disc, run Repair Disk. Instructions posted below.
    If neither of those corrects the problem, reinstalling the 10.3.9 Combo Update, may correct the problem.
    When completed, run Repair Permissions once again.
    TO REPAIR PERMISSIONS ON THE STARTUP DISK
    1.Open Disk Utility, located in Applications/Utilities, and select the startup disk in the left column.
    2.Click First Aid.
    3.Click Verify Disk Permissions to test permissions or Repair Disk Permissions to test and repair permissions. (I never "Verify". Just run "Repair".)
    Rerun RP until the only messages reported, are listed here Spurious Permissions Errors Using: 10.3.x
    When "Repair Permissions" is complete. Quit "Disk Utility".
    THESE ARE THE STEPS FOR USING DISK UTILITY TO REPAIR YOUR HD
    1.Insert the System Install disk, Mac OS X CD-ROM disk, or Restore DVD disk, then restart the computer while holding the C key. Use the System disk, of the OS, that is currently installed.
    2.Once started up from CD or DVD, on the Menubar at the top of the screen, choose Disk Utility from the Installer contextual menu for Panther, or Utilities for Tiger.
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from disc to access Disk Utility.
    3.Click the First Aid tab.
    4.Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5.Select your Mac OS X volume, if necessary.
    6.Click Repair. If DU reports errors it has fixed, re-run Repair Disk until no errors are reported.
    7.Repeat steps 5 & 6, but select the Hard Drive this time. It's usually the first listed with the manufacturer's model number. Make note of the S.M.A.R.T. status.
    8.When finished, select Quit Disk Utility from the Installer menu.
    9.Select Quit Installer from the Installer menu.
    10.In the resulting pop-up window, choose restart.
    11.After the computer has restarted, you can eject the CD.
    ali b

  • Lightroom trial doesn't show complete menu selections or import button.  Also get error message on launch:  An error occurred when attempting to change modules.  I am unable to find/see the following file to try renaming the SLCache and SLStore files:  Sy

    Lightroom trial doesn't show complete menu selections or import button.  Also get error message on launch:  An error occurred when attempting to change modules.  I am unable to find/see the following file to try renaming the SLCache and SLStore files:  System Library/Application Support/Adobe.  Any ideas?  I only have 16 days left on the trial and have been unable to get it to work on my Macbook Pro.  This is all I am seeing after Lightroom opens.  Thanks!

    Thanks to both of you for attempting to help.  I finally figured out what was wrong . . . it was a Permissions problem.  Very frustrating, but after scouring the troubleshooting tips I finally found the one that solved my problem.  I had to add a User and give it Read/Write privileges to Lightroom.  The file I had to add the User to was Hidden on my Mac, so that added an even bigger challenge to the mystery.  Only a few days left on my trial version!  I hope I have time to try it out!

  • I am trying to get the most speed out of the browser, instructions say to type about:config in the address bar and hit enter, I did this. It now says to rt. click, from the menu select "New" then "Integer", I cannot find "New", I need better directions.

    when I typed in about:config in the address bar and hie enter, what appeared looked like a lot of files, pages of them, I didn't know where to right click from the menu select "New"

    Which prefs to you want to change?
    It is not recommended to change prefs in order to tweak some settings.<br />
    Do you have specific problems?

  • How do I make a drop down menu selection show up in another web page?

    What I am trying to accomplish is this.  I have a page with various drop down menu selections that I want to transfer the selection to a secured web page. What happens now is once the selection is made it goes to the secure page but then the user has to again select the choice again.  Is there way to keep the selection chosen in the linked page?

    You can set the "selected" value in the second page based on the input from the first page.
    Ignor the language referance used below for the example and simple use the concept with your desired language.
    Second Page form:
    <form id="form1" name="form1" method="post" action="">
      <select name="testing" id="testing">
        <option value="Value 1" <% if ( Passed values == Value 1 ) { %>selected="selected"<% } %>>Lable 1</option>
        <option value="Value 2" <% if ( Passed values == Value 2 ) { %>selected="selected"<% } %>>Lable 2</option>
      </select>

  • Capturing a front panel menu selection in a SubVI

    All,
          Title is pretty descriptive, so i've got a subvi that's running pretty much in a while loop and I want a menu selection from the parent VI to be able to cancel it. What i've tried so far is passing the reference to the front panel menu and then trying to detect a valuechange/mouse click/ selection etc in an event loop in the SubVI. The problem is it doesn't look like the front panel menu registers the change until after the SubVI finishes executing. How can I fix this?
    Regards,
    Ken

    Hi Ken,
    I hope you are doing well today! Before I attempt the answer your question, I
    need just need to clear a few things as to what you are trying to do. Are you
    trying to stop the while loop in the subVI from the parent VI? And, what’s the
    purpose of using a menu selection? If you can post a simple example, that would
    be great.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • "Document Numbering" & "Relate Series To Document" Menu Selection

    Hi Guys,
    I am confused with the database that I am seeing. I am currently running SBO 2007A (8.00.177) PL 38.
    I have 2 databases both are the same version 800177 but I am seeing a strange thing.
    In the one database under "Administration -> System Initialization -> Document Numbering" I am seeing two selections namely: "Relate Series To Document" and "Numbering Series"
    In the other one database under "Administration -> System Initialization ->" I just have one menu selection called "Document Numbering"
    I am confused. Can someone please tell me why for the document numbering I have seeing two different menu items and windows to define number series and assign it to the documents.
    Thanks very much.
    BR,
    Jimmy

    Hello,
    Can you please check in both of the Databases whether under Administration > System Initialization > Company Details > Basic Initialization Tab > Permit More than one document type per series is ticked.
    In which the above will be ticked, the two windows will show whereas where the above tickbox is not checked the one window of Document Numbering will be shown.
    Hope it clarifies.
    rgds,
    Jitin Chawla

  • File Upload/Menu Select Option

    I have a form that needs to have a combination of a file
    upload or a menu select option. The client I have been
    working with wants to use an insert form to insert a new
    record. If the file that they want doesn't have the filename
    their looking for in the menu list, they want to use the
    option of uploading a file. I'm having trouble combining the
    processing script for this and was wondering if anyone can
    help me put this together; it's an interesting challenge.
    PHP:
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
    $editFormAction .= "?" .
    htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) &&
    ($_POST["MM_insert"] ==
    "form1")) {
    define('UPLOAD_DIR', '../../photos/staff/');
    $file = str_replace(' ', '_',
    $_FILES['staff_photo']['name']);
    $permitted = array('image/gif', 'image/jpeg',
    'image/pjpeg', 'image/png');
    $typeOK = false;
    foreach ($permitted as $type) {
    if ($type == $_FILES['staff_photo']['type']) {
    $typeOK = true;
    break;
    if ($typeOK) {
    switch($_FILES['staff_photo']['error']) {
    case 0:
    if (!file_exists(UPLOAD_DIR.$file)) {
    $success =
    move_uploaded_file($_FILES['staff_photo']['name'],
    UPLOAD_DIR.$file);
    if ($success) {
    $insertSQL = sprintf("INSERT INTO staff (staff_name,
    staff_position, staff_subposition, staff_desc, staff_photo,
    staff_spec_1, staff_spec_2, staff_spec_3, staff_spec_4,
    staff_spec_5) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s,
    %s)",
    GetSQLValueString($_POST['staff_name'], "text"),
    GetSQLValueString($_POST['staff_position'], "text"),
    GetSQLValueString($_POST['staff_subposition'], "text"),
    GetSQLValueString($_POST['staff_desc'], "text"),
    GetSQLValueString($_POST['staff_photo'], "text"),
    GetSQLValueString($_POST['staff_spec_1'], "text"),
    GetSQLValueString($_POST['staff_spec_2'], "text"),
    GetSQLValueString($_POST['staff_spec_3'], "text"),
    GetSQLValueString($_POST['staff_spec_4'], "text"),
    GetSQLValueString($_POST['staff_spec_5'], "text"));
    mysql_select_db($database_wvgsadmin, $wvgsadmin);
    $Result1 = mysql_query($insertSQL, $wvgsadmin) or
    die(mysql_error());
    if ($Result1) {
    $insertGoTo = "staff_list.php";
    if (isset($_SERVER['QUERY_STRING'])) {
    $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
    $insertGoTo .= $_SERVER['QUERY_STRING'];
    header(sprintf("Location: %s", $insertGoTo));
    } else {
    $result = "Error uploading $file. Please try again.";
    break;
    case 3:
    $result = "Error uploading $file. Please try again.";
    default:
    $result = "System error uploading $file. Contact
    webmaster.";
    } else {
    $result = "$file cannot be uploaded. Acceptable file
    type: .gif, .jpf, .png";
    HTML FORM:
    <form method="post" name="form1"
    enctype="multipart/form-data" action="<?php echo
    $editFormAction; ?>">
    <table width="80%" align="center" cellspacing="0"
    border="0">
    <tr valign="baseline">
    <td nowrap align="right">Select Photo:</td>
    <td><select name="staff_photo">
    <option selected="selected"></option>
    <?php buildImageList('../../photos/staff/'); ?>
    </select>
    <span class="small">   (If
    there is no photo
    available, please choose 'No-Phot-Available.jpg' or 'No
    photo')</span></td>
    </tr>
    <tr valign="baseline">
    <td nowrap align="right">Upload Photo: </td>
    <td><input name="staff_photo" type="file" />
    </td>
    </tr>
    <tr valign="baseline">
    <td nowrap align="right"> </td>
    <td><input type="submit" value="Insert
    record"></td>
    </tr>
    </table>
    <input type="hidden" name="MM_insert" value="form1">
    <input name="staff_photo" type="hidden" id="staff_photo"
    />
    </form>

    In this case, I think you might need to
    1) Create a transient attribute in the VO.
    2) Either create a method in AM to get the file id based on the attachment entity name/id(using PL/SQL) and set the view attribute accordingly
    or call a PL/SQL procedure to get the file id in the getter method of the transient attribute.
    Look at this forum entry to get the file id.
    How to display Attachments on OAF page for different entities
    Regards,
    Peddi.

  • Menu selection issues in Flash CS4 for Mac

    I'm having a few menu selection issues in Flash. It seems some fields are de-selecting automatically (and quickly). For instance:
    1) When I double-click a layer to change it's name, it highlights then immediately de-selects. I can only rename by right-clicking and bringing up the Properties dialog.
    2) Fields highlight briefly then immediately de-select in the Properties menu when using the Tab button to advance or cycle thru fields. I have to click on each field individually to enter dimensions/characters.
    Possibly related...
    On occasion, I'm having an issue in Photoshop where the tools are off by 30 pixels or so. Examples:
    - Paint brush affects an area approximately 30px to the right and down from the brush head.
    - Selection tool selects an area approximately 30px to the right and down from the arrow head.
    This only happens on occasion and can be fixed by restarting Photoshop. I have not had any luck fixing the problems experienced within Flash.
    I'm experiencing this on two different machines that have CS4 installed. My only guess is a conflict with a Logitech driver OR a Wacom driver, but I have uninstalled the software and unplugged the Logitech mouse and Wacom tablet to no avail.
    Long time Flash/Photoshop user.... never had a problem like this.
    Anyone else have these issues or know a fix?
    Mac OS X 10.5.7
    Macbook Pro & iMac
    Logitech Control Center 2.7.0
    Wacom Driver 6.1.1-2(RC) for Mac OS X v. 10.4 & 10.5

    Hi there,
    This is a known issue, however we have not been able to reproduce it internally. The way to fix it (assuming it's the same problem) is to change your workspace (such as resetting to a default shipping layout, and then modifying from there), as it seems as though something about the workspace is causing the problem. It could be very specific to where its layed out on your monitor(s), some exact pixel size of a panel and/or grouping - and so on. However, we haven't been able to reproduce this internally yet - only reproed and fixed similar problems - so I cannot say for sure, however changing the workspace has fixed it for the other users I've talked to seeing this one.
    If you are able to share the following about one or both of your computers and send it to jdh (at) adobe, greatly appreciated:
    * workspace XML file from the Configuration directory (before changing the workspace!)
    * description monitor layout (ie: primary on left, secondary on right... or "one" )
    * monitor resolution(s)
    * screenshot(s) of your layout exhibiting the problem
    Thanks!

  • IPhoto 7: Menu Selections Gray, Photos Don't Show

    Trying to install iPhoto 7 (iLife '08) on my dad's iMac G4 (1 GHz, PowerPC, 768 MB RAM, OS 10.4.11) -- ignore the computer info below as that's my own computer, not the one on which I'm trying to install iPhoto.
    According to the package and Apple's web site, iPhoto 7 should work on this computer. However, after installing and running iPhoto, the photo library doesn't open and almost all menu selections are gray. I have tried following Apple's instructions for rebuilding the library (holding down Command-Option while starting) and that does not happen. I have tried updating iPhoto 7 to 7.1.4 and the same things happen. I can select the Help menu. I can also select the Preferences menu item but the Preference panel does not open. I can quit iPhoto. That's about it.
    I tried rebuilding the old library (iPhoto 2.01) and reinstalling iPhoto 7. Nothing changed. I tried using iPhoto Library Manager to rebuild the library and that made no difference. I cannot manually import photos from the old library because the menu selections don't work.
    What am I missing?

    Terence -- I really appreciate the time you're taking to try to help me.
    I upgraded iPhoto all the way to 7.1.5. Nothing changed.
    Per Apple's instructions for rebuilding the photo library, I launched iPhoto holding down the Command-Option keys. Nothing changed -- the library was not rebuilt as far as I could tell.
    I tried launching iPhoto with just the Option key pressed as you suggested. Nothing changed -- no menu.
    Every time I launch iPhoto, I get the opening splash screen that, if clicked, takes me to the iPhoto page of Apple.com.
    Could this be an operating system problem? Do I need to try to reinstall OS 10.4.x and then upgrade back to 10.4.11? I would need to do an "Archive and Install" since I would be installing an earlier version of the OS over the current, older version. If I need to do that, what issues am I facing in order to get the settings (System Preferences, etc.) back to where they are now?

  • Get menu selection help

    Hi I am new to the Labview world and am having a bit of an issue with the get menu selection vi.  I opened an example (Queued Message Handler.vi) and basically copied that get menu selection setup in my vi.  Yet all i get for menu selections are null strings.  I have tried to set the get menu selection timeout to -1 then selecting a menu item.  I still get a null string from it so I know it isn't some timing issue.  I have attached a copy of my vi.  The runtime menu I was using was just File with an exit option.  There are a couple sub vi's that i made that are required to run Queue.vi but they arent really needed to see what I am doing.  Thanks for any help in advance.
    Attachments:
    Queue.vi ‏59 KB

    Hi Superseadragon,
    I recommend you to use an event-driven state machine desing pattern that combines a queued state machine and event structure into a hybrid single-loop design pattern.
    I made an example with your code but as I don't have your set up I put in commentary all the communication function.
    To close the VI click on the cross on the upper right corner like for a tradionnal application.
    You can fire an event from the run time menu. I included a case in the event structure. Have a look at it. This is not the only way to do it.
    Have fun with your algae!
    Charly
    It's always sunny in California! Certified LabVIEW Associate Developer!
    Attachments:
    SuperSeaDragon.zip ‏135 KB

  • I have tried to upgrade my iPod touch , and cant even remember to which iOS  , and it didnt respond with the upgrade and does the loading logo until the battery life is gone. I tried restarting it doesnt work. NEED HELP

    I have upgraded my iPod touch and it didnt respond to the upgrade. Cant remember which iOS i was upgrading but when i try to switch it on the apple logo comes up but than it just goes to the loading logo until the battery life is gone. I have tried restarting it , that doesnt work. I need help i am lost without my ipod please help. Any ideas besides restarting it ?

    Try:                           
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • Programmatically simulate the Get Menu Selection vi

    Hi,
    I'm using LabVIEW 8.5 base version (no event handling). I have created a custom RTM (Run-Time Menu) and use the Get Menu Selection vi wired to a Case structure to handle all the items. (Part of the handling it to put a check mark next to the selected menu item and clearing the check mark from all other items using the Set Menu Item Info vi. Too bad it doesn't do that automatically. Maybe it does in newer versions, but I digress.)
    My application can save and recall setups. When I recall a setup I would like to programmatically call the respective Case, as is done by the Get Menu Selection vi, even though the menu is not actually clicked by the user. I cannot find a way to do this. Is is possible?
    Thank you.
    Ed
    Solved!
    Go to Solution.

    Edjsch wrote:
    Thank you for your reply. It looks like there is no convenient way to "simulate" a Windows "event" with the base version. Duh! 
    I'd take that a step further and say there is no convenient way to write software without the event structure.  I don't know how people write code without it.  This limitation has been removed and the event structure comes with all versions of LabVIEW as of 2012.
    As for my virtual keyboard trick, here is a better one I didn't get a chance to check the link previously.
    https://decibel.ni.com/content/docs/DOC-15310
    With that you can call a subVI that will invoke the Alt+F or whatever to open menus.
    Edjsch wrote:
    Note that in the Get Menu Selection vi's Case structure, I had to actually clear each check mark and set the one for the current selection, since the RTM does not handle check marks automatically, as, for example, Visual Basic does. Again, maybe newer versions do.
    They do not, you are welcome to make an idea exchange for it, but I'm fine with toggling that bit myself.  But then again I can't think of a time when clicking on a checked item, shouldn't uncheck it so I can see your point.
    Edjsch wrote:
    Let me know if anyone would like to see screen shots of that area of my block diagram.
    Never post screenshots. 
    When posting code post the actual code not a screenshot.  You wouldn't take a screenshot of a text file and post it on a text language forum.  Upload the actual VI, or zip several files and upload the zip.  The exception to this rule is when uploading a VI Snippet.  This is an image with the VI embedded in it, so the source is still intact.
    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.

  • I am using the "Menu Selection With Events.vi" example alongside other while loops, When I select exit from the new menu it stops the other while loops but not the menu/event while loop

    The event driven menu example works fine and I've integrated it into my application. I have built in simple local vars to link menu selections to existing GUI buttons. The problem is that I cannot get the File-Exit menu option to switch off/terminate the application. The [1] "Stop": Value Change panel of the event structure simply switches off the other while loops but leaves the event while loop running. Add a while loop to the axample using a local var from the event while loop to terminate 2nd while loop to get the effect.
    Help appreciated, Chris

    Attached you will find a modified version of your VI.
    I documented what I did on the block diagram.You were right on you just needed to add a variable with a true wired to it.
    Have fun with it.
    Joe
    Joe.
    "NOTHING IS EVER EASY"
    Attachments:
    Menu_Selection_with_Events_%26_while_loop[1].vi ‏76 KB

Maybe you are looking for

  • Lost all my passwords in mozilla, is there a way to retrieve them?

    While looking in my security window folder of passwords I somehow inadvertent did something to lose all my stored passwords -- is there a way to retrieve them

  • Purchased songs wont transfer to Itouch

    I just got a new mac and I transferred all my old songs to my new computer and they all transferred to my Itouch fine but the new songs I bought on my mac wont transfer. Any ideas??

  • Maverick spend

    Can anyone point me in the direction of the maverick spend report? What's the code for it? Thanks in advance

  • R/3 4.6C  to SAP WAS J2EE engine

    Hi, I am new ABAP Programming and more into J2EE. I would like to know different approachs available to communicate or send data from ABAP to J2EE engine/Web Applicaiton asynchronously. I am looking for SAP WAS 6.40 Thanks in Advance

  • Volume gets low and muddy on imported songs

    I searched and couldn't find anyone with this problem. When importing a CD at 192 kbps, about 30 seconds into the first song the volume will audibily switch from crisp and clear to low and muddy. I went back and forth between the song on the CD and t