Optimize vi response to tag changes

what is the best way(fastest response time) to get tag values into a vi?? I made a vi with three loops monitoring boolean transitions. One loop used a front panel indicator with HMI wizard and local variable. This loop had a timer set for 25ms. Another loop used a read tag with constant input of .025. The third loop used the trend tags vi with .025 time constant. I then used the get timestamp vi to read when the transitions occur. The read tag loop was usually the fastest to notice transitions of the boolean value. Sometimes it was 50ms faster, average was around 17ms faster for read tag loop. When the tag turns off, I need to read 500 analog tags in less than .75 seconds. Data is coming into the tag engine through an OPC s
erver and plc over ethernet. Is the tag engine designed for this fast of response time??
Attachments:
speed_test.vi ‏144 KB
analyze_speed_test_results.vi ‏45 KB

Hi,
The most efficient way to write to the tag engine is using the Write tag.vi. However you have to have in mind that the LabVIEW DSC code is not the only part responsible for the communication between your PC and the PLC, the speed at which the OPC Server communicates to the PLC is crucial to accomplish your goals, so make sure that your phisical connection is able to handle the poll rate defined in the OPC server.
Also, performance is something very particular to each system, it will depend on the speed of your processor, how much memory you have available as well as how fast is the connection between the PLC and the PC, so there is only one way to find out if you can achieve what you want in your particular system, trying to implement it.
Andre O
liveira

