What is the fastest way to detect on to off tag transition​s and then read 500 analog tags?

what would be the fastest way to read 500 analog tags from the tag engine when a boolean tag transitions from on to off?? Right now I have a boolean indicator setup with the HMI wizard in a while loop with 20ms timer. The indicator feeds the boolean crossing ptbypt vi. When the output is true, I use one read multiple tags vi to get all 500 at once. I am reading data into the tag engine through an opc server and have around 2500+ tags. I need to read all of the data in less than 100ms. My plc logic is setup to zero out all of the 500 analog tags when the boolean indicator turns on again. Would I be better off using the trend tags vi to monitor the boolean indicator??

Unclebump,
You might try using read tag.vi

Similar Messages

  • Sq01 what is the fastest way,

    hi all,
    what is the fastest way to detect coding that update to eban  from sq01?
    as i am facing problem with more than 100,000 PRs updated mysteriously (customer tab data ) without any history changes .
    i suspected it might be from query and i need to find the root cause of problem immediately
    pls advice

    Hi Ester,
    Haven't got clearly what you written.
    You mean to say, there is modifications done to query for updation?
    if it is a standard code then I don't think it is used for modification.
    Regards,
    Atish

  • What's the best way to detect that text fits into ContainerControllers without scrolling?

    Hi.
    Question
    What's the best way to detect that text typed by user (or added programmatically) exceeds available container space and find out where starts truncated part? Is there available some other (than described bellow) easy way to detect it or disallow set of controllers to receive more characters that can be displayed in given composition area?
    My partialy failed attempt (simplified)
    For example lets say that I've got an editable textflow with attached two instances of ContainerController.
    var flow:TextFlow = createSomeFlowFromGivenString(sampleText),
        firstController = new ContainerController(firstSprite, 100, 30),
        lastController = new ContainerController(secondSprite, 600, 30);
    flow.interactionManager = new EditManager(new UndoManager());
    flow.flowComposer.addController(firstController);
    flow.flowComposer.addController(lastController);
    flow.flowComposer.updateAllControllers();
    With enabled vertical scroll policy I can compare height of the composition in last controller with height of the content:
    var bounds:Rectangle = lastController.getContentBounds(),
        overflow:Boolean =  lastController.compositionHeight < bounds.height;
    trace('Content does not fit into given area?', overflow)
    But when I switch vertical scroll policy off (lastController.verticalScrollPolicy = ScrollPolicy.OFF) - unfortunately this no longer works...(In my case scrolling should be dissabled, since text areas might have only one line with restricted width)
    Use case
    I want to create fillable form. Field might have a single or multiple lines. One field might start in the middle of the page, continue in the next line where it spreads through whole page and end in the - quarter of page width long  - third line. Text typed by the user can't exceed given area since it might cover some static text that sits right after/below field.
    Something like ascii image bellow:
    |                <PAGE>                    |
    |                                          |
    |                                          |
    |                                          |
    |               [Field starts here........ | 
    | ........................................ |
    | ........................................ |
    | Ends here..]                             |
    |                                          |
    |                                          |
    | [Another field] xxxx  xxxx xxxxxxxx x xx |
    | xxxxxxxxxxxxxxxxxxx                      |
    |                                          |
    |                              [One more.. |
    | .....]                                   |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    Info:
    [......]  <-- form fields starts with '[' character, and ends with ']'
    xxx       <-- sample, static text
    | and _   <-- page borders

    I've tried something like that previously, but it didn't work because then I've got vertical scroll policy to set to 'auto'. After changing verticalScrollPolicy to ScrollPolicy.OFF  in the last container it worked like a charm.
    Thanks zhen bian

  • What is the fastest way of getting data?

    With a scanning electron microscope, I need to scan a 512*512 pixel area with a pixel repetition of 15000 (two channels), meaning averaging over 15000 measurements. Simultaneously I have to adjust the voltage output for every pixel.
    I am using a 6111E Multifunction I/O board in a 800MHz P3. The whole task has do be done as fast as possible (not more than 20 minutes altogether).
    What is the fastest way to get this huge amount of data with averaging and output in between? (E.g. do I use buffered read with hardware triggering or is there a faster way?)

    Using the NI-DAQ API (not LabView) will give you a significant amount of more control over what happens and when to the data stream; which translates to a more efficient program. But you need to program in C/C++ or Delphi then. The Measurement Studio provides ActiveX controls that are like the LabView ones for C&C++ (they�re slow like the LabView ones though � not a lot you can do about the Windows GDI).
    What are you trying to sample 15000 times? The 512*512 pixel field?
    That�s almost 15Gigs of data! And it means you need to process data at 12.8MB/s to finish it in 20 minutes. I hope you know C, x86 assembly and MMX.
    I would setup a huge circular buffer (NI-DAQ calls them �double buffers�), about 30 seconds worth or so, to use with SCAN_Start. Then I would proces
    s the actual buffer the card is DMA�ing the data into with a high priority thread. Progressively sum the scan values from the 16bit buffer (the samples are only 12 bit, but the buffer should still be 16bits wide) into a secondary buffer of DWORDs the size of the screen (512*512), and you�ll need two of those, one for each channel. Once the 15000 scans are complete, convert each entry into a float divide by 15000.0f, and store it in a third buffer of floats.
    If you wish to contract this out, send me an email at [email protected]

  • There are over 4000 duplicates in my iTunes. What is the fastest way to delete them?

    There are over 4000 duplicates in my iTunes. What is the fastest way to delete them?

    Hello there, yandere69keita.
    The following Knowledge Base clarifies your concern about your My Photo Stream counting towards your iCloud storage:
    iCloud: My Photo Stream FAQ
    http://support.apple.com/kb/ht4486
    Does My Photo Stream use my iCloud storage?
    No. Photos uploaded to My Photo Stream do not count against your iCloud storage.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • What's the fastest way to share files live between 2 Macs in the same room?

    Please can I have some advice on this scenario?
    I'll need to share HD video footage between 2 new Mac Pros in the same room. 1 Mac will be used to upload the footage and the other to edit it using FCP. The footage can be stored either on hard drives in the edit machine or on desktop hard drives connected to the edit machine (or if there is a better option I'm open to advice).
    What is the fastest way of sharing the files and what is the simplest way?
    Any suggestions would be greatly appreciated.
    Thanks in advance

    What is the fastest way of sharing the files and what is the simplest way?
    Fastest way? a fiber channel SAN connecting the two machines to a common fiber-channel based storage array. Can't beat it for performance, but it comes at a cost (think $20K as a starting point, depending on the amount of storage you need).
    Simplest way? Some external media (thumb drive, external hard drive, etc.) that you shuffle between the two machines
    Intermediate: a NAS-based storage box on your network, although be aware that real-time editing of HD video can overwhelm many low-end NAS boxes.

  • What is the fastest way to transfer files and applications from an older iMac to a new MacBook Pro?

    What is the fastest way to transfer files and applications from an older iMac to a new MacBook Pro?
    I have a Firewire cable and Thunderbolt adapter, but no icons showing either Mac appear on either desktop.

    The fastest way is to use Carbon Copy Cloner and a external drive formatted GUID OS X Ext. J in Disk Utlilty, then connecting to the new Mac and using Migration Assistant in the Utilites folder.
    Even faster, if you can determine your going to replace all the apps from fresh sources anyway (like if the older Mac's OS X verison is old thus the apps) then just use a external drive and copy just your files to it, then connect to the new Mac and transfer over.
    Some apps you can just grab the registration code and install it fresh on the new machine with the old code, talk to the developer about transfering the program, as long as it's deleted on the older Mac in the process.
    It used to be Firewire Target disk mode was fastest, but since Thunderbolt came out...
    Notice this support doc hasn't been updated since june 2012, no Thunderbolt info
    https://support.apple.com/kb/HT1661

  • What's the fastest way to kill the battery...

    hello friends. i was wondering what's the fastest way to drain my macbook pro battery so i can calibrate it? i want to kill the battery not the laptop if you know what i mean. thanks.

    Turn on wifi + bluetooth and turn the brightness all the way up, and if its a new mbp, turn off the automatic video card switching in energy saver. Then just play youtube videos / movies / games (anything that uses the vid card as much as possible helps) till it goes flat.
    Message was edited by: TiMatApple

  • What's the fastest way to change IP addresses in a Project?

    Hi folks,
    I'm using a cFP2100 controller with LabVIEW 8.2.1.  I made a project using a configuration I created in MAX.  Now I've moved the whole bank of modules to a new location, and the controller now has a new IP address via DHCP.  My question is, what's the fastest way to update the IP address for my project?  Do I have to make a brand new project with a new .iak file that has the new IP address?  I'm thinking there's got to be an easier way.
    Thanks!
    Eric

    Hi Eric,
    Since you are getting your IP address from a DHCP server, the IP address of your Fieldpoint device is ultimately dependant on the server.  If your IP address changes, you have two choices.   You can right click your target and go to properties.  In the properties under the general category, you can change the IP address of the target.  The second option is to import a new IAK file into your project by right clicking the Project Name and going to import>>iak file. 
    I hope this helps,
    Regards,
    Nadim
    Applications Engineering
    National Instruments

  • What's the fastest way to upgrade from tiger

    what's the fastest way to upgrade from tiger

    Buy a DVD for the upgrade your Mac has the hardware to support.
    Allan

  • I am using Iphoto 11 ver 9.4.3 on mac using oxs 10.8.5 i want to export calendar projects to an external hard drive. what is the easiest way to do this? i have tried export and import but it didn't seem to work.

    I am using Iphoto 11 ver 9.4.3 on mac using oxs 10.8.5 i want to export calendar projects to an external hard drive. my goal is to store them in an external hard drive so it doesn't use up memory on the mac hard drive. is it possible to copy the specific projects without copying the entire library? what is the easiest way to do this? i have tried export and import but it didn't seem to work.

    What do you not understand?
    You can duplicate the iPhoto library (command - D ) and delete everything except the project and its photos from the copy and move that
    Or
    However the calendar takes very little space - it is simpy database entries - it is the photos in the calendar that take space - and for most people you would wnat to keep those photos in your library
    you can use a photo in 50 calendars and it still is only one photo in your library - as I explained calenders do not exist as such - they are simply database entries telling iPhotop how to display the calendar - they take almost no space at all
    LN

  • What is the best way to turn emitter on/off very fast?

    What is the best way to turn emitter on/off very fast? Now we are using very slow shutdown.
    Why do we need this feature? Because it is important to solve the problem of interference, when two IR sensors are working at the same time and are grabbing the data.
    We are porting now our solution to Kinect v2 from PrimeSense/RealSense.
    I am also have a list of other questions (interpolation of data, problems with different types of surfaces, etc) and it will be great if someone can contact me by email ([email protected]), so I can
    provide link to our assets (PLY, video, shots) and detailed report about issues that we have. 
    Best regards,
    Konstantin

    There is no api to support turning on/off the emitter. The only way to stop the sensor is to call Close on the sensor/reader object. Keep in mind if there are other applications with outstanding readers/sensors open will keep the sensor on.
    Carmine Sirignano - MSFT

  • What is the easier way to turn voice controller off?

    what is the easier way to turn voice controller off?

    you can turn of the voice dial but as far as i know you can not turn off the voice controller
    if you want to turn of the voice dial just go to setting then to general after that to passcode and turn off the voice dial option

  • TS1324 What is the best way to sync my Outlook 2010 to my iPhone and iPad

    What is the best way to sync my Outlook 2010 to my iPhone and iPad.

    Note, I'm on the latest iOS - not 6.1.1 as the original post suggests.

  • My iPhone is FULL, no memory left for photos. If I move all my photos off my iPhone, will the 'ALBUMS' and their content (pics) be blown away ? Also, what is the BEST way to clear/save photos off my iPhone ? PC, ITunes, some other app ?

    My iPhone is FULL, no memory left for photos. If I move all my photos off my iPhone, will the 'ALBUMS' and their content (pics) be blown away ? Also, what is the BEST way to clear/save photos off my iPhone ? PC, ITunes, some other app ?

    I use an app called FileApp to transfer photos to my PC - I can then selectively delete photos from my iPhone and still have them on my PC - just download the app to your iPhone and follow the instructions for the accompanying program for your PC - then use your iPhone cable to connect - iTunes will also start up so just close it and you will see the iPhone storage as a drive - go the DCIM folder and open the device folder and you will see your photos.

Maybe you are looking for