Why is it so difficult to replace one element in an array?

Maybe I am missing something but it seems overly complicated to replace one element in an array.
I have a 3 Col 15 row array. Each column represents a board of IO and each row is a specic IO location on the board.
I have 4 arrays each that vary in lenth that represent 4 different IO types (i.e. AO, DO, AI, DI). I want to people to write them one by one in order to allow a map to be stored as a constant. In that way if the end user decides to change some of the IO around on me it is easy.
However I am not seeing an easy way to write to one specific element. Replace supset will only allow me to call out either row or column.. not both (this makes no sence to me).
I hope someone can help.
Thank you.

You can certainly replace a single element in a 2D array and specify row and column. Attach the code you are having problems with.
Attachments:
Replace Element.PNG ‏2 KB

Similar Messages

  • Can I replace several elements of an array within one time? The number of elements are not fixed

    Hi all,
    I want to replace some elements of a 2D array, but the number of elements are not known beforehand. I dont want to do it with a loop, which may slow down the speed, and the update of elements will not happen simultaneously.  The indexes of elements to be updated are not continuous. I wonder if there is a way to do that efficiently? Do I have to programme it in LabWindows/CVI? Thank you.
    Best wishes,
    Bo
    My blog Let's LabVIEW.

    Use the replace elements function. For non-continuous replacements  of of multiple elements you would nee to iterate at least the number of continous pieces.
    For example:
    1,2,3,4,5,6,7,8,9
    Replace elements 1,2,5,6,8
    You would need 3 iterations in which you can replace (1,2), (5,6) and (8).
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • How to replace cluster element in an array?

    hi,
    I have understood preferable choice is to initialise array first and replace elements in an array instead of inserting new element in an array e.g. in a while loop.
    So I started to this evaluate since I have an application where I want to read lots of measurements from a txt file and display them in a XY graph. XY graph must show Y value and corresponding X value either red if it is out of range and in green if it is in range. I found a solution to do it with an array of clusters.
    In attached example I have two different methdologies represented. My problem is that upper solution doesn't display content of all measurements. Can somebody tell me what I'm doing wrong ?
    regards,
    petri
    Solved!
    Go to Solution.
    Attachments:
    plot test 3.vi ‏19 KB

    Petri wrote:
    ... using cluster with three elements was a method I found to put red and green dots in one XY graph, eg. Y=coordinateY, X(green)=NaN,X(red)=coordinateX. Perhaps there is a better way to display the data, but I couldn't find it.
    That is an odd thing and makes little sense. Why three? four, five, etc are NOT supported, so what if you want more than one color? (in range, fail high, fail low?). For more detail see the discussion here.
    In any case, reading all these values from a datafile and creating xy plots is trivial. I would recommend to use complex data. a single complex array will graph IM vs RE. For multiple plots, combine them using "build cluster array". No loops needed.
    Here's a quick draft. Of course you need to decide if the data is in columns or rows, etc. so modify as needed.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    plot2XY.PNG ‏7 KB

  • How can I change the properties of only one element in an array of booleans?

    I'm displaying an array of booleans to my operators, with each boolean in the array representing some system status check.  Some of these checks are critical and some are not, therefore I want some of these booleans to have a different color when in the TRUE state (Red for the critical ones and Yellow for the non-critical ones).  I can change the boolean colors with a property node, but that effects every element in the array.  Is there any way to change a property of an individual element in an array?  I know that I could take the incoming array and break it into two arrays - one for critical and one for non-critical, but this system is replacing an older system and the operators are accustomed to seeing their indicator lights a certain way and I'm trying to replicate what they had exactly.

    Here's what I had in mind
    Of course you can use as many colors as you want.
    Message Edited by altenbach on 12-21-2005 04:53 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    LEDarray.png ‏7 KB
    ColorArray3.vi ‏23 KB

  • I had two files named graphics and I replaced one graphics file with another which was the wrong one.  Can I undo my replacement?  I move the wrong one, which was on my desktop into another one and that is when it as me if I wanted to replace the file.

    I accidently replaced a file with another.  Can I undo my action? 
    I had two files named graphics.  One was on my desktop and another was within another file called solitarie.  I move the one on my desktop (wrong file) into the solitarie file and was asked if I wanted to replace the graphics file in the solitarie folder (the correct one).  I said yes accidently and then remembered that I had made a mistake.  If I use undo, it only move the wrong file back to the desktop.  Is there an undo of replace?

    Sorry, but's that's why you get the warning. "Replace" means just that - the new file over-writes the old one. There is no undo.

  • Someone tell me why is it so difficult to print from my Intel Mac Mini

    I'm so frusrated at this Intel Mac Mini of mine. I wish honest to God that I never bought this evil little machine.
    I have the following printers:
    HP Photosmart 7550
    HP Laserjet 1012
    Canon MP830
    I can't get anything to print! It so **** frustrating. I switched my wife from her WinXP to a Intel Mac Mini (10.4.6). She hates the Mac Mini because she can't print anything.
    Why is it so difficult? Please someone enlighten me.
    After months (not kidding) of searching on the web I was able to get the Photosmart 7550 to print using one of the gimp drivers, but I couldn't get it to change the paper type or quality. So that tells me I can't print any photos from my Mac. Need to use the WinXP box.
    Then I was able to get the 1012 printing by selecting "open using rosetta" for the Printer Setup Utility, and selecting the "HP LaserJet 4 series - Gimp-Print v5.0.0-beta2". So now I could at least print BW docs. Great the Mac Mini is not a total waste. Then I updated software, which include the Mac mini SMC Firmware Update. I don't know what did it, but now I can't print to the 1012 anymore. ARGHH!
    I tried deleting the Library/Printer/HP directory, Reseting the Printing System, Restarting the CUPs, Installing PDDs, Installing the gimp drivers. What the ****! Why do I need to do any of this? I thought the Mac was suppose to be so easy. With all those **** commercials talking about how the Mac can do anything a PC can do, you would think one of those things is being able to print.
    Those people making those commericals should try using the "Printer Setup Utility" program. That will change their tune. First you have to search for your printer, then pick the Printer Model, and then pick the specific model. And God forbid you click to fast, oops you've now picked a generic printer, needs to start all over again. There's no back button. You've already committed to the generic printer type. Now you have to open the Printer Setup Utility again and delete the generic printer and go search for your printer again. Lame.
    Don't get me started with the Canon MP 830. I thought, ok maybe its because the 1012 and 7550 are older printers. I'll go buy a new printer - they must have current drivers for that. Canon tells me that the MP 830 is only a single OS machine, meaning you can only connect it to a windows machine and only other windows machines can print from it, or connect it to a Mac, and only other Macs can use it - Again, Lame.
    Really I wanted to love the Mac OS. When I first got it, I was loving it. But what good is it if I can't print. I searched the web and it seems I'm not the only person having issues with printing.
    I hate this Intel Mac Mini with every fiber of my being. Ok, maybe my printing woes are only because it's a Intel chip, and the PPC macs are golden. But come on, if you can't print from a computer, what good is it?
    Please, someone help me. Otherwise, anybody want to buy a Intel dual core Mac Mini?
    mac mini duo core Mac OS X (10.4.6)

    You have two different issues: HP and Canon.
    I don't know if I believe the Canon people. Windows XP has lots of different print options. Try installing Bonjour on Windows and then setting up a networked, Color Apple Laserwriter PS printer using "http://macmini.local:631" (assuming macmini is the name of your Mac). I have done this before (though not on a Canon). I am sure Canon will only support a standard configuration and this is not quite standard. Give it a try. It doesn't sound like it can hurt anything in your current setup.
    For the HP, you might have to just wait for an updated driver from HP. HP has always had this problem. They are a huge printer company and I'm sure they get Apple hardware and OS versions before anybody else in the world. And yet, it seems as if they don't even begin working on their drivers until Apple officially releases a new OS. HP drivers are always the last to show up for a new OS and the first to break. If you get it working under MacOS 10.4.6, and then upgrade to 10.4.7, it is very likely that the HP drivers will stop working.
    Unlike some of the other big companies, HP seems to have made the transition from Classic MacOS to MacOS X seamlessly. Their printer driver software works just as well on MacOS X as it did under MacOS.

  • Why is it so difficult to convert a Raw image to a jpeg in Photoshop Elements?!  I have version 12. Once i realised to change the tickbox in Camera Raw to 8 instead of 16 i did. Having spent time working on my Raw images i save them as a jpeg and rename t

    Why is it so difficult to convert a Raw image to a jpeg in Photoshop Elements ?! I have version 12. Once i realized to change the tick box in Camera Raw to 8 bit instead of 16 bit and Flatten image ( sometimes can flatten image if the flatten option isn't greyed out) hey presto i thought i was up and running. However after saving the photograph as a jpeg and renaming it e, after the word edit. I switched off/on my computer only for all the images i had spent time working on to have disappeared. Feeling very upset as there is no Technical Help to telephone at adobe and i don't know what to do.

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • Replace with after effects composition is replacing one clip with old project

    PP CC 2014
    AE CC 2014
    Windows 7
    Hello,
    when I "replace with after effects composition" in PP - After Effects is replacing one *mov clip (only one of hundreds) with an old aep comp, that I was working on yesterday. And say that this aep is missing...
    I allready purge all data, deleted all cache (PP&AE) restart Computer...
    What can I do...Its really stopping me from reaching my deadline tonight....
    Thanks!

    Ok guys...I got it...
    Its not a *mov that it missplaced, its another dynamic link to AE...so dynamic link to dynamic link seems not to work? I accidently linked that clip and worked on it in AE in the old aep from yesterday..but still wondern why AE get confused loading it...the "old aep comp" is full with others comp...could that be the reason...?

  • All of my contacts, music etc has vanished from itunes.  have no idea why? can anyone help. apple replaced my iphone 4 handset today as it was faulty. i did sync the old phone before i gave it back to them. can anyone help?

    all of my contacts, music etc has vanished from itunes.  have no idea why? can anyone help. apple replaced my iphone 4 handset today as it was faulty. i did sync the old phone before i gave it back to them. can anyone help?

    Backup, backup, backup...
    T-21 wrote:
    Hello.
    I did not touch my computer the past week, I've only been messing with my laptop.  I had my computer off a whole day.  I turn it on, open iTunes, and everything is gone.
    Is your laptop a different computer than your computer?
    You have two computers?
    iTunes is missing everything from which one/both?
    I system restore.  Everything is gone.  None of my podcasts, apps, or music files are there.
    Do you mean you reinstalled the system from scratch?
    Yes, that tends to delete everything.
    Or you restored everything from a backup?
    Directions on where to go to download all past purchases?
    Selete Store on the left side of iTunes.
    Make sure you are signed in.
    Click on Purchased on the right side under Quick links to redownlaod your purchases.
    Then make sure to regularly backup, backup, backup all your important data .

  • Replacing one NIDAQPad-6016 by another

    When replacing one NIDAQPad-6016 by another one it is not possible to take over the once installed DAQmx-Tasks. Why?

    That's expected and normal behavior. As long as you don't remove the first DAQPad from MAX another DAQPad will be recognized as a different device and the driver assigns a new device ID (Dev2). You need to go to MAX and change the name if needed or you need to make your software try various device IDs until no error occurrs anymore.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • I want to replace one of the dual hdd-which one is which?

    i want to replace one of the dual hdd-after opening the back cover which one  is which?  They are both exactly the same #'s etc 

    Your statement :
      for whatever reason there were indications of which was which...
     Maybe what you meant to say :
      for whatever reason there were no  indications of which was which.
     Anyways, no it shouldn't be that difficult, open the DVD drawer using the end of a small paper clip by inserting it in the release hole in the front of the drawer.
     Insert your first recovery disc or OS installation disc and upon boot up start tapping away at the f9 key. Select to boot from the internal CD/DVD ROM Drive and push enter.
     It should be that simple.
     Maybe the new drive is faulty, but some times people also have problems with a drive that is not purchased through HP when they use their HP recovery discs.
     Buying a drive not bought from HP shouldn't make a difference though.
     It will be interesting what the computer store will have to say, they will have a drive to try out to rule out the possibility that your new one may be faulty, it's not unheard of.

  • I created a form, I want the email notices to go to several people. Why is this so difficult? It seems like they have to be a co-author/reader or something? I don't get it

    I created a form, I want the email notices to go to several people. Why is this so difficult? It seems like they have to be a co-author/reader or something? I don't get it

    This is crazy! I paid for this service to make it easier to create forms for a company that has had several acquisitions all over the globe. This was supposed to make it easy to create forms hosted on adobe so no matter what happens on all their servers, we would be safe using this forms service until we can integrate all acquisitions and build a permanent web site on a single server. Now I find out that even this is a major issue sending emails to team members, many I have never met so making them a collaborator or even setting up forwarded emails is not something I wanted to do. This service was advertised as simple and easily send notifications to many people. I am now frustrated and thinking this was a waste of money! Why is it like that?

  • Replace one itunes account with another

    I have the itunes application downloaded on my laptop but i recently made another itunes account and i want the new one to be on the Itunes application. So i uninstalled the application thinking that if i downloaded it again it would ask me for an account. Except all it did was restore the old account. I am wondering if anyone knows how to replace one itunes account with another. If you know anything that can be useful comment.

    Store > Sign Out
    Store > Sign In
    All purchases remain tied to the account used to buy them, but you can authorize iTunes to multiple accounts and put protected content from up to five on your devices. Generally best to stick to one account if possible. More so once you get to iOS devices as managing app updates over multiple devices is a chore.
    tt2

  • How to replace one variable with another in large number of queries

    Hello guys!
    I have this situation: our company needs to use one variable instead of another for certain amount of queries.
    Is there some way to automatically replace one variable with another for a certain characteristic in big number of queries ( like 150 - 200 ) ? Doing this manually would take lots of time)
    Apreciate your help!

    you could try (at your own risk) the following:
    1. search the technical id (ELTUID) of your variable in table RSZELTDIR
    2. see where this variable is used in table RSZELTXREF (by filling RSZELTDIR-ELTUIID in RSZELTXREF-TELTUID)
    3. add similar entries for your new variable
    4. delete the entries for the old variable (they're part of the key, so you can't simply "change" them)

  • I have one apple account and one apple ID.  I have several devices under that ID.  Why when I download and app on one device it goes on all devices?

    I have one apple account and one apple ID.  I have several devices under that ID.  Why when I download and app on one device it goes on all devices?

    Click here and use the instructions to turn off the automatic downloads.
    (104598)

Maybe you are looking for

  • Can I use two different greens for green screening and keep one without it being keyed out?

    I am using a green screen which is your standard light green fabric. I am also wearing a bottle green cape. I want to key out the standard green which is no problem. However it also takes out the bottle green on my cape. Is there a way on either Prem

  • Allocation on the basis of Quantity Produce

    Dear All, I want to do distribution through assessement of Over/Underabsorption of cost center on the basis of Quantity produce in that plant to COPA Value Field.. is that possible Example Cost Center A-1001 is having the Over/Underabsorption of 1000

  • Slide Action on Exit Cancelled by Length of Audio File

    Captivate 8.0 Responsive Project Status:  Solution to problem works but makes no sense Problem:  Slide actions on exit designated in the Properties Inspector do not function.  Although the "jump to slide" action was selected, the transition at the en

  • SCOM 2012 SP1 - Scheduled Report not showing any chart

    We have created 2 Scheduled Reports based on the Performance and Performance Details reports. The Scheduled Reports run every day and create a PDF file in the file share. The Reports however don't contain any charts. Selecting other output formats gi

  • Automatically debugging when calling a script from a menu item

    Hi All, I'm coming accross an issue that I was wondering if anyone can help me with or point me in the correct direction. I have two start up scripts. One runs in the "session" target engine and setups ups some custom menu items and actions which cal