How to delete the whole array programmatically

Hello,
Is it possible to destroy/kill an array programmatically (not delete subset)?  If yes, please tell me how.  THanks in advance.
Sugento

Hi Devchander,
Thank you for your reply.  I'm really surprised.  Are you always working?   By emptying an array, it means LabVIEW still has that particular array in memory, doesn't it? what if I want to completely destroy the array to prevent memory issue?
I have a PXI-6515, an industrial 24V DIO card, that I used to monitor optical sensors.  I just found out after I hooked it up that the output from DAQmx for DIO is a 1-D boolean array.  I like to be able to plot the digital signals on the Digital Waveform Graph, and to do that I have to use shift register and concactenate the previous array with the newly read digital signal.  I only want to keep the array when a certain criteria is met.  When it's no longer met, I want to "destroy" the array.  Attach is a sample VI.  Is this an efficient way to plot a Digital signal?  also, since i'm using 24V, i can't use the TTL counter.  Is there a VI readily available to count signal highs and lows? I have made a VI that specifically does this but I'm just wondering if there is LabVIEW function that does it.  Thanks.
Peter
Attachments:
testing Digital signal array.vi ‏33 KB

Similar Messages

  • How to delete THE WHOLE Reading List of Safari iOS 8 in one shot?

    I know how to delete individual items one by one by sliding them to the left, I know how to clear their cache in Settings and I know how to clear Safari's history but  nothing clears the whole Reading List in one stroke.
    How do you do?
    Thank you very much in advance for your answer.

    Please read this book.
    http://www.amazon.com/s?ie=UTF8&rh=i%3Astripbooks%2Cp_27%3AMatthias%20Zierke&field-author=Matthias%20Zierke&page=1
    Rg,
    Harshit

  • Accidentally changed an annotation in my ADE annotations folder to open with PDF, It has changed them all.  How can I change them back or is it ok to delete the whole folder

    I went into my documents/ ADE and opened the annotations folder.  I changed the read with on one to PDF and it has changed them all.  How can I change it back.  Or is it ok to delete the whole folder. I don't have any annotations I want to save.

    I went into my documents/ ADE and opened the annotations folder.  I changed the read with on one to PDF and it has changed them all.  How can I change it back.  Or is it ok to delete the whole folder. I don't have any annotations I want to save.

  • How to delete a word mistake in a vocal track without deleting the whole track

    How to delete a work mistake in a vocal track without deleting the whole track

    jon w. (nichimyoun) wrote:
    How to delete a work mistake in a vocal track without deleting the whole track
    http://www.bulletsandbones.com/GB/GBFAQ.html#cutsection
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • I accidentally put my dads account into iCloud. i need to change it but i dont know how because its grayed out. if i press delete account, will it delete the whole account or just delete it from the iPhone?

    I accidentally put my dads account into iCloud. i need to change it but i dont know how because its grayed out. if i press delete account, will it delete the whole account or just delete it from the iPhone?

    but it says DELETE ACCOUNT in red. are you sure its only deleting from the phone?

  • How do I delete part of a column without deleting the whole column

    I'm trying to deleting certain cells within the same column but I don't know how without deleting the entire column.  It sounds so simple but I'm sure I'm overlooking something.  Thanks.

    jackiego26 wrote:
    Bummer! Thought there would be something similar to Excel. 
    Excel describes this in different terms, and the Excel user goes through a different set of steps, but the reality is that in Excel as in Numbers you are shifting content from one set of cells to another, not 'deleting cells'.
    If you were actually 'deleting cells' from rows 2-11 of a column, then shifting all cells right of the deleted cells into the space left by the 'deleted' cells, one of the results would be that at the right edge of the table, rows 2 through 11 would end one column 'earlier' than the rest of the rows (from which 'cells' had NOT been deleted.
    Excel: Select the cells whose content is to be replaced, tell Excel to 'delete cells'. Tell Excel which direction to move content to fill the cells. Excel moves that content into the emptied cells.
    Numbers (method 1): Select the cells whose content is to be moved. Copy. Select the first cell that is to receive the content. Paste.
    Numbers (method 1a): Select the cells whose content is to be moved. Drag the content to the first cell that is to receive the content. Drop.
    Numbers (method 2): Select the cells whose content is to be moved. Press shift-command-X (or go Edit > Mark for Move. Select the first cell to receive the content. Press Shift-command-V (or go Edit > Move.
    Regards,
    Barry

  • How to delete the file with space in name

    Hi
    I want to delete the file "test ex.txt" file.
    i run the following command in command prompt.i can delete the file successfully.
    /bin/rm -f /mnt/"test ex.txt"
    I want to run the command from java.So i am using the following code
    String cmd = "/bin/rm -f /mnt/\"test ex.txt\"";
         Runtime rt = Runtime.getRuntime();
    process = rt.exec(cmd);
    The file was not deleted.
    How to delete the file with space in name?
    Help me

    Use the form of exec that takes an array of command + args.
    arr[0] = "/bin/rm"
    arr[1] = "-f"
    arr[2] = "/home/me/some directory with spaces";Or use ProcessBuilder, which is the preferred replacement for Runtime.exec, and which Runtime.exec calls.

  • How to delete a whole directory in Contribute CS3

    Hello,
    Here is my problem :
    I've created a new page (html) in my site. This page contains
    some pictures.
    When I publish this new page, I choose a new directory to
    save it : "NewDirectory" for example.
    When I visit this new directory, I can see that Contribute
    creates an "images" directory and I can see my new html page.
    So, now I want to delete my (new) page. I know how to do
    that. But my problem is : how to delete the images.
    I can do delete them one by one but If I have a lot of image,
    it will be very long.
    Now my question : how can I delete a whole directory in
    contribute without having the following message:
    "CONTRIBUTE CAN'T DELETE THIS DIRECTORY. VERIFY DIRECTORY IS
    EMPTY" or something like that...
    Sorry for my bad english and thanks a lot for your help!!
    Victor

    Download FileZilla(free) and use FTP to delete the folder and
    its contents. Its not possible doing this using Contribute, even
    with 'Delete' permissions, you can only delete individual files
    that you're allowed to edit. I haven't found any admin-settings
    that allow you to delete folders with content (alas).

  • How to delete the selected rows in a JTable on pressing a button?

    How to delete the selected rows in a JTable on pressing a button?

    You are right. I did the same.
    Following is the code where some of them might find it useful in future.
    jTable1.selectAll();
    int[] array = jTable1.getSelectedRows();
    for(int i=array.length-1;i>=0;i--)
    DefaultTableModel model = (DefaultTableModel)jTable1.getModel();
    model.removeRow(i);
    }

  • How to delete the hdd and re-partition during the installation.

    Hi,
    I am new to Arch, currently I have a laptop that installed with Opensuse os, now I want to switch it to Arch entirely.
    So, I need to delete the whole partitions that previously created when install Openesuse. I just want to install single Arch on the machine only.
    How can I do it?
    Thanks

    Yea you can set up your scheme all with gparted. Keep in mind though, that is just formatting your disk correctly, no files will be installed, just the disk setup for arch to install to.
    So when you get into gparted what your goal is going to be is to set up your disk for install. I used the scheme of
    3 partitions,
    one for root 20GB - /
    one for swap 2GB
    and one for home 80GB- /home
    This is a pretty common config and I think it is best but it depends on your situation and what you want, thats pretty standard though.
    So that's what you'll have set up when you leave gparted live cd and then boot to your arch cd, all your partitions set up and ready for arch to install its files to.
    Also, arch wiki is really killer wiki, I mean the guys did an awesome job on the beginners guide, but there's nothing wrong with having extra reference guides. I used this one with the arch wiki:
    http://lifehacker.com/5680453/build-a-k … he-process
    I would take a look at them both.
    And i would have them both open when your doing this whole thing, so hopefully you have a tablet or a cell phone to have these pages open while you install.
    And like pks said, you don't have to use gparted live cd, its just recommended in the beginners guide. I did use it, and i thought it made it a lot easier. But if you are familiar with command line disk editing, go for it!
    EDIT: PS man i dont know about you but i always like to have extra partitions on my disk so I can test other linux distrobutions. It kinda sounds like you are testing them, you have centos and now arch, are you sure your not going to want to install more later? Cause if you maybe want to and you have a big enough hard drive your not pressed for space you might want to create your arch install partitions and have an extra couple for another distro in the future.
    Like me I installed arch, and now im installing Gentoo to try it out, i made extra partitions beforehand.
    So I made my arch ones:
    sda1 - /
    sda2 - swap
    sda3 /home
    then for Gentoo
    sda4 - /
    sda5 /home
    and they would be sharing swap partition. So i had all these partitions set up before I installed anything to the disk. Just an idea Good luck!
    Last edited by rexineffect (2014-02-19 12:01:46)

  • How to delete a whole project.

    Hi, expert:
    There is a project, which have WBS, and Network, and Activity and milestone.
    there is no actual cost. but the whole project have been released.
    now the user find that the project must be delete.
    how to delete the project?
    regards!

    Hi,
    if no posting is done then just try following
    delete the activities and milestone from bottom up approach in cj20n.
    then mark network as tech. complete and then from above wbs element delete the network
    then delete the  wbs 
    then delete project
    reagards,
    Sameer

  • How to delete a whole line in cmd prompt in Linux

    Hi all,
    How to delete a whole line in cmd prompt in Linux using short key?
    ex: [oracle@host1 ~]$ cd /u01/app/oracle/product/11.2.0/dbhome_1/
    Thanks

    yes ctrl+ak or ctrl+eu both are better. if you look from that perspective, go end and delete will be the same job too. (ctrl+eu) (but for me in such a command line, for example cding in to the directories ,the cursor will be at the end of the line %99 of the time :) )
    about ctrl-t,
    Drag the character before the cursor forward over the character at the cursor, moving the cursor forward as well. If the insertion point is at the end of the line, then this transposes the last two characters of the line.
    for ex:
    misspelled command date -> daet -> ctrl+t -> date
    or
    misspelled command $APPPL_TO -> place the cursor on third P press ctrl+t repeateadly till the P will come to the end -> APPL_TOP

  • How to delete a whole cd?

    How to delete a whole cd....I've done this forever and the other day I put on a cd and decided to delete it. Just the ONE cd. it was a Beatles cd and it deleted every single Beatles cd I have! I freaked! I got them all back now,  but am afraid to add Cds now and delete.
    Thank you!
    I have windows 7

    rexlibris wrote:
    You must be viewing the tracks in MUSIC and not from a playlist. You can edit things like album and title but you can't delete anything while viewing a playlist
    Select it in the playlist and press Delete to remove it from the playlist.
    You can Shift Delete to remove it from a playlist & also the library.

  • How do I write whole array in single write ?

    Hi Jgurus,
    I have fetched the record from Oracle and I wants to write those in a file . But problem is for every record in a record set file.writebytes write to a OS file. I don't want this single record write since it will write one by one. I have crores of records to fetch. Critical issue is performance. Can I picked up the rows in bunch and write to file ? I have stored (on smaller record size) all rows in array and now want to write the whole array to file in one OS write operation. Is there any way to do this ? Do any one suggest the better approach ?
    For real scenario file size will become around 300MB. I did it but it writes one by one record using next() from record set.
    Please advice.
    --RajivK.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Can you give any example for a small String or int array. I have stucked at this point. I have wrote the array using for loop but for each iteration in a loop it writes. I have 5 lakh values stored in array. Can anybody show how do write whole array to os file in one write operation instead of getting one by one value and printing it. I am new to java please give details or sample so that I can understand.
    Thanks in advance.
    --RK.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Really having problems with organising documents in pages. For example, deleting pages deletes the whole section and I cannot insert a section break as its greyed out & sending an object to background deletes several pages - what the **** is going on???

    Really having problems with organising documents in pages. For example, deleting pages deletes the whole section and I cannot insert a section break as its greyed out & sending an object to background deletes several pages and trying to insert a text box autmatically creates new pages- what the **** is going on??? Is this programme really this badly thought out? I thought everything apple was supposed to be intuitive!?!?!? Help.

    You can not insert a section break into a textbox.
    You appear to have a lot of objects with wrap set, that once you take them out of the flow of text (by sending them to the background) causes the text to reflow and contract into fewer pages. Pages is almost unique in the way it forms up pages in Word Processing mode only so long as there is text on them.
    I suspect you probably have hammered away at returns, spaces and tabs as well to position things, which only works to add to the mess.
    Download the Pages09_UserGuide.pdf available under the Help menu and swot up a bit on how it works.
    You may find this a usueful resource as well:
    http://www.freeforum101.com/iworktipsntrick/
    Peter
    PS There is quite a lot of programming in OSX that is far from "intuitive". Pages is easy at one level, when using the templates, otherwise it can be quite frustrating.

Maybe you are looking for

  • Question marks replace apostrophes and quote marks incontextediting

    Every time a client (www.edpilolla.com) pushes "Done" in InContextEditing, all of the quotation and apostrophe marks are converted to question marks. EXAMPLE: "Please answer my question or I'll be stumped." Becomes: ?Please answer my question or I?ll

  • Unable to delete photos in iPhoto 2009

    I am trying to clean up my iPhoto Library and I am able to drag photos to the trash bin, but they are still in my library. What can I do to finally delete these photos? They appear in the trash bin, then I pemanently delete them from the trash bin, b

  • Call into WS Portal to authorize login token Failed

    I have a portlet that allows a user to upload documents to a document folder in a Collaboration project. I have the Login Token set for 30 minutes in the portlets Advanced Admin. However, the function still appears to fail too quickly with the follow

  • N97 mini message "packet data: packet data connect...

    hi I got a new nokia N97 mini a couple of months ago, it's on a plan with optus, and it's been working fine until a few days ago it keeps flashing this message 'packet data: packet data connection not available' and it won't let me access the web, or

  • Paste as smart object in Photoshop gets a "pixel" result (antialiasing not working)

    Since I started to use the Adobe CC suite, I can't paste smart objects from Illustrator to Photoshop as I usually did. When I paste the object, the result is a non-antialised artwork. It only works when I paste as a shape.