How can I 'click' on a "latch" mechanical boolean in an event case?

Since I can't set true of false to the local variable of latch mechanical boolean, how can I click the boolean in an event case?

LUX_ wrote:
1. I can't make the value change event work (the second option of the solution posted by smercurio...)
2. The occurrence does not work as I thought it would be. I need to stop the timer if user change to other mode within that 7 minutes period (my test.vi set to 10 seconds).
The value change using a signaling property only works if you actually have an event assigned to that value change. You currently don't!
I am not sure why you complicate things with the occurrence. You don't need it. (the wait for occurence prevents the the loop from e.g. checking the elapsed time). THe code is way too convoluted.
I think all you need is one loop utilizing the timeout of the event as wait timer (and one to randomly cause faults). See attached for a rough draft. modify as needed. As you can see, you don't need all these locals and hidden controls.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
testMOD.vi ‏18 KB

Similar Messages

  • How can I click on a photo to enlarge it in a separate box?

    How can I click on a photo on my webpage and show an enlarged photo of it?  Everything I read points to "thumbnails" under "slideshows".  I do not need a slideshow, just an enlargement with a text box.  Help.

    If Thumbnails or Lightbox slideshow widgets do not fit your purpose and if its just a placed image on a page that you'd like to show an enlarged version of when clicked, you can simply use the Hyperlinks -> Link to File option to link it with a larger version and select the option to Open the link in a new window or tab from the Hyperlinks tab in the Control bar.
    Following the above method would not allow you to place a text box as its just a static asset that you are linking to, however, you can choose to add the text in an Image editor program (or even Muse for that matter), save and link it. Or you could place the enlarged image on a separate page with text and everything and link the image to the page.
    Thanks,
    Vinayak

  • How can I click on a button and make a text box appear or disappear

    How can I click on a button and make a text box appear or disappear?
    Thanks ahead of time for your help,
    Doug

    Hi Denes,
    I just thought that the example you pointed the OP to, is far more complex than what I understood he needs. The OP was talking about using a button, which I thought was a very basic and simple case. Your example is much more complicated. If memory serves, the radio group item, at the time (prior to 3.1 fieldset) behaved differently, so you needed to create a new value retrieving function, and then was the need to preserve the items show/hide status upon reloading the page. In short, I thought maybe I didn’t see the complexity in the OP post, but it seems that his requirement was indeed a simple one.
    Regards,
    Arie.

  • I Use Too Use A Redeem Card For My ITunes then I Used A Visa Card how Can I Click None Again ?

    I Use Too Use A Redeem Card For My ITunes then I Used A Visa Card how Can I Click None Again For The Payment Style ?

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your iPhone then try tapping on your id in Settings > iTunes & App Store (Settings > Store on iOS 5 and below) and select 'View Apple ID' on the popup - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918
    If you don't get the 'none' option on the payment's screen then do you owe iTunes anything or have a pre-order or subscription due : http://support.apple.com/kb/TS5366 ?

  • How can a click box support CTRL/SHIFT/ALT in Captivate?

    Hi all,
        How can a click box support CTRL/SHIFT/ALT in Captivate ?
        i.e., It can support click, double click, and right click, can it support "CTRL/SHIFT/ALT" when clicking?
        I need this feature because some user operation requires this.
        We're using Captivate 5.
        Could anybody give me some suggestion?  Tahnks.
    Joseph

    Although you can add Ctrl, Alt and Shift shortcuts to click boxes, they may or may not work, depending on the context where the presentation is running.
    The following comments relate to Captivate 5 presentations.
    If you publish the presentation as an exe file, Shift and Ctrl click boxes will work, but not Alt click boxes. Right-clicks won't be detected, either.
    If you publish as htm + swf for viewing in a browser, you can avoid the right-click problem, but which  shortcuts get detected depends on which browser is being used.
    I have tested Internet Explorer, Firefox, Chrome, Opera and Safari, with the following results:
    Alt: No browser passes Alt shortcuts through to the Flash player. If the Alt shortcut is meaningful to the browser itself, that's what happens (e.g., Alt+T will display the Tools menu in Internet Explorer; otherwise nothing happens). Note: Alt click boxes work when you test the presentation in an F8 preview window, but they don't work when the presentation has been published, so the F8 preview is misleading.
    Ctrl: All except Internet Explorer pass all Ctrl shortcuts to the Flash Player, so they are generally safe to use if you can ensure the user will not view the presentation in IE. IE keeps most Ctrl shortcuts for itself, but there are a few (e.g., Ctrl+G) that IE passes to Flash, so you can use Ctrl+G freely, knowing it will work in every browser. Ctrl+M and Ctrl+U are two others
    Shift: All, including Internet Explorer pass Shift shortcuts to the Flash Player. I have sometimes therefore set up a simulation with click boxes that look for a Shift+ shortcut key instead of Alt+, and included an apologetic prompt to tell the user to do so.
    It's a mess! It is essential to test your simulation in whatever environments it will be used in, and adapt it if some shortcut you really want to use doesn't work.
    Trevor

  • HT201317 How can I move a file in photo stream to an event in iPhoto?

    How can I move a file from photo stream to an event in iPhoto?

    Select photo stream on the left panel in iPhoto, then drag and drop the photo from photo stream to Events on the top left under Library.  If you then want to move it to a specific event in your library, click on Events, locate the photo and drag and drop it on the event you want to add it to.

  • How can I add a contact on the calendar for an event

    How can I add a contact on the calendar for an event

    It is between Repeat and Alert on my iPhone 5 with iOS 6.0.1
    I used the + on the top right to add the event and when you look vertically starting with the name, followed by location and then time the rest of the default things includ Invitees, among other items. 

  • How can I hide the time of the day in calendar events in OS 10.9?

    How can I hide the time of the day in calendar events in OS 10.9?

    Currently, the order in which the phone numbers appear (in a contact) is dependent on the sequence to which you enter them. There is no way to change that order other than re-entering them in the desired order.

  • How can I buy apple watch  for the space black stainless steel case and the black sport band for one order?

    How can I buy apple watch  for the space black stainless steel case and the black sport band for one order?

    Unfortunately no. I asked the same question when I went to the local Apple Store for my "try on" and as of now you would have to order the watch with the metal link band and the black sports band separately.

  • How can i make Apple review a refund for a delaminated bottom case of my macbook november 2009 model? They more than implied that it is a design flaw anyway

    How can i make Apple review a refund for a delaminated bottom case of my macbook november 2009 model? They more than implied that it is a design flaw anyway. They make it so hard to send a possible review of such.

    http://www.apple.com/support/macbook-bottomcase/

  • How can I click Acrobat Form button from VB (Excel Macro)?

    I may be asking in the wrong forum, but I'm at my wit's end and think just about anyone with VB experience would be able to tell me what I'm doing wrong. Is there a forum for interapplication/ VB/ forms questions?
    Suffice to say, I know very little about VB (or any of the other languages behind the software), but I've adapted code which has allowed me to get almost everything I need done, thus far.
    I'm trying, desperately, to finalize a Macro which enables me to export a lot of Excel info into individual Acrobat Forms and save them all independently. This all works fine, but there is one last thing I've not been able to accomplish: I need to remote click (or 'focus on') a button in the Acrobat form in order to select the icon button (dynamically set image relevant to each individual form, base on excel cell). The button's name, in Acrobat, is 'Photo1' and it is located on the 3rd page of the form. I've several SendKeys commands in order to save each file with a unique, row specific name.
    Option Explicit
    Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
    Private Const SW_NORMAL = 1
    Public Const PDF_FILE = "Louisiana_Historic_Resource_Inventory Worksheet.pdf"
    Public Sub ClickMe()
        Application.Photo2_Click
    End Sub
    'this was an attempt to setup a sub which I'd call later...
    'all of the below stuff works fine- fills out the form, checks boxes, etc. as necessary
    Public Sub Export_Worksheet()
        Dim sFileHeader As String
        Dim sFileFooter As String
        Dim sFileFields As String
        Dim sFileName As String
        Dim sTmp As String
        Dim lngFileNum As Long
        Dim vClient As Variant
        Dim x As Integer
        ' Builds string for contents of FDF file and then writes file to workbook folder.
        On Error GoTo ErrorHandler
        x = 1
        sFileHeader = "%FDF-1.2" & vbCrLf & _
                      "%âãÏÓ" & vbCrLf & _
                      "1 0 obj<</FDF<</F(" & PDF_FILE & ")/Fields 2 0 R>>>>" & vbCrLf & _
                      "endobj" & vbCrLf & _
                      "2 0 obj[" & vbCrLf
        sFileFooter = "]" & vbCrLf & _
                      "endobj" & vbCrLf & _
                      "trailer" & vbCrLf & _
                      "<</Root 1 0 R>>" & vbCrLf & _
                      "%%EO"
        vClient = Range(ActiveSheet.Cells(989, 1), ActiveSheet.Cells(989, 90))
        Do While vClient(x, 1) <> vbNullString
        sFileFields = "<</T(Street Number)/V(---Street_Num---)>>" & vbCrLf & "<</T(Street Direction)/V(---Street_Dir---)>>"
    ''''''''''''theres a TON of the above correlations, all in the same format
            If vClient(x, 28) = "E" Then
            '     sTmp = Replace(vClient(1, 3), "-", "")
                sFileFields = Replace(sFileFields, "Cond-Excellent", "Yes")
            Else
                sFileFields = Replace(sFileFields, "Cond-Excellent", vbNullString)
            End If
            If vClient(x, 28) = "G" Then
                sFileFields = Replace(sFileFields, "Cond-Good", "Yes")
            Else
                sFileFields = Replace(sFileFields, "Cond-Good", vbNullString)
            End If
    ''''''''''''theres another TON of the above replacements, all in the same format
            sTmp = sFileHeader & sFileFields & sFileFooter
            ' Write FDF file to disk
            If Len(vClient(x, 1)) Then sFileName = vClient(x, 1) Else sFileName = "FDF_DEMO"
            sFileName = ActiveWorkbook.Path & "\Exports\" & sFileName & ".fdf"
            lngFileNum = FreeFile
            Open sFileName For Output As lngFileNum
            Print #lngFileNum, sTmp
            Close #lngFileNum
            DoEvents
            ' Open FDF file as PDF
            ShellExecute vbNull, "open", sFileName, vbNull, vbNull, SW_NORMAL
            Application.Wait Now + TimeValue("00:00:04")
            'Application.Photo2.Focus
    'PDF_FILE.Photo2.Focus
    'Application.Photo2_Click
            'Application.SetButtonIcon "Photo1", ActiveWorkbook.Path & "\Exports\" & "vClient(x, 1)" & "-1.pdf", 0
            'Application.Field.SetFocus "Photo1"
            Call ClickMe
    ''''above is where i'm trying to click the button, although I'd be just as happy if I could 'focus' on the button.
            Application.Wait Now + TimeValue("00:00:02")
            'Application.SendKeys (vClient(x, 1))
            'Application.SendKeys ("-1.pdf")
            'Application.SendKeys ("{ENTER}")
            'SetForegroundWindowap
            Application.SendKeys ("%fap")
            Application.Wait Now + TimeValue("00:00:03")
            Application.SendKeys (vClient(x, 1))
            Application.SendKeys ("{ENTER}")
            'If Len(vClient(x, 1)) Then PrintLine (vClient(x, 1)) ' Else sFileName = "_Check-Parcel"
            ''If Len(vClient(x, 1)) Then SendKeys = Len(vClient(x, 1)) Else sFileName = "_Check-Parcel" {ENTER}
            ''ShellExecute vbNull, "GetSaveFileName", sFileName, vbNull, vbNull, SW_NORMAL & vbCrLf
    '        ShellExecute vbNull, "print", sFileName, vbNull, vbNull, SW_NORMAL
            Application.Wait Now + TimeValue("00:00:02")
            Application.SendKeys ("^w")
            'ShellExecute vbNull, "close", sFileName, vbNull, vbNull, SW_NORMAL
            x = x + 1
        Loop
        Exit Sub
    ErrorHandler:
        MsgBox "Export_Worksheet Error: " + Str(Err.Number) + " " + Err.Description + " " + Err.Source
    End Sub
    I'm pretty sure one of many issues is that I don't know the fully-qualified name of the field/button, or how to properly identify it in the Macro.
    I have no doubt that my approach, if it's even possible, is clumsy and unfounded, but I am (obviously) flailing around for anything that can achieve clicking this confounded button. Any help appreciated.

    It was a button option - I haven't got access to Acrobat 8 here at home, but it was something like
    Add menu item
    File - attach to email
    When the button was clicked, the email application would open with a new email and the PDF would be attached, so you could enter the recipients email address and send.

  • How can I click to hande OVS and Search help for Web Dynpro

    Once the F4 help is clicked,  the event OVS of IF_WD_VALUE_HELP_FORWARD is triggered.
    Here  I would like to change the value list of F4 help list, I implemented a class and a method that handle that event.
    Since event only has importing parameter, how can I change the exporting paramter?
    Thanks
    Xin.

    hi,
    when you click on F4 help, Event OVS is triggered.
    now you can define an Event handler for OVS event.
    Inside this Event handler , you can change the Value help list.
    Inside the event handler there are three different phases to achieve this :
    Phase 0 :configuration phase.
    Phase 1 :Read values of the original context entered by user in Search Criteria.
    Phase 2 :  call business logic for a table of possible values.
    Phase 3 :  apply result.
    Refer the SAP Standard Component : Demo_Value_help.

  • How can i redirect to another JSP page automatically after some event

    I am developing a Tic-Tac-Toe game which can be played between two players who are on two different machines.
    When the first player comes to the Welcome page he will redirected to a Waiting Page when he clicks on the 'Start' button.
    When the second player comes to the Welcome page he will be redirected directly to the Game page, on clicking the 'Start' button.
    So how can i redirect the first player to the Game page after the second player is available for the game.
    And if i want to manage multiple instances of my game how can i do that//
    I am using JSP, javascript and MySQL for developing my project, and I am new to all these tools, but i would still like to carry on with all these only

    This is a bit of a challenge because of the nature of the web. Generally the web is "pull only" meaning that the browser has to initiate any interactions - the server can't push data to the browser if it wasn't asked to.
    The easiest way to solve this is using AJAX via JavaScript to periodically poll the server for any status changes. There are other ways (the Comet protocol is one) but they start to get a bit difficult and are still a bit new and not completely supported in a standards way. And to be honest they are still basically polling though in a more efficient way.
    Are you using a JavaScript framework? Most of the JavaScript frameworks that I've used have built in support for polling in the background. You'd have to have the JSP/servlet side be able to handle these polling requests from the browser and, when another person joins the game, the server indicates that and sends that back to the browser.
    As far as multiple instances I would have the server automatically pair up users as needed. So when the first player arrives he has to wait for another player. When the second player arrives a new game is created for those two players. Now a third player arrives and waits until a fourth player shows up. When player 4 joins another separate game is created. Presumably the conversation between the browser and the server will need to include a "game number" or other unique number so that the server can keep track of the games.

  • How can I transfer my iphoto library from a Mac OS Extended (Case-sensitive, Journaled) harddrive to a Mac OS Extended (Journaled) hard drive?

    Community,
    Every time I try to transfer my iphoto library from a Mac OS Extended (Case-sensitive, Journaled) harddrive to a Mac OS Extended (Journaled) hard drive, I receive the attached message: "You can't copy 'iPhoto Library' because it has the same name as another ideon on the destination volume, and that volume doesn't destinguish between upper- and lowercase letters in filenames."
    My theory is, if I am able to unpackage my iphoto library, I can transfer each folder one at a time so that I can trouble shoot any "duplicates." Will this work?
    Let's say that works. How can I repackage the library so iphoto recognizes it?
    Is there a better way?
    Thank you,
    Jonathan

    Can we assume that I don't have any naming conflicts? Clearly there are or else I wouldn't get the error I'm getting.
    The error doesn't mean you have name conflicts. It means that the Finder won't take the chance that you might have them.
    You're suggesting that all I would need to do would be to use Carbon Copy Cloner to transfer the files from the case-sensative harddrive to my Extended Journaled harddrive?
    Yes. But I would just use the built-in rsync shell command. First, back up all data if you haven't already done so. Launch the Terminal application by entering the first few letters of its name into a Spotlight search. Copy or drag -- do not type -- the line below into the Terminal window, then press the space bar:
    rsync -aE --delete
    Now drag the iPhoto library you want to copy into the window. You should have something like this:
    rsync -aE --delete /Users/you/Pictures/iPhoto\ Library
    Drag the Pictures folder on the destination volume into the window. Now you have this (line will wrap on the page):
    rsync -aE --delete /Users/you/Pictures/iPhoto\ Library /Volumes/something/Users/you/Pictures
    Press return. The copying operation will start. When it finishes, you'll see a new dollar-sign ("$") prompt below what you entered. If there were no errors, you're done.

  • How can I make only the shape active for the mouse events, not the whole box around it?

    I want to create mouse over events for different parts of an image (say of a hard disk drive), so when the user places their mouse over the spindle, say, it will change colour.
    At the moment I have it working however the event is triggered when ever the mouse is in the bounding box of the spindle image. How can I get it to only be triggered when it is above the non transparent part of the image (or symbol)?

    Thanks joris182, but that wont work when there are other objects within the bounding box of the transparent symbol. For example, if I want the sclera to highlight, if I use an invisible shape over it, it will be active even if someone has their mouse over the vitreous body.

Maybe you are looking for

  • Multiple SRM Systems One SRM-MDM Catalog?

    Hi I'm currently upgrading our SRM 5.0 to SRM 7.01 with SRM-MDM Catalog 7.01.  Is it possible to use one SRM-MDM Catalog in our non-production environment and connect multiple SRM systems to it? For example our sandbox, development and QA SRM 7.01 sy

  • Developer 6i and DB2 connectivity.

    I am using Oracle8i with Developer 6i. I need to connect to DB2/400 (running under OS/400) from Forms Developer 6i i have IBM AS400 Client Access (version : 3, release : 2, modification level : 0 ) installed on this machine, which is working allright

  • Won't stay connected to internet

    I bought a new macbook pro 2011 with lion osx last week.  I stay connected to the internet at home with no problem, but when i use it at work (work for government) it kicks me off every 30 seconds and i have to keep looking for and logging back into

  • How to combine Session Facade and Transfer object?

    Hello All! I'm working on an enterprise application. Presentation layer is a stand alone client, business logic is build on the Glassfish v2.1 and MySQL is used as a database. The client is connection to the GlassFishj server remotely using EJBs. I h

  • Solution: Gizmo VoIP over 3G/WCDMA with the Nokia ...

    Copied from: http://www.elisanet.fi/~y639777/sipvoip I have received some emails asking about how to get Nokia E-series working with Gizmo (SIP VoIP) over 3G/WCDMA.. So these are the steps that worked for me.. Steps: 1) first ensure that SIP VoIP is