Come usare Event structure avendo come source event un indicator

Devo creare un Event, e per controllarlo devo usare una variabile globale. Avete qualche soluzione?
Grazie

Carlo,
puoi guardare negli esempi di LabVIEW (7.x o superiore) dove trovi l'esempio "Programatically Fire Events.vi" che mostra come registrare uno user event e come farlo "sparare" programmaticamente.
In allegato ti riporto il codice LV8 di un esempio che ho fatto che mostra come generare un evento (popup message) al variare di una variabile globale. L'evento viene generato solo quando la variazione e' maggiore di 10 in modulo.
Saluti,
AlessioD
Allegati:
VariableEvent.zip ‏15 KB

Similar Messages

  • How to transfer all the transfer structure to new source system ?

    Hello
    I have created a new source system on my BW system with new RFC connection .
    I want to replace all my old transfer structure with old source system to this new system .
    can u plz let me know how can i do this ?
    Regards,

    can u plz many help in this ?

  • My computer's power adapter is plugged into a power source, yet the indicator light is not working and my computer is not being charged.

    My computer's power adapter is plugged into a power source, yet the indicator light is not working and my computer is not being charged.

    I have the same issue.
    The magsafe goes orange for about 20 seconds, the battery shows 0% then it goes to a black X indicating no battery installed.
    With a new battery the same happens, although it can run on battery but does not charge.
    It runs fine on mains power, the green light is always lit.
    I have tried several things so far:
    1. Cleaned the magsafe contacts on cable and macbook
    2. Reset SMC and PRAM
    3. Installed latest battery update
    4. Tried new battery
    5. Put old battery in fridge for an hour
    I work in IT and am fairly confident taking it apart, what should I try next?
    Some people recommend a new battery connector, which doesn't seem to make sense as the battery has never been removed before.  Also some people say it will need a new logic/motherboard.
    Any experts here managed to sucessfully fix one of these?

  • How to view the directory structure of JS sources in debugger?

    I'm a web developer and want to use Firefox, but am used to using Chrome for debugging.
    In Chrome debugging tool (hit F12 -> click 'sources' tab in top of the web dev window), you can clearly see the entire Javascript directory structure of the site you're visiting, and can collaps/expand directories nicely. How can I view the javacript directory structure in the Firefox debugging window? I can't do what I do without being able to easily navigate the filestructure of the website, but in the Firefox debugging window, all I can see is what appears to be javascript files in random order.
    Thanks!
    Josh

    Hi Josh,
    Thank you for your question. I understand that you would like to see the javascript directory structure in the Firefox debugging window. I am happy to help.
    When you open Tools > Web Developer > Web Console and select the "Debugger", there are a list of js files loaded with the current viewed page.
    Try [https://getfirebug.com/firstrun#Firebug%202.0.2 Firebug] its script tab has a hierarchy of js files.

  • Not getting event for Indicator

    Hi..
    I am running 2 while loops. One handles the events. Other update the data. I created one event with value change for numeric indicator. On updation of the indicator it doesnt generate the event.. I need to generate the event on value change. is this not possible?
    Thank you,
    Ranjith

    That VI qualifies for Rube Goldberg Code. if you want Numeric 3 to update when there is a change in Numeric 2, just create an Value Change event for Numeric 2 and wire Numeric 2 to Numeric 3 inside the event. No need at all for the second loop. Also, put your stop button in value change event.
    Message Edited by Dennis Knutson on 07-10-2008 09:10 AM
    Attachments:
    Simple Event.PNG ‏4 KB

  • OJ Pro 8000 A809n - Printer comes on with lights indicating paper jam

    OJ Pro 8000 A809n - Printer comes on with CONTINUE and POWER lights flashing. I press CONTINUE and it feeds a sheet but top of sheet passes thru the print area and stops halfway down the sheet. I press CONTINUE again and it ejects the sheet but the lights flash again. I've looked all over for a tiny piece of paper jammed somewhere, including duplexer, and don't see any - even used flashlight. Have done a power reset several times and even reseated the printheads. Where are the paper sensors located on this beast? Also, any other ideas would be greatly appreciated. Thanks. 
    This question was solved.
    View Solution.

    Printer had a broken part. Part location: Open top cover and you will see 8 white rollers. Look to the left of these rollers and you'll see a white gear. To the left of the white gear you'll see a black piece of plastic with a slot in it. This black piece also has an arm sticking out to its left. (This arm rides in a slot on a white collar.) At the end of the black piece's arm there should be a piece of it pointing right up at you. This piece of the end of the arm was broken off. I fished it out from the bottom of the printer and carefully super glued it back on, making sure I didn't glue it to the white collar. Printer is now working fine.  It may not last for long, but right now it's OK.

  • Which is a better source for an Indicator, physical or logical

    Hi guys,
    this is something I was wondering -
    which is better for filtering out a value? (for example to Count measures with certain Indicator equal to Yes).
    A) Logical (check "Use existing logical columns as the source") and the use something like CASE Logical table.Indicator Measure When 'YES' Then 1 END
    or
    B) Physical (create a column and in Data Type select the Column mapping and map as
    CASE Physical table.Indicator Measure When 'YES' Then 1 END
    Physical table is the same.
    I know, it's always best to push things to DB back. But in this case, it'd be the same, it doesn't appear to me which option is better at this point.
    By the way, both of them work.
    Thanks
    Message was edited by:
    wildmight

    Both should be same. You can verify this by checking the physical sql generated by using both methods. Most likely they would be same.

  • Get the new value from an event structure block

    Hello!
    I'm using an event structure block. I've edited an event wich its event sources are an indicator an a variable (a real matrix). I want to get (to catch) the new value of the indicator and the variable from the frame placed at the left top, but the new value attribute is not a real not an integer.....is variant type. I have no idea what i have to do to catch this two values from here. Someone can post a simple example about it?
    Thanks in advance!
    Regards
    Larson 

    If the terminal is INSIDE the event structure, you'll always get the new value. It will NOT be read until the event case executes, at which point the terminal contains the new value. (If the terminal is outside the event structure, and the wire goes inside the event structure, you'll get a stale value when the event for that terminal triggers. This is expected from the dataflow.)
    Put the terminals inside the proper event case, you'll be fine!
    LabVIEW Champion . Do more with less code and in less time .

  • Event structure or case structure

    I have some case structures wired to buttons.  When each button is true, code inside the corresponding case structure executes.  `What are the advantages/disadvantages of using an event structure instead of a case structure?
    Ron Deavers, CLD

    Place an indicator for the iteration terminal of the main loop to see an obvious difference
    Your case structures must be in a loop that constanty runs. If you don't put a delay in the loop, it consumes all CPU, but if your delay is too long, it takes a moment to react to the button changes. The loop spins all the time, no matter if you press buttons or not.
    Your event structure also sits in a loop, but nothing happens until you press a button. Now the event structure triggers IMMEDIATELY, executes the event case, and then waits for the next event. The loop does not spin unless needed.
    You can even mix the functions by using a timeout event. Code in the timeout event occurs at regular intervals, but at any time, any of the other events can take over.
    LabVIEW Champion . Do more with less code and in less time .

  • Windows server 2012 R2 DC (Hyper-V Guest OS) DNS error event id 4013 in log after installing KB2975719 and/or KB2995388

    Hi,
    I just freshly installed a guest OS Windows 2012R2 on a Hyper-V 2012R2 server. Installed lots of updates and did many reboots, after that I installed the AD component. Couple of days later I'm having trouble with a RemoteDesktop server joining the domain.
    After some research I see in the DNS log the following message:
    Type: Warning
    User: N/A
    Computer: Fileserver.domain.com
    Source: DNS
    Catagory: None
    Event ID: 4013
    The description for Event ID ( 4013 ) in Source ( DNS ) cannot be found. Either the component that raises this event is not installed on your local computer, or the installation is corrupted. You can install or repair the component on the local computer,
    or contact the component manufacturer for a newer version.
    If the event was saved from another computer or forwarded from a remote computer, you might have to include display information with the events when saving them or when setting up the forwarding s .
    This message is followed up with:
    Type: Information
    User: N/A
    Computer: Fileserver.domain.com
    Catagory: None
    Event ID: 4
    The description for Event ID ( 4 ) in Source ( DNS ) cannot be found. Either the component that raises this event is not installed on your local computer, or the installation is corrupted. You can install or repair the component on the local computer,
    or contact the component manufacturer for a newer version.
    If the event was saved from another computer or forwarded from a remote computer, you might have to include display information with the events when saving them or when setting up the forwarding s .
    Type: Information
    User: N/A
    Computer: Fileserver.domain.com
    Catagory: None
    Event ID: 2
    The description for Event ID ( 2 ) in Source ( DNS ) cannot be found. Either the component that raises this event is not installed on your local computer, or the installation is corrupted. You can install or repair the component on the local computer, or
    contact the component manufacturer for a newer version.
    If the event was saved from another computer or forwarded from a remote computer, you might have to include display information with the events when saving them or when setting up the forwarding s .
    I did a restore from an earlier point, recreated the ActiveDirectory, but messages still coming in DNS log. I started from scratch with installing a new guest OS Windows 2012R2, directly after loging in first time, I installed AD component, and
    give  the server a reboot. and got the events below that looks normal:
    Type: Warning
    User: N/A
    Computer: Fileserver.domain.com
    Catagory: None
    Event ID: 4013
    The DNS server is waiting for Active Directory Domain Services (AD DS) to signal that the initial synchronization of the directory has been completed. The DNS server service cannot start until the initial synchronization is complete because critical DNS
    data might not yet be replicated onto this domain controller. If events in the AD DS event log indicate that there is a problem with DNS name resolution, consider adding the IP address of another DNS server for this domain to the DNS server list in the Internet
    Protocol properties of this computer. This event will be logged every two minutes until AD DS has signaled that the initial synchronization has successfully completed.
    For more information, see Help and Support Center at
    Type: Information
    User: N/A
    Computer: Fileserver.domain.com
    Catagory: None
    Event ID: 2
    The DNS server has started.
    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    Type: Information
    User: N/A
    Computer: Fileserver.domain.com
    Catagory: None
    Event ID: 4
    The DNS server has finished the background loading and signing of zones. All zones are now available for DNS updates and zone transfers, as allowed by their individual zone configuration.
    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    After that I create snapshots after installing every (10-15 updates), reboot, check dns log, and almost the last update, the KB2975719 and/or
    KB2995388 is giving the weird messages in the DNS log.
    http://www.microsoft.com/en-US/download/details.aspx?id=44051
    Any idea?
    Kind regards,
    Steven

    Hi Steven,
    Would you please tell us that is the event 4013 logged continuously?
    If this event is only logged after reboot or restart DNS service, then it is a normal behavior.
    As we can see Event 4, which indicates that the DNS zones have been loaded successfully.
    In addition, if Event IDs 4523 and 4524 are being logged after the Event 4013, then there is no problem with DNS service.
    More information for you:
    Event ID 4013 — DNS Server Active Directory Integration
    http://technet.microsoft.com/en-us/library/cc735842(v=WS.10).aspx
    Event ID 4 — DNS Server Service Status
    http://technet.microsoft.com/en-us/library/dd349715(v=WS.10).aspx
    Best Regards,
    Amy

  • Will "Value change" events fire when changed via ActiveX?

    I have a VI with an Event Structure defining several Value Changed events. These events are associated with various buttons on the control panel. When I work through the panel and press the buttons, the events fire correctly. However, if I connect via the COM/ActiveX control and change the control values, the button indicator light changes, but the Value Change event does not fire. Can we trigger value changed events remotely or must they be triggered via a mouse-click on the button?

    Hi Cyle,
    Please take a look at the document below. It explains why the events are not being fired.
    Event Structure Does Not Capture the Value Changed Event for Indicator Wired to Iteration Terminal
    I hope this helps.
    Sincerely,
    Feroz
    National Instruments

  • Does iPlanet 5.1/5.2 supports event change notification ?

    Does iPlanet 5.1/5.2 suports event change notificaiton? I did query against root DSE, but 2.16.840.1.113730.3.4.7 does not show up as supported control. Just enable the change log does not help.
    What is the proper way to get entry change notificaiton work on iPlanet 5.1/5.2?
    Thanks.

    Could you perhaps use persistent search? Doing persistent searches with ldapsearch is described a bit in http://docs.sun.com/source/816-6400-10/lsearch.html
    HTH,
    Mark

  • Word experienced a serious problem with the 'acrobat pdfmaker office com addin' add-in. after Office Updates.

    I cant cant use mail merge feature in Winword in conjunction with Abobe Acrobat 10 (pdfmaker add-in) after the recent Office April Windows and Office Updates.
    Here is a quick note from the event viewer:
    The program WINWORD.EXE version 14.0.7134.5000 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel. 
     Process ID: 1138 
     Start Time: 01d07dcede19c458 
     Termination Time: 15 
     Application Path: C:\Program (file:///C:/Program) Files (x86)\Microsoft Office\Office14\WINWORD.EXE 
     Report Id: 
    Microsoft Word: Accepted Safe Mode action : Word experienced a serious problem with the 'acrobat pdfmaker office com addin' add-in. If you have seen this message multiple times, you should disable
    this add-in and check to see if an update is available. Do you want to disable this add-in?.
    I do not wish to disable the pdfmaker add-in as I use it to run mail merge on WORD and send 10s and 1000s of pdfs via email to external users. I am not sure what are my options here and I wish
    someone could help me get to the root cause of the matter.
    My environment is as follows:
    Windows 7 x64 SP1
    Office 2010 v 14.0.7128.5000
    Adobe Reader MUI X and Adobe Acrobat X
    Feroze

    Hi,
    As the event log indicated, this is due to acrobat pdfmaker office com addin doesn't work well with Microsoft Word.
    I would suggest you go ahead and try to upgrade your Adobe product to the latest version and see if issue persists.
    Or contact the support of Adobe and see if there is a known compatibility issue or not.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • LSMW with 2 source structure

    Hi Expert,
    I have requirement to upload Internal Order with settlement rule.
    I want to make use of LSMW using Batch Input Recording method.
    The thing is, settlement rule can be more than one, hence, I plan to have 2 structure, similar like header and item. I can make the main IO structure and the child settlement rule structure in maintain source structure section. However, I don't know how to link it with recording because when I try to map it, I can only create one structure relation with the main recording.
    Do i need to create 2 separate recording?
    Anyone has idea how to build LSMW for such requirement? Thank you.
    Regards,
    Abraham
    Edited by: Abraham Bukit on Feb 5, 2009 11:11 AM

    you cab achaive this by transfering the same strucure data again.
    you can do transfer reord multiple times.
    http://help.sap.com/saphelp_nw04/helpdata/en/10/6400c0ee3711d1b406006094b944c8/frameset.htm

  • How to modify Source XML Structure as it is getting Fail in message Mapping

    From Client , I am Gettin Such XML Structure in XML File ...But it is getting failed in Message Mapping ,.,,
    <?xml version="1.0"?>
    <invoice>
       <Header>
          <DOCID>0001</DOCID>
          <DOCNO>0001</DOCNO>
          <INVAMT>1000</INVAMT>
       </Header>
    </invoice>
    I tried to find out few things ...
    On test of mesage mapping
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:invoice xmlns:ns0="urn:sample.com:file:file">
       <Header>
          <DOCID>0001</DOCID>
          <DOCNO>0001</DOCNO>
          <INVAMT>1000</INVAMT>
       </Header>
    </ns0:invoice>
    This mapping is getting successful.
    So Problem I found Is difference in Sender File Structure from autogenrated Source Structure in Test tab :  
    </invoice>
    and
    <ns0:invoice xmlns:ns0="urn:sample.com.com:Invoice:DB">
    Please Suggest : What to do ?
    How to add this ns0: before INVOICE and :ns0="urn:sample.com.com:Invoice:DB" after INVOICE in Source Structure.
    I am using PI 7.0
    regards
    Prabhat

    Hi Prabhat,
    the easiest way is to make the field XML Namespace of the source Message Type blank.
    Regards,
    Udo

Maybe you are looking for

  • Code for Embedding Quicktime Movies in Web Pages-Question

    I have been embedding QT movies in web pages for years. I used to use the embed and object tags, but due to the problems with the default settings of IE7, in regards to ActiveX, I recently changed to the javascript method. I will paste sample code be

  • Is onRequestEnd.cfm mandatory ?

    Is onRequestEnd.cfm mandatory if Application.cfm is defined?

  • Free Text with Grid

    Hi, I have requirement to display Text and Line item in a GRID (in popup window) ie In the Screen Free Text :xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx                 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx                 xxxxxxxxxxxxxxxxxxxxxxxxxxx

  • PLS help, iTUnes is over 100G on my lap top!!!

    First of all great show introducing iTunes Pluss (256 AAC with no DRM). Finally I will start buying music also instead of ripping them myself! The lack of good controls for the library has suddely become a very urgent issue for me. My iTunes is now o

  • Clearbox Lightbox, text alignment

    Hi experts! I have this problem I need some help with. I want my text below the pictures which works fine, but as soon as I add more thumbnails and get multiple rows the textbox doesnt follow, but stays put, so it shows on top of the thumbnails. I wo