How to reset collector (Signal Manipulation Express VIs)

Good day,
I have a subvi that use "collector" function to get data from a DAQ card. Everything works fine except that when I called the subvi from mainvi (the start button), the data in "collector" will keep on accumulate and will never start from the beginning. Could someone please tell me how to "reset" the collector on every call made to the subvi?
I have attached the two VI here as reference.
Best Regards,
Liew
Attachments:
mainvi.vi ‏38 KB
subvi.vi ‏833 KB

The Collector Express VI has a "Reset" input.  Wire a True to that input and the data in the collector will reset on every iteration of the loop.  If you need it to only reset at certain times, then add some logic to your loop that can accomplish the reset when you need it.
Good luck,
-D
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman

Similar Messages

  • How can I use an Airport Express to join my wireless network and provide an internet signal to my Power Mac g5 via an ethernet cable?

    I have a power mac g5 that does not have a wireless card, and connects to the internet via ethernet cable.
    I want to know how to set up an airport express so that it joins my wireless home network and provides the G5 with an internet signal.
    This via an ethernet cable that is plugged  into the airport express and then into the ethernet port on the g5.
    Please advise as I have configured the airport express in every way possible, the green light is on and when I plug the ethernet cable into the G5 my network cofigurations shows nothing and says that the ethernet cable is not plugged in (It is).
    I get an internet signal if the ethernet cable is plugged directly into my wireless router, so the ethernet port works.
    Please assist. Thanks.

    Two requirements that must be met to do what you want.......
    1) An AirPort Express 802.11n must be used. Check the Model No on the label on the side of the Express. It needs to be A1264. Any other model number will not do what you want.
    2) The Express must be configured to "Join a wireless network" and the option to enable Ethernet Clients must be checked. 
    Open AirPort Utility and click Manual Setup
    Click the Wireless tab below the row of icons
    The box to "Allow Ethernet Clients" must be checked
    Please check to verify that your AirPort Express meets both requirements

  • How to access tools create or edit express vis in LV8.20 ?

    Hi All,
                 I am a LabVIEW professional working in LabVIEW 8.20. I would like to know how Express vis are working and I am going thro' the Express vi developement manual. I don't find the item "create or edit  express vis" from the Tools. How can I access it?
    Any information to explain how express vi's are working also invited.
    Thanks,
    Pandiarajan R

    hi,
    it is called "Express VI development" and it is located on the toolkit CD we got with our developer suite, so maybe it is part of that?
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • I have a new HP Officejet 6500A plus.  I cannot get it to connect to            my Airport Extreme V5.6.  It see the wifi signal but Fails on "Filtering" and possibly the channel.  Does anyone know how to reset or reconfigure filtering

    I have a new HP Officejet 6500A plus.  I cannot get it to connect to my Airport Extreme V5.6.  It see the wifi signal but Fails on "Filtering" and possibly the channel.  Does anyone know how to reset or reconfigure filtering and channel on the old airports?

    This is a part of the larger MacBook Pro connectivity issue. There are several related threads dealing with the MBP's networking problems. If your unit is suffering from this type of difficulty, good luck ... (or a long ethernet cable)
    (PS Everybody please make noise on this one so apple comes up with a solution.)
    < Edited by Host >

  • I have Airport Extreme as the base unit and an Express unit in a room separated by a brick wall to improve signal. Express shows a green light indicating signal but my iPad does not perform well. How can I improve other than hardwire ethernet connection?

    I have Airport Extreme as the base unit and an Express unit in a room separated by a brick wall to improve signal. Express shows a green light indicating signal but my iPad does not perform well. How can I improve other than hardwire ethernet connection?

    Other suggestions, and more info about the nature of the problem, may be in this Apple tech note.
    http://support.apple.com/kb/HT1365
    For example, you might find that the brick wall is not the only problem. There may be other devices pumping out enough wireless interference to be making things even worse.
    I agree with Bob Timmons that Ethernet is best and most reliable. And that powerline (which I use) is easier and potentially faster than wireless...but only if your power lines do not have electrical devices plugged in which produce electrical noise on the line. Powerline will be slower than Gigabit Ethernet.
    Ethernet cable is the only way to ensure that the signal goes directly there in a shielded way for a clear fast signal. Wireless and powerline are much slower because of all the other things the signal has to fight past to get to the other device.

  • I told my wireless network to forget two airport expresses so that I could rename them.  Now the network does not see them even when plugged in about 10 feet away from the airport extreme base station.  Does "forget" mean forever?  How to reset?

    I told my wireless network to forget two airport expresses 1 1st gen, 1 2nd gen so that I could rename them.  Now the network does not see them even when plugged in about 10 feet away from the airport extreme base station.  The network does recognize a totally new 2nd gen express.  Does "forget" mean forever?  How to reset?

    The network does recognize a totally new 2nd gen express.
    Then, it sounds like you have already reset the 2nd Gen Express, and now you need to set it up again, like you did the first time. Only, this time, assign the device name that you want to the AirPort Express.
    Do NOT use the name that Apple suggests.....which will be something goofy like........Sueswimsf's Red Apple AirPort Express
    Assign a simple name.....something like     2ndGenExpress

  • How do I use my airport express or time capsule to increase the signal strength of my comcast router

    How do I use my airport express and/ or time capsule to increase the range of my newly installed comcast modem/router.

    Neophite50 wrote:
    Thanks.
    A question. Do I plug the TC into the Comcast modeum Router or the iMac?
    Both is good.. but at least one of your routers.. TC or express must be plugged into the router.. the imac can get internet connection by wireless.

  • SoftMotion Express VIs vs. Function Blocks

    Hi,
    Are there any differences between SoftMotion's express VIs and the function blocks? I plan to drive a servomotor via an NI 9505. The NI examples show how to use the function blocks, but I've been advised to use the Express VIs instead, to work around strange behaviour when using a simulated axis (http://forums.ni.com/t5/LabVIEW/SoftMotion-quot-Up​date-Buffer-quot-VI-refuses-to-take-more/m-p/22508​...
    Thanks!
    Solved!
    Go to Solution.

    Hi JKSH,
    If I were starting a new application, I would use Express VIs over function blocks. Here are a list of things to consider when choosing:
    By default, function blocks are asynchronous. They execute on the rising edge of the 'execute' input and are done when the 'done' output goes high. They do not block and a function block architecture will almost always involve calling the same function blocks over and over in a loop. You control the execution flow with the 'execute' and 'done' input and output. Express VIs, on the other hand, are by default synchronous. They do not have an 'execute' input and instead begin execution as soon as they are called. They also block until finished. Express VIs can be converted to asynchronous by right clicking on them and changing the 'timing model.' When you change the timing model to asynchronous, the Express VI will now act exactly like a function block.
    In general, you should never mix asynchronous and synchronous APIs. Your entire application should be one or the other. While it is possible to safely have both synchronous and asynchronous calls, you have to be very careful and really know what you're doing.
    In my experience, writing simple applications is easier with a synchronous API and more complex applications are better suited for an asynchronous API. Since synchronous calls are blocking, you need more loops in your application and it can become difficult to maintain.
    There is also the property/invoke node API, upon which both function blocks and Express VIs are built. You can right click on either a function block or Express VI and convert it to a subVI to see the underlying code. While function blocks and Express VIs can be nice to work with, sometimes you need the lower level control that is offered by the property and invoke nodes.
    I looked at your other post and it looks like you are encountering one of the subtleties of asynchronous calls. In point 1 above, I mentioned that function blocks are rising edge sensitive on the execute line. In both your modified example and the original example, the 'Update Buffer' function block is executed when the 'space available' becomes greater than or equal to the 'Size of the Contour Data.' In the original example, the table size is 40, but in your example, it is 100. Let's trace the flow through the example:
    We don't do anything in the first iteration since we don't see a rising edge on the 'execute' signal of 'Initialize Buffer' until the second iteration.
    At the beginning of the second iteration, we initialize the table with 20 points, leaving 20 spaces available. This function block may take more than one iteration to complete, so the loop may run several cycles before the 'Done' output is true. When this happens, the next block executes.
    Next we start the contour move. No point gets taken from the buffer yet; that happens in in the non user code portion of the scan.
    Next we see that there are 20 spaces available,, so we add 20 more points to the buffer, leaving us with 0 spaces available. This means that in the next iteration of the loop, the 'execute' signal of the 'Update Buffer' function block will go false. This is critical to the operation of the example. 
    Since there is no abort called, we loop back around. 
    Every scan, SoftMotion is taking one point from the buffer. Eventually, the number of points available will climb back to 20. When this happens, the 'execute' input will toggle from false to true on the 'Update Buffer' function block and 20 more points will be added to the buffer. This cycle continues until you stop.
    So what was wrong with your modification? You made the table size 100 points. If you look at the steps above, you'll see that in the example, we put 40 points into the buffer before taking any points out. If you increase the table size to 100, that means that there will be 60 spaces available. However, 60 is still greater than 'size of contour data' (which is 20) and so the 'execute' input of the 'Update Buffer' function block never goes false; we always have more space available than the 'size of contour data.' Since 'execute' is rising edge sensitive, we're never actually putting new data into the buffer and therefore you only get out the two cycles that you originally put in. I agree that this is tricky, but it is exactly as function blocks are supposed to operate and is definitely something to think about when using the asynchronous API. 
    Thanks,
    Paul B.
    Motion Control R&D

  • Trigger&Gate VI (Signal Manipulation Library)

    I have noticed that, if input signal amplitude is less than 0.4 V pk-pk, my VI doesn't work. Is it my fault, or is it a real limit in Trigger&ate VI? How can I solve it? (Data I have to acquire are usually lower that 0.1V)
    Same question, in Italian:
    Noto che, se l'ampiezza del segnale di ingresso è inferiore a 0.4 V picco-picco, il mio VI non funziona. E' un errore nel mio VI, oppure è un limite reale in Trigger&Gate VI? Come posso risolvere il problema? (I dati che devoo acquisire sono di solito inferiori a 0.1 V)
    Attachments:
    Acquisizione.vi ‏267 KB

    Hi Marc1uk.
    Rather than using Express VIs for your coding, have you considered looking at other VIs available for signal analysis.
    There is a VI designed specifically for calculating Cycle RMS called "Cycle Average and RMS.vi" which you can find by right-clicking on your block diagram and using the search from the functions palette. This VI can be used for periodic signals, although I appreciate your concerns that by changing the duty cycle of your PWM signal it may not fulfil your requirements.
    To overcome your triggering issue, one of the simplest ways may be to change the parameters for your stop trigger. If you set this to the falling edge of the signal and something like 0.2 then hopefully the triggering will be stopped just before the next trigger gets started.
    Unfortunately you're always likely to see some phase delay occurred through software filtering in any language. How much phase delay are you experiencing? One option that may reduce this slightly is to change your Filter Express VI to a lower level "Butterworth Filter.vi" which you can find through the Functions >> Signal Processing >> Filters, palette. For this, you can create constants to configure the VI to the same properties as your express VI i.e. a constant of "3" into the Order input, a constant of "Lowpass" into the Filter Type input and the output of the x*5 expression into the Low Cutoff F input.
    Hope this information helps you further on your way! If you have any questions don't hesitate to ask.
    Kind regards,
    Tori
    Tori
    Student

  • How to reset Windows 7/Vista/XP/2000 password if you forgot or lost windows

    How to reset Windows 7/Vista/XP/2000 password if you forgot or lost windows password
    It is truly very often for us to meet the password problem, sometimes we would forgot windows password or lost windows password, and could not login windows system and make a big trouble. At this time, you would hope to find a way to reset and recover the forgotten password.
    Actually, a lot of methods are available to recover or reset the Windows password. But most of them are designed for PC experts, not common PC users, those solutions are too complicated to get it work for us. And in this article, I will show you a professional software tool which could help you to reset forgotten windows password easily.
    Total Windows Password Reset is powerful password recovery software to reset Windows admin
    passwords for you to login Windows OS without reinstalling the OS when you forgot windows password or lost windows password. It could remove windows password and set the password to blank. Just boot from the program CD/DVD or USB flash drive, choose the account you wish to reset and all will be done. It is not a method to crack or bypass windows password, just remove or delete windows password and set it to blank so you could login windows to set new password.
    Below is the guide of how to reset windows password with this software, only 3 steps are needed to reset windows 7/Vista/XP password:
    Step 1: Download the setup file of Total Windows Password Reset on the official website:
    http://www.resetwindowspassword.net/downloads/totalwpr.exe
    And install it on another PC. Then you could startup the password recovery software to prepare the bootable disc.
    Step 2: Burn the windows password recovery bootable CD/DVD or USB disc with the software.
    Now, you may select “Burn DVD/CD Disc” or “Use USB Disc”. If you select first method, you need to have a blank CDR/DVDR disk, a COMBO or DVDRW drive on the PC. If you select to use USB disc, you just need to pay attention: This USB devices would be formatted, so you must make sure to back up all the data before use it. And the maximum capacity of the USB devices cannot exceed 2G.
    Tips: We recommend you to use the DVD/CD method to do the windows password reset, because some computers may not support USB start-up.
    Below is step by step to show you how to burn the CD/DVD
    1. Launch Total Windows Password Reset main window, Click “Burn DVD/CD Disc” button.
    2. In BurnCC’s main window, click “Browse” button and in the open window, locate the file “TWPR.iso” on your desktop, select it and click on Open to get back to the main window. Then, click “Start” button.
    3 Your DVD drive should open and insert a blank CD-R or DVD-R disc into the drive and close it. Click “OK” button. Your CD will be burned in a few minutes.
    Tips: if there is already a CD/DVD disc in the drive before run the software, the CD drive will open automatically . Please close it again. The process will be continuing.
    Below is step by step to show you how to burn the USB drive
    1 Insert a USB drive into a USB slot on your computer and run Total Windows Password Reset, Click “Use USB Disc” button.
    2 Click“Step1”button. Then, Right-click on the usb_format.exe and choose “Run as Administrator”.
    3 In USB Disk Storage Format window, set the file system to FAT, Check the Quick Format box, check the Create DOS Bootable Disk, Browse to the DOS_files folder on your Desktop, click OK & then Start.
    4. Click OK on the following window and then close the USB format tool. Your USB drive now is formatted.
    5. Click “Step2” button and open the USB drive with your computer. Then, copy the files from the USB_files folder and paste them directly to the USB drives main directory. 2 of the files may become hidden and you will not see them on the USB drive. This is okay. Your USB drive is now complete.
    Step 3: Boot your PC with the burned CD/DVD or USB disc to reset windows password.
    You need to insert the Created CD/DVD or USB drive into the optional drive of the locked computer and reboot it.
    Tips: It your computer still boots from hard drive Windows OS, it's necessary for you to change your COMS or BIOS settings to make it boot from CD/DVD or USB drive. If you don’t know how to set it, you may visit the official website: http://www.resetwindowspassword.net or contact the computer manufacture.
    The computer boots from CD/DVD or USB drive, then
    1 The program will ask for the Windows OS hard drive volume. Enter the ID number of the hard drive volume that Windows is installed.
    2 The program has detected all the user names of Windows and asks which user name password is to be removed. Enter the ID number for the User Name.
    3 The program asks to confirm weather to remove the password or not. Enter "y" (yes) to confirm your action and "n" (no) to deny the action and hit "Enter".
    4 The program asks whether to continue to remove passwords for other accounts. Enter "y" to continue and "n" to finish. Eject your USB from your computer first and press any key to restart the computer from Windows. Now you can log in Windows with an empty password (with no password.), just click “Enter” when you login.
    If you have any questions of the procedure and the settings, you could visit the website:http://www.resetwindowspassword.net or send email to [email protected].
    Now you could see that to reset or recover the admin login password of windows OS: XP, Vista, Windows 7 or 2000 is not so difficult and you can do it with ease.

    Very interest posting. Thank you for this detailed description and useful links.
    If you have more interesting stuff to share with us you are welcome.

  • How to reset paths (NOT missing photos)

    I have created a new folder with all my photos. Within it are individual folders named by year (2013, 2012, 2011, 2010, 2009...).
    I have several old catalogs with photos pointing to different files on several external HDs.  I want to relink them nice and neatly so that they all point to the photos on my newly created folder on a dedicated external HD.
    How can I relink all the photos? I've searched all over the internet but the only information that I can find are those related to "missing photos and question marks in the corner (and not just "resetting paths" as in Expression Media/iView).   I have attempted to FORCE the question mark and relink it that way but Lightroom will not find nearby files. It only finds photos taken on the same day.
    There must be some easy way like in Expression Media/iView to simply reset the path, i.e., manually relink in big batches (all photos in one folder).
    I'd be so grateful for any insight and solutions anybody could offer me.

    You've a couple of routes - for individual images, or for folders.
    With individual images, it depends on the image being missing. If it has a little question mark or exclamation mark in the corner in grid view, click the missing file marker and point to where the photo is now located. Ensure "Find Nearby" is ticked, and press OK. LR will read the filenames of other missing files and try to find them too. This route is no use if the image is not missing.
    With folders, you can right click any folder. You get a question mark if the folder is missing, and right click - "Find Missing Folder". If the folder is not missing, the context menu is "Update Folder Location". In each case you can now point to the new folder location.
    To make it easy on yourself, right click a parent folder and update its location. Its child folders will then be updated too.
    Does that help?
    John

  • How do you use Airport extreme at hotels etc, when traveling? I can plug my computer into the Airport with my ethernet but how does Airport pickup signal?

    How do you use Airport extreme at hotels etc, when traveling? I can plug my computer into the Airport with my ethernet but how does Airport pickup signal? What equipment & devices do I need to travel with to make this possible?

    You may mean the AirPort Express.....not AirPort Extreme.....as the Express is a popular travel router.
    The whole idea behind using this device is that the hotel must provide an Ethernet jack in the hotel room. Then you connect the AirPort Express to the Ethernet jack with an Ethernet cable and configure it to provide your own wireless network in the room. You still have to agree to terms, pay the fees, etc.
    The problem with this approach is that it is getting very difficult to find hotels in North America that prrovide an Ethernet jack....most have moved to wireless networks and the others are not far behind.
    So, if the hotel is already providing a wireless signal, the AirPort Express is of no use in that situation.
    If you normally stay at the same hotels, and know that they provide Ethernet ports, an AirPort Express might make sense in terms of convenience.

  • How to Reset HP LaserJet 1500L Drum and Toner

    (Note: This also applies to some other laser printers too. If so then please update this thread to indicate the model and any extra instructions.)
    The legacy 1500 and 1500L use dumb toner and drum cartages. They have a chip which simply counts the number of pages printed, and when a preset number (as per cartridge size) have been printed, it sends a signal to the printer to replace it. This is ok if you print the average amount of ink per page, but if you print a lot of photos, the cartage will be exhausted before the indicator flashes, and if like the rest of us you print the usual selection of documents etc, then probably about 50 to 25 percent of the toner remains - what a waste!.
    Fortunately, (or not) HP kindly provide incorrect instructions how to reset the counter. It's a pity that customer support don’t read their own documentation, or put it in the manual.
    Do exactly the following:
    1) Turn the printer power switch off.
        Wait 10 seconds for any residual charges to clear.
    2) While powered off, press and hold the GO button (right hand)
    3) Turn the printer power switch on while continuing to hold the GO button down.
    4) After the Go, Ready, and Attention LEDs turn on, continue holding the GO button
        for at least 20 seconds (maybe 30 seconds). During this time, the Attention,
        Ready, and Go LEDs will each eventually turn off.
    5) When it seems to have stopped, now release the GO button.
    6) The printers LEDs will begin cycling from front to back. After about 15-30 seconds it finishes    
        and everything goes quiet. The printer should now be in the 'ready' state.
    7) (The missing instruction) Press the cancel (orange) button.
    Send a simple colour document to the printer and it should print out ok, proving it is all ok.
    Keep printing until one of the cartages or the fixer toner drum are depleted and printing result is unacceptable.

    Hailun, welcome to the forum.
    Here is a guide to help you solve your problem.  Read it carefully and follow the instructions step by step.
    Please click "KUDOS" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • TS3297 Does anyone know how to reset your security questions?? I loaded an itunes gift card on new ipod but when trying to make a purchase, itunes is asking us the incorrect security questions?!(for 1st time purchase)

    Does anyone know how to reset your security questions?? I loaded an itunes gift card on new ipod but when trying to make a purchase, itunes is asking us the incorrect security questions?! (for 1st time purchase)  I know the questions are not what I chose because I wrote the questions & answers down when setting up the ipod. Any ideas??!!!

    Reset Security Questions
    Frequently asked questions about Apple ID
    Manage My Apple ID
    Or you can email iTunes Support at iTunes Store Support.
    If all else fails:
      1. Go to: Apple Express Lane;
      2. Under Product Categories choose iTunes;
      3. Then choose iTunes Store;
      4. Then choose Account Management;
      5. Now choose iTunes Store Security and answer the bullet questions, then click
          Continue;
      6. Sign in with your Apple ID and press Continue;
      7. Under Contact Options fill out the information and advise iTunes that you would
          like your security/challenge questions reset;
      8. Click Send/Continue.
    You should get a response within 24 hours by email.
    In the event you are unsuccessful then contact AppleCare - Contacting Apple for support and service.
    Another user had success doing the following:
    I got some help from an apple assistant on the phone. It is kind of round about way to get in.
    Here is what he said to do and it is working for me...
      a. on the device that is asking you for the security questions go to "settings", > "store" >
          tap the Apple ID and choose view"Apple ID" and sign in.
      b. Tap on payment information and add a credit/debit card of your preference then select
          "done", in the upper right corner
      c. sign out and back into iTunes on the device by going to "settings"> "store" > tap the
          Apple ID and choose "sign-out" > Tap "sign -in" > "use existing Apple ID" and you
          should be asked to verify your security code for the credit /debit card and NOT the
          security questions.
      d. At this time you can remove the card by going back in to edit the payment info and
          selecting "none" as the card type then saving the changes by selecting "done". You
          should now be able to use your iTunes store credit without answering the security
          questions.
    It's working for me ...I just have to put in my 3 digit security pin from the credit card I am using.
    Good Luck friends!

  • How do I reconfigure my Airport Express in client mode?

    My home uses an AT&T U-Verse wireless network to connect to the Internet.  I also have an Airport Express hooked to a USB HP Printer to create wireless access to the printer.  With a change in U-Verse service, AT&T replaced my network interface with a new box, connected that box to new port at the sub-station, a new wireless network name and a new wireless network password.  Now everything works except my "wireless" printer.  I suspect that the issue is that the Airport Express has the wrong network name and password, but cannot figure out how to change it.  My Airport Utility is version 6.3.1 and it does not find my Airport Express.  My Airport Express is an older one and I can find no model number on it anywhere.  How do I reconfigure my Airport Express.
    Previously when trying to install an Airport Extreme on my system, I proved with several long conversation with Apple support that it would not work with the U-Verse system.  I had to take the Airport Extreme back and use two USB hard drives for Tim capsule backups, one for each computer.

    AirPort Utility 6.3.1 will work with the AirPort Express A1264, so something else is amiss.
    Power up the AirPort Express for a few minutes, then hold in the reset button on the Express for 10-12 seconds and release. Allow a full minute for the Express to restart.
    Open AirPort Utility
    Click on Other WiFi Devices
    Click AirPort Express
    That should allow you to reconfigure the Express

Maybe you are looking for