Event case with non-user action

Hi
I'm actually using LV8.0.1.
With this and older version of LV it wasn't possible to get an event case fired without an user action. (for example by changing the value programmatically.)
Is it possible in LV 8.2?
Regards
Yves

Yves,
You just missed the property node in your right-most loop.  To create a property node, right click on the block diagram control->create->property node, and then select "Value(Signaling)".  Value(Signaling) is different from "Value" in that it "signals" to LabVIEW that a change has been made, and thus an event can fire.  See the image of the code in your right-hand loop.
Hope this helps!
Message Edited by Day on 10-11-2006 09:29 AM
Attachments:
Value Signalling.jpg ‏6 KB

Similar Messages

  • LabVIEW Event Structure only accept user action?

    Hi All.
    For example, Event Struture responses to a 'BOOL Control' such as someone press the button.
    But, if I use property node to change Bool control status, Event Struture can not accept such a action?
    Why?
    Any solution for monitor variables and controls change which is not caused by user actions.
    *The best Chinese farmer*

    You can use the value signaling property node, if you want to go down the property node route. The best way would really be using user defined events and wire these events to the dynamic event terminal on the border of the event structure. You can check out the examples that ship with LabVIEW to see the VIs that you would need to accomplish this task.
    Hope this helps.

  • Can you use event case with labview real time?

    I have a real time application I am putting together and until recentally have concentrated on getting the data acquisition working as expected.
    I am using a PXI-8183 in a 1031 chassis.
    I am now trying to add the functionality for setting up the system in the form of a GUI remote front panel that I connect to with a host laptop.  I am connecting with the host as expected and it seems to be working well in that respect.
    My problem is with event cases, operating in a while loop on the target.  They just dont seem to want to trigger when i click on a button I have set an event for.
    I have looked through the documentation and cant see any reference to issues with event cases on rt, but I feel I am missing something fundamental.  Can anyone help?
    Regards,
    Barry

    look here maybe:
    http://digital.ni.com/public.nsf/allkb/42B70D2D0C4B568586256E2F0051441D
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome

  • Table control values are not able to read with out a user action.

    Hi All,
    I am working with a module pool programing and I am calling 3 sub screens into my main normal screen.
    In one of the sub screen, I have created a table control and getting the initial values from database and displaying.
    Now I try to change the couple of fields in my table control and with out user action (not pressing Enter after changing the values in table control).
    I try to save the edited/changed values in table control into the database. But I am not able to do so, since the change values are not able to pick.
    My requirement is end user will not do any action(press the enter key ) and he directly presses the save button which is defined in the main normal screen.
    Kindly suggest some solution.
    Thanks
    Geetha

    Hi Geetha,
                    in SAP Default While pressing save button the modified value will pick up because
    Save button will perform enter function also.
    Regards,
    Thangam.P

  • Clear memory of user actions

    Hi
    I am having problems with repeated user actions when labview is in the midst of runnning.  More specifically i have some buttons that say take some processing time when activated and while the computer is processing it if I press on the button again (once or a few times) nothing happens.  However once the processing of the first user action is finished then the second, third and etc... press of the button gets process, even though it had happened a while ago.  I was wondering whether i could prevent this.
    I have noticed that this occurance happens under a couple of cases.  The first is what i explained above while the second i have noticed when I have placed an event structure within a case sturcture.  The lock front panel options is off for the event structure but if the user does the event structure while the case sturcture is not satsified nothing happens ....which is good but then if the case stucture becomes true then the process inside the event structure takes place eventhough the user action did not happen again.  To illustrate this example please take a look at the attached vi.  Try pressing "mouse down" in the string 4 times and then turn the case structure true and you will see the numeric indicator increment 4 times. 
    It seems the user actions are saved in memory until labview is free to carry them out.  What i was wondering is whether i can prevent this.  The first case (paragraph) is more important than the second to me since i have able to avoid the second so far.
    thanks
    Reza_Sed
    Attachments:
    eventstuctureincasestructure.vi ‏14 KB

    I am not completely clear on what you are trying to do but it sounds as though you are performing action inside an event case which takes longer than the time between two events. (My rule of thumb: Do not put anything into an event case which would take longer than tens of milliseconds to execute.) When that occurs I take it as an indication that the action to be performed should be moved to a parallel loop outside the loop containing the event structure.
    If you have events for Start some Action, Cancel the Action, and Stop, the event loop would contain only the three cases. Inside each case would be the Enqueue function. Put into a queue the command created by the user action (Start, Cancel, Stop), perhaps as the value of a typedefed enum, and exit the case to wait for the next event.
    The parallel loop would implement the Actions. It would probably be a state machine with states: Idle, Perform the Action, and Stop as well as any other states needed. It would sit in the idle state until a Dequeue function received a command from the event loop. The Perform the Action state would need to be designed in such a way that the Cancel command would be received and acted upon promptly.
    Look at examples and design patterns for queued state machines and Producer/Consumer pattern.
    Lynn

  • User Event Case getting tied up for long duration in LV 2009 (with SP1)?

    Quick question here...is there any decent reason the user event case is getting tied up for long durations in LV 2009.SP1?  In 8.5 I never had an issue with my code doing this, though when converting to 2009.SP1 I am running into huge lock-up issues with the user event case.

    I have not seen aby issues...
    You are saying that the code from LV8.5 (unmodified) behaves differently in LV2009 SP1?
    Can you post your code?

  • Is it better to have one Event Structure with more (10 or 15) cases or several with fewer?

    I have several buttons and events on the GUI of my app to monitor. Would it be better to use one Event Structure with several cases (10 or 15) or have a couple and split the cases evenly? None of the cases have much processing to handle, so there is not a time lag issue. I am just worried about overloading the structure. One of the tech support guys mentioned that the event structures are not that hard to get confused.
    Has anyone had any problems with Event Structures?

    I use event structures very often in my code. I use them just to handle the interface and to run small code. I have had event structures that handled over 50 user interface events and never had a problem. In my personal opinion If there was any code to run I would let the event structure handle the the user interface event that fired a que in another while loop that handled the code.You can find examples on this, if not I will send you one. It is just good programming practice for beginners because it will alow you to build more robust VI's in the future.
    Hope this helps
    Joe
    Joe.
    "NOTHING IS EVER EASY"

  • Can I have multiple event structures with the same event cases?

    Hello, 
    I'm doing an application that reproduces the front panel of the HP6675A power supply. To achieve this, I have done a state machine with different states
    (initialize, measures, voltage, current, ocp, ov, store, recall, etc). In each state, should have an event structure that catches the events of the buttons, like for example: if the current state is the Voltage mode and the user press the current button the next state will be the Current mode. For this in each state of the state machine should be the same event structure with the same events.
    My problem is that the Vi doesn't work properly when I have multiple event structures with the same event cases. There are some possibily to do this, and how? Or is impossible to have multiple events? I have been reading some posts, but I don't find solutions. 
    Any help is appreciated.
    Thank you very much.
    Solved!
    Go to Solution.

    natasftw wrote:
    Or as others mentioned, make two parallel loops.  In one loop, have your state machine.  In the other, have just the Event Handler.  Pass the events from the handler to the state machine by way of queues.
    A proper state machine will not need the second loop.  The "Wait For Event" or "Idle" state (whatever you want to call it) is all you really need in order to catch the user button presses.  The setup is almost there.  Maybe add a shift register to keep track of which state to go to in the case of a timeout on the Event Structure.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Fire non-user defined event inside another event

    I want to call a normal/non-user defined event after an operation has occured inside a different normal/non-user definded event. Is this possible?
    The reason I don't want to use a user defined event is that if this can be done this way it would be much cleaner implemenation. Also, cleaner than using a sub-vi which would require a lot of wiring.

    From my experimentation with this, it appears that the fired event
    will not actually execute until the event currently being executed
    (the one that fires the other event) is completely finished. The
    "time" terminal of the second event idicates the time when it was told
    to fire, but it does not actually execute then. You cannot say do
    steps 1,2,3 in an event, temporarily leave that event to do code in
    another event, then come back to the first event and complete steps
    4,5. If the second event is fired after step #3, then steps 4 and 5
    will finish first before the second event executes. This contrasts
    with other languages such as Delphi were you can leave one event
    temporarily.
    On Mon, 25 Oct 2004 11:46:45 -0500 (CDT), chrisger o.email> wrote:
    >simple control (any type) you can write the desired value to the
    >"val(signaling)" property of the control. this changes the value AND
    >raises the "value changed" event, just like the user pushed the
    >button. then you can catch this event in the next turn of your loop.

  • Sharing icloud calendars with non icloud users

    Anyone have a suggestion on how to share my ical icloud calendars with non-icloud users?
    Can't seem to share with MobileMe - and Tungle.com doesn't support it either. What about google calendars? Would that be a good work around or end up duplicating entries somehow if they're all synced.
    Please advise.

    Ok Apple... I was sooooo excited about moving my whole team to iCloud, I've already got us setup and our upcoming events are being entered as I write. Then.... I discovered.... The fatal flaw....
    While most of my people are apple users, I still have an employee that isn't and isn't ever going to be. No big deal right, they should just get read only access while the "in crowd" gets the cool toys. Except....
    See screenshot below, I can EITHER publish read-only to a url OR share through iCloud... NOT BOTH. So in order for my one non-apple employee to see the calender, I have to give up the ability for all the others to make changes... making this calendar service just as ineffective as the one I was trying to replace!
    This would be such an easy thing to fix, but I suspect it was a conscious decision to incentivize more people to switch to all apple. Yet I just can't get everybody to do that, I can't force an employee to buy an iPhone and I sure ain't gonna pay for it. So I'm stuck. Next stop... Google Calendar.

  • HT202724 When I send a message in a group with non-iPhone users it appears as a mms, how do I change the settings so it's a sms?

    When I send a message in a group with non-iPhone users it appears as "New Multimedia Message." One of my friends in the group also has an iPhone and his doesn't appear this way, how do I change my settings so it appears as a normal text message and not an mms?

    iOS: Troubleshooting Messages - Apple Support
    Send a group message with your iPhone, iPad, or iPod touch - Apple Support
    Send messages with your iPhone, iPad, or iPod touch - Apple Support

  • Problem with non iPhone users receiving my text sent pictures. Can I make them smaller files?

    Problem with non iPhone users receiving my text sent pictures.  Can I make them smaller files? I know that is possible for email sent pics.

    My bad,  It was a Verizon problem.  When they upgraded my phone they were supposed to remove all blocks on messaging . Found out they did not do this.  All messaging now works.  Thanks for listening.

  • Sharing digital files with non Adobe users

    Can someone tell me how to share Adobe files with non-Adobe users? At the Adobe Max Conference, they mentioned that this was possible, but I'm not sure if this is something that is available now or just in the future. Thoughts, comments?
    Thanks,
    -JLUMBER

    You first need to upload the file you want to share to Creative Cloud, then through the web interface (https://assets.adobe.com/files you can select the file in question, click the "Send Link" button near the top of the file list, and then click "Create Public Link".
    This will make the file public and provide you with a link to share to your intended recipient.
    It actually works quite nicely.
    Cheers,
    Dave

  • Video chat with non mac users

    does isight work with non-mac/ non-iChat users?

    I have got it to work with iVisit (free for basic version) and a Windows XP user.
    Found at this site
    "D"

  • How to start weblogic server with non system user

    I want to start wls6.1 as an nt service with different user name other than
    system.
    Thanks
    Madhu

    I have installed weblogic server as an nt service. In install Nt service
    cmd, if I make any change in the script, I have to uninstall and install it
    again. I do not know where to specify the weblogic.management.username =(Non
    system user)
    I have created a user name in NT server and added them to Administrator
    group. I have also modified in file realm propertes i.e to boot and shutdown
    the non system user.
    I have to start weblogic server as a non system user.
    Thanks
    Madhu
    I think I replied to some of the questions when I found out the answers.
    Only thing I did was hit reply, instead of reply group. Might it went to
    persons e-mail. That might be the reason, the answers I posted is not found
    in the newsgroup
    Thanks
    freelance_code_inspector <[email protected]> wrote in message
    news:[email protected]..
    "m holur" <[email protected]> wrote in message
    news:<3bfbafce$[email protected]>...
    I want to start wls6.1 as an nt service with different user name otherthan
    system.Madhu,
    Specify weblogic.management.username={Non system user} in your -D
    option. BTW, just curious, have observed that u have been posting a
    lot of weblogic questions lately, did u find out the answers? If so, u
    should share it back to this community.
    Regards
    drit
    Freelance Java Developer/Code Inspector
    http://www.geocities.com/doc_i_t/CodeInspectionService.html

Maybe you are looking for

  • How do I connect to the gracenote database in iTunes 11?

    In previous versions of iTunes, one could retrieve track information from or send track information to the gracenote database. I cannot find a way to do this in iTunes 11. This matters because iTunes 11 has wiped out some of the data I hand entered w

  • Printing chinese characters on a Zebra printer using Adobe Interactive Form

    Hello, We have created an Adobe Interactive Forms in SAP with some words in English and another one in simplified chinese. We have defined a Zebra printer in SPAD with the AZPL203 driver. When we print the form in the zebra printer some of the chines

  • Installing second optical drive and the door hangs

    This is just an FYI post, have not been able to find anyone else with the exact same problem, but thought I would list in the event of. I originally installed an internal DVD R/RW Lightscribe drive from LaCie in a Power Mac G4 Dual 1Gig and it worked

  • How do I override expired black ink cartridge error on d145

    My All in One d145 printer started to show a black ink supply expired error.  I replaced the old black ink cartridge with a new one but it too is expired.  It was new and still in plastic so the ink should still be good.  When I get the error the mes

  • I need some hand holding...

    ok. so i'm on my computer alot, but i don't exactly know all of the names for things and how they work. anyways, my internet has been so slow lately. i use the latest version of firefox. we are on a very speedy connection (my latest test had us at 9.