Similar Messages

  • ITunes 11 Edited Tags Changing/Reverting

    Hello,
    I have an iTunes collection that has been building since 2006. I divide my music into a few categories using the "grouping" tag. Often times when I edit the "grouping" tag I am overwriting either the label or a web address which had been previously added to that tag. I also use Mixed In Key software to analyze my music before adding the music to iTunes. Mixed In Key enters the key of the song into the "comments" tag and the BPM into the "BPM" tag.
    I have been doing this for years and lately I have began to notice a problem. On some songs (most songs don't do this), when the song is played iTunes "refreshes" the tag and often times the "grouping" tag changes or reverts back to the info that was previously in the tag, such as the label or web address.
    Further, sometimes the key that is written in the "comments" field will change to a long code of digits... something literally like 00007658935482748193.. Always beginning with several zeros.
    Is there anything that I can do to have iTunes hard rewrite these fields so that they do not change by themselves?
    Thanks.

    Yes, others are seeing this. Something in purchased media (I am pretty sure this has only happened with purchased media) is periodically checking back with the iTunes Store and resetting the tags in the iTunes library file but not in the actual media files (metadata are stored in both).  I haven't seen a truly systematic diagnosis of the issue (I use an old iTunes and have no iTunes account so I can't test anything myself).  There are temporary workarounds but tags will still revert after a time.
    Something to try (post by turingtest2) - https://discussions.apple.com/message/26454072#26454072
    If the above doesn't work:
    2014 discussion about edited tags for Store purchases reverting to originals - https://discussions.apple.com/message/26077896#26077896 - edited tags are still present in the media file but revert to the originals in the iTunes library file.  Workaround is to refresh tags so media file tags are re-read and used in library file.
    https://discussions.apple.com/message/26193185#26193185
    https://discussions.apple.com/message/26335620#26335620 - user ended up rebuilding iTunes library from scratch
    Send feedback to Apple about this so they know it is an issue they need to investigate: 
    http://www.apple.com/feedback/itunesapp.html
    Don't expect an immediate solution but maybe the next time they update the software it may be resolved.

  • ID tag changing using iTunes

    Greetings, all - Still not sure about the ID Tag thing.
    I know if I'm looking at my iTunes library, I can select a song or group of songs and use "Get Info" to change information about the song(s). What I'm wondering is, when I do this, does it actually change the ID tag within the song file or does it just change some table in iTunes somewhere leaving the song file unchanged?
    Occasionally, I will purge my iTunes library and add all my songs again.
    I have tried a couple third-party tag change like Jaikoz but for some reason it won't run on my eMac now. I was hoping that iTunes would make changes to the actual ID Tags of the songs so I don't have to bother with a third party app.
    Thanks in advance,

    Yes, iTunes changes the ID3 tags in the physical files. There is no need for you to use a 3rd party application.

  • How to response the value change of slide bar only after mouse released

    Hi, all
    When I used the slide bar to control my device, I response the value change of slide bar and set the new value to my device. But it will generate response constantly when I use the mouse to drag the pointer, which is not my wanted. I just need to response only after the mouse released. How can I implement this function? 
    Hope your suggestion, thanks a lot.
    Solved!
    Go to Solution.

    No, not if you use the right event under "Mouse".
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx

  • I have an Iphone 3gs. I can't get it to sync. Every time I try I get the response 'waiting for changes to be applied'. I've tried doing a reset but it still won't sync. Any ideas?

    I have an Iphone 3GS. I can't get it to sync. Every time I try I get the response 'waiting for changes to be applied'. I do not have voice memos. Any suggestions?

    This is a user forum, not a channel to address Adobe. As your fellow users and volunteers, we'll be happy to help you if we can.
    You can download the CS6 trial version just like anybody else.
    Once you download it, you can install it, input your serial number, register it and apply all necessary updates.
    An alternative, if you know how to access your Adobe account, under My Products you'll find your Photoshop CS6 registration, next to which you should find a link to download CS6 if you originally bought it as a download

  • ID3 tags change when copying Vision:M to

    After tagging all my music using Tag&Rename as well as the Software provided with my zen, I transferred all my music to my Zen.
    Now when I transfer it back to my PC, all the track and album names are the original ones before I changed them.
    Why is this and how can I change them back?

    <FONT face=Helv size=2>
    Use Creative MediaSource instead.
    - Launch Creative MediaSource Oragnizer.
    - Go to Tools->Settings->PC Music Library and click Properties. Set your preferred folder and file naming convention. Close the setting page.
    - In the Sources window, click to view PC Music Library.
    - Go to View->Right Panel View and select to view your MP3 player.
    - Transfer the tracks from your MP3 player to MediaSource's PC Music Library by clicking the arrow pointing from right to left.
    - If you have updated the track information of the tracks in your MP3 player, the updated track information will also be imported into the PC Music Library database. However, the tags of the files are not updated. Here is what you need to do. Right click the PC Music Library node in the Sources window or right click on any tracks in the PC Music Library window and select "Update Tag". This will update the tag of all the tracks or the selected tracks with the track information as seen in the PC Music Library.

  • Webservice response (XML response) with tag not mandatory

    Hello all,
    I have a problem with a webservice response.
    I implemented a wsdl who created some method to call webservices (Methox X, Y ,Z).
    I call the method 'X' with a table of string who have3 values in input, and I have in a  XML Answer of the webservice call that :
    <tag1> Value 1.1
    <tag2> Value 1.2
    <tag3> Value 1.3
    <message>OK
    <tag3> Value 2.3
    <message>KO
    <tag1> Value 3.1
    <tag2> Value 3.2
    <tag3> Value 3.3
    <message>OK
    Tags 1, 2 and 3 are not mandatory in wsdl (Min occurs = 0).
    In output of the method 'X' (created by wsdl implemantation) a ABAP structure with that :
    ValueTag1 | ValueTag2 | ValueTag3 | message
    Value 1.1 | Value 1.2 | Value 1.3 | OK
    Value 3.1 | Value 3.2 | Value 2.3 | KO
    No value. | No value. | Value 3.3 | OK
    I expect to have logically:
    ValueTag1 | ValueTag2 | ValueTag3 | message
    Value 1.1 | Value 1.2 | Value 1.3 | OK
    No value. | No value. | Value 2.3 | KO
    Value 3.1 | Value 3.2 | Value 3.3 | OK
    SAP put into the line 2of the structure, data of 3rd response because it dont found tag in the 2nd response.
    If i do my call, value by value and i concatenate anwsers, i have no problem.
    I dont understand the error and i cant find SAP note on the subject.
    Someone know ths problem ?
    Thanks.

    Hello,
    I have a wsdl file who describe webmethod and his parameters.
    I implemented this wsdl into a client proxy.
    SAP create automatically some CLASS, METHOD, STRUTURE.
    I call one of this method to ask the webservice.
    A XML flow sent and the webservice respond to me with a other XML flow.
    The XML flow response his automatically transforme by SAP, and i receive it into a structure in output of my method.
    Example :
    CREATE OBJECT XXX
      EXPORTING
        logical_port_name = `ZZZZ`.
    CATCH cx_ai_system_fault INTO fault.
      RAISE EXCEPTION fault.
    IF XXX IS BOUND.
      TRY.
        XXX->METHODYYY(
                EXPORTING
                   input =  ii_input
                IMPORTING
                   output = oo_output ).
       CATCH cx_ai_system_fault INTO fault1.
         RAISE EXCEPTION lr_fault1 .
       CATCH Error_ws INTO fault2.
         RAISE EXCEPTION lr_fault2.
       CATCH cx_ai_application_fault INTO fault3.
         RAISE EXCEPTION lr_fault3.
       CLEANUP.
      ENDTRY.
    ENDIF.
    METHODYYY was created by SAP with wsdl file.
    ii_input and oo_output and typed like structure in wsdl file.
    I can see XML flow and his content in SOAMANAGER transaction when i activate full trace.

  • Namespace tag change in receiver file adapter

    Hi Group,
    My requirement: Need to change the Namespace tag at the receiver side.
    My XML will be something like below:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:ASNList xmlns:ns0="http://www.apriso.com/SXI.GLS">
       <EventData>
          <SenderName>Test</SenderName>
          <ReceiverName>Test</ReceiverName>
          <TimeUTC>10:00:00 IST</TimeUTC>
       </EventData>
       <AdvancedShipmentNotification>
          <ID>ASN</ID>
       </AdvancedShipmentNotification>
    </ns0:ASNList>
    I need to transform the message like below;
    <?xml version="1.0" encoding="UTF-8"?>
    <n1:ASNList xsi:schemaLocation="http://www.apriso.com/PMI.GLS SXI.GLS.ASN.xsd" xmlns:n1="http://www.apriso.com/SXI.GLS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <EventData>
    <SenderName>LES</SenderName>
    <ReceiverName>OSS</ReceiverName>
    <EventTimeUTC>2001-12-17T09:30:47.0Z</EventTimeUTC>
    </EventData>-
    <AdvancedShipmentNotification>
    <ID>ASN</ID>
    </AdvancedShipmentNotification>
    </n1:ASNList>
    I have tried to achieve by writing a UDF, all seems to be fine but the "XML is not well-formed". Below is my UDF code:
    public String setNSDeclarations(String a,String b,String c,Container container){
    StructureNode node = ((StructureNode) container.getParameter("STRUCTURE_NODE"));
    node.setNSDeclarations(" xmlns:" + c + "=" + b);
    node.setQName(a + "ASNLIST");
    return "";
    Please suggest if there is any other way to achieve this requirement.
    Regards,

    Hi Hanumantha,
    XMLAnonymizerBean should work for your requirement, please refer the below blog
    Remove namespace prefix or change XML encoding with the XMLAnonymizerBean
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/07/10/handling-namespaces-in-pi-using-xmlanonymizerbean
    http://scn.sap.com/people/gabrielsagayaselvam.panneerselvam/blog/2009/12/07/standard-adapter-framework-modules-afmodules-in-pi-71-part-1
    regards,
    Harish

  • Tags Changing?

    I have a Coldfusion website that is pulling all content from
    a MS Access Database. I have a backend administration site to allow
    website admins to go in and post new/updated code and submit it
    back to the database. The admin puts the new code in a text area
    box and clicks submit. The problem is that some tags such as
    "Script, Object, or Embed" are all changed to "InvalidTag" when
    submitted to the database. So <script></script> turns
    into <InvalidTag></script>
    I have this site running on my Coldfusion server with no
    issues, but now that I have transfered it to a new host it wont
    work. Of course they say it my code and I say it's theirs. To me
    its seems like a security feature on the server side preventing
    certain tags from being posted. Any ideas? Thanks for any light you
    can shed on this!!

    Think I found the answer if anyone is interested. Here is
    what I wrote my hosting company:
    I have done some research and have discovered the resolution
    here
    http://www.coldfusionjedi.com/index.cfm/2007/1/5/Where-the-heck-is-InvalidTag-coming-from
    "Either your ColdFusion Admin has Enable Global Script
    Protection turned on or your Application has scriptProtect set to
    true. This would be set in either the CFAPPLICATION tag or the This
    scope of your Application.cfc file."
    I do not have scriptProtect set to "true" in my cfapplication
    tag.
    Can you resolve this issue? Let me know, thanks

  • Lync freeze (not response) when press ` ( change language key)

    ref
    https://social.technet.microsoft.com/Forums/office/en-US/68ac31b0-0228-416c-a524-b3f356d0f010/lync-2013-client-hang-and-not-response-while-user-try-to-switch-input-language-by-grave-accent-key?forum=lyncprofile
    I  just download and fresh install from portal.office.com
    the system is clean  fresh  and  update to the most recently patch
    After this issue , I try to
    1. repair Office 2013 and Lync 2013  : the result > still freeze
    2. Uninstall office 2013 and lync 2013  -> Reboot ->  install  office/ Lync : the result > still freeze
    3. change the language key from   '  to   shif+alt   : the result > Not freeze
    4. Chage the language key  back to  '   : the result > Freeze

    Hi Pinkybear,
    This is a known issue, to work around this issue, you must select one of the other keyboard shortcuts from Control Panel.
    The related KB for your reference.
    Lync 2013 stops responding when you change input language between English and Thai by using grave accent
    http://support.microsoft.com/kb/2987778
    Best regards,
    Eric

  • Survey Response email content changes

    Hi,
    We want to make changes to Survey Response email. It's a automatic email generated by system & sent to supplier, only after supplier submits questionnaire.
    Please let me know your view on same.
    Regards,

    It is always a bad idea to send documents by email; they can easily get damaged, lost, or misdirected.
    Better use a file sharing service like Acrobat.com, Dropbox, Google Drive, etc., then share the link with the recipient(s).

  • Hr tag change colour

    hello I am trying to change my horizontal line to orange.
    i created a CSS tag style (hr) witth the type colour FF6600
    (orange), in dreamweaver it works but previewing in safari and
    firefox the line remaims grey.
    i am going about this the wrong way? any suggestions welcome.
    Thank you,
    Shontelle

    See if this answer helps:
    http://tinyurl.com/qzmjc
    This is a good link to have bookmarked - search for previous
    posts on this
    forum:
    http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamweaver
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.csstemplates.com.au
    - CSS Templates | Free Templates
    http://www.perrelink.com.au
    - Web Dev
    http://www.DreamweaverResources.com
    - Dropdown Menu Templates|Tutorials
    http://www.adobe.com/devnet/dreamweaver/css.html
    "shonts" <[email protected]> wrote in
    message
    news:e6lt1r$ii6$[email protected]..
    > hello I am trying to change my horizontal line to
    orange.
    > i created a CSS tag style (hr) witth the type colour
    FF6600 (orange), in
    > dreamweaver it works but previewing in safari and
    firefox the line remaims
    > grey.
    > i am going about this the wrong way? any suggestions
    welcome.
    >
    > Thank you,
    >
    > Shontelle
    >

  • Multiple response quiz answers changing to single response

    I am experiencing a funny problem with multiple response
    questions. Sometimes when I launch a project with a quiz- the
    multiple response questions are suddenly changing to single
    respones - even the button changes from the squares - to the round
    radio buttons. I go back and check and everything is set up
    correctly - the multiple responses are all checked and it previews
    correctly.
    It seems to randomly happen only occasionally on all my
    projects - I can't recreate it as it will just happen sometimes.
    Does anyone know if this is a common problem - or how to fix
    it.
    I'm on Captivate version 2
    Thanks
    Nat

    Have you checked for any updates for Captivate 2? It could be
    a bug that an update can remedy.

  • Random file Tag Changes

    I purchased a Zen 32GB about 6 weeks ago. I transferred all of my file from my aging Zen Vision:M. Then the fun begins. After a few days of use including adding podcasts, music from Napster and othee files, my fiel tags are beginning to randomly re-arrange. If I look in Zen Media Explorer, The tag name will have changed but if I right click on the file and show properties, the tag name is correct. For example, a podcast on science is now showing up as a Bob Dylan song. Also several tag names are completely dissapearing.
    Any thoughts?
    Per my usual success with Creative Labs CS there has been no repsonse to my emails. Before I go for a return I thougth I would see if anyone has an idea.

    thanks...this helped clean up several of the problems but not all. I will give it a second try.

  • InDesign Export to PDF -- Tags changing in Acrobat

    I am trying to create a PDF file that is accessible/508-compliant. The original file was created using InDesign. I've added tags to the InDesign Files (P, H1, H2, etc.) which I see in the Structure panel. When I export the file to PDF with "create tagged pdf" checked the PDF file has different tags <span>, <no paragraph style>, etc. I'm at a loss of how to make the file accessible for screen readers.

    Do you know about the dreaded 'Yucky Discoloured Box' Syndrome?  Sounds like this might be it, you should supply info as to how you are printing it too.
    http://indesignsecrets.com/eliminating-ydb-yucky-discolored-box-syndrome.php
    http://indesignsecrets.com/eliminating-the-white-box-effect.php

Maybe you are looking for