Array-elem​ents depending on which array-elem​ent one choose before

Hello!
Now we have perhaps an easy problem... we have from the beginning a text-file that we pick out some of the columns that we display on the frontpanel. This forms an array of cluster with the different columns in. Then one is able to choose one of these elements of the array. There are moore values that belongs to each elements but these we do not want to display, so that is why we picked them out from the array and put them in another array that we thought we could connect in some way to the first array... now the problem: when one choose an element of the first array we want the other array to pick out the value with the same index. I should mension that we build an array of the choosen elements too...
Any tip or help would be nice :-) best regards!

First, you must change your K-value array to a control so you can read from it. Then you must make your Array of Signals into a 2D array to hold the signal and the value in separate columns. Now look at the attached vi. It will put the signal in column 0 and the K-value in column 1 for each signal selected from Signallist.
- tbob
Inventor of the WORM Global
Attachments:
array-element[1].vi ‏47 KB

Similar Messages

  • Which java product does one choose?

    I'd like to learn java programming and build a small application that can grow later in functionality. Which java product should i use and can it be downloaded and installed for free. J2EE or J2SE or other product? What are the differences?

    Download the J2SE Development Kit (JDK) from here: http://java.sun.com/j2se/1.5.0/download.jsp
    The J2EE is a development kit for enterprise solutions and depends on the J2SE, so you need the J2SE anyway. The JRE is just the runtime environment - you can't build (compile) Java applications with it. The J2SE JDK already has a JRE in it. So you only need the J2SE JDK and .... this link: http://java.sun.com/docs/books/tutorial/

  • Is it possible to make a fillable form have variable fields - so if you select a radio button it triggers a different form field to be seen depending on which radio button is selected??

    Is it possible to make a fillable form have variable fields - so if you select a radio button it triggers a different form field to be seen depending on which radio button is selected??

    Yes, one needs to use some custom JavaScript code to control the other fields' properties.
    Disabling (graying-out) Form Fields by Thom Parker

  • When I open my Colour Picker, the middle block (which normally shows the colour in a gradient of shades) is just a solid colour depending on which H, S, B, R, G, B I have selected. How do I revert it back to normal?

    When I open my Colour Picker, the middle block (which normally shows the colour in a gradient of shades) is just a solid colour depending on which H, S, B, R, G, B I have selected. How do I revert it back to normal?

    Becky,
    It seems that  the issue is caused by a corrupt folder called en_US or similar (depending on language) within the Adobe Illustrator 18 Settings folder, see post #7 by Jules in this thread,
    https://forums.adobe.com/thread/1595766
    so the solution should be to move or rename that folder (or the whole Adobe Illustrator 18 Settings folder).
    You can find the folder in Move the folder (follow the link with that name) with Illy closed.
    As a temporary roundabout way, you can select the lower rectangle to the right of the rainbow and DoubleClick to apply that to change the top rectangle and the values: the lower colour is the right one.

  • Change Text Color Dynamically Depending on Which MP3 File is Playing

    Change Text Color Dynamically Depending on Which MP3 File is
    Playing
    Hi,
    Can anyone help with this problem.
    I am trying to change a text cast member's color dynamically
    based on which audio file is currently playing.
    I have 4 Text Cast member buttons named
    Play Song 1
    Play Song 2
    Play Song 3
    Play Song 4
    I am successfully playing the 4 songs in a queue like this
    (ie. If "Play Song 1" sprite text member is pressed then...
    sound(1).queue(member "Song1")
    sound(1).queue(member "Song2")
    sound(1).queue(member "Song3")
    sound(1).queue(member "Song4")
    sound(1).play
    What I would like to do is to have the currently playing song
    text color changed to a different value, say Green.
    So if "Song2" in the queue starts to play then the text "Play
    Song 2" would become Green. When done it would then turn back to
    black then "Song3" starts to play and "Play Song 3" text script
    button would then turn from black to Green an so on.
    These are the codes I've tried in the frame script and none
    seem to work...
    on enterFrame me
    if sound(1).status = 3 then member("Play Song 1").foreColor=5
    (This works but only for the first song because "Play Song 1"
    is directly named and clicked on.)
    else member("Play Song 1").foreColor=255
    end if
    I have tried to make a reference to the playing song and so
    far each of these doesn't work...
    --if sound(1).status = 3 then
    sprite(me.sound.member).foreColor=5
    --if sound(1).status = 3 then
    sprite(me.spriteNum).member.color=rgb(0,255,0)
    --if sound(1).status = 3 then member
    (sound(1).member).foreColor=5
    --text = member(whichMember).scriptText
    end
    Is there any way to reference the song name text cast
    member??
    I thought I had it when I discovered sound(1).member but
    sound(1).showProps returns the playing sound.member as
    member: (member 28 of castLib 1) nothing there I can use?
    It doesn't show the member name and
    It doesn't show the song name "Song1" which I could then
    match up to the "Play Song 1" text
    I'm pretty new to lingo so specific code examples would be
    appreciated.
    Can anyone help??? Thanks!!!

    did you get anywhere with this?
    When applying a styleClass to a af:showDetailItem, it doesnt seem to have any effect whatsoever.

  • Permissions on a file change depending on which computer is being used

    I have a file that does not have the same permissions depending on which computer it is on.
    On three computers (one using OS 10.3.9, one using OS 10.3.7, and one using OS 10.4), in the get info panel, the owner is listed as the user of the computer and the first line states: You can read and write.
    One a fourth computer using OS 10.3.9, the same file shows up with owner listed as "nobody" and the first line in the get info panel states:
    You have no access.
    What is going on with that fourth computer? How can I get it to have the same ownership and permissions as the other three computers without having to manually go in and change these items? I use this computer to archive files and the archiving gets done automatically, i.e. without human intervention. Right now it's not working because there are numerous files with this ownership problem.
    Thanks,
    Sue Lange

    I'm not sure what you mean by using apple file sharing. I go to the "Go" menu. Find the computer on the network. Select "Connect to Server." Browse to find the computer. Select that computer. Sign in as "guest." The computer's public folder is then mounted on my desktop. I drag the files over to the mounted computer.
    I just tried to do it the opposite way (mount the original "from" computer on the "to" computer and drag the files into the public folder.) Most files work fine, but the files I'm having trouble with are not moving. They go through the motions of moving, but do not show up. These files have some sort of security attached to them from the originators. No one on site is the originator so we can't fix the problem by changing permissions. Again, everyone else is able to work with these files except the one computer.
    Thanks,
    Sue Lange

  • I need a control which allows a user to choose from specific values (which I specify), NOT 0, 1, 2 etc. [I KNOW I can let him enter 0, 1,2 fro

    m a listbox, and then change the value on the block diagram, but what I want is that on the subvi node itself he can enter the actual values, say 1, 10, 200. Does anyone know how to do this, creatively, since currently a control like this is not available.I need a control in Labview which allows a user to choose from specific values (which I specify), NOT 0, 1, 2 etc. [I KNOW I can let him enter 0, 1,2 from a listbox, and then change the value on the block diagram, but what I want is that on the subvi node itself he can enter the actual values, say 1, 10, 200. Does anyone know how to do this, creatively, since currently a con
    trol like this is not available.

    m a listbox, and then change the value on the block diagram, but what I want is that on the subvi node itself he can enter the actual values, say 1, 10, 200. Does anyone know how to do this, creatively, since currently a control like this is not available.> I need a control which allows a user to choose from specific values
    > (which I specify), NOT 0, 1, 2 etc. [I KNOW I can let him enter 0, 1,2
    > from a listbox, and then change the value on the block diagram, but
    > what I want is that on the subvi node itself he can enter the actual
    > values, say 1, 10, 200. Does anyone know how to do this, creatively,
    > since currently a control like this is not available.
    >
    One way of doing this is to use either a ring or enum where the strings
    presented to the user are "1", "10", or whatever you like. On the
    diagram, the values will be 0, 1, 2, in a compact counting sequence.
    Then do an array index into a constant. If this is done more than one
    place, make the control a typedef so you can keep them consistent an
    d
    make the index be done in a subVI. Then whenever you need this, you
    drop the control and the subVI, out comes the integer, float, or
    whatever it is you want to index.
    Greg McKaskle

  • How can I import songs which are filed basis one album/compilation as one folder?

    How can I import songs which are filed basis one album/compilation as one folder?
    i can drag and drop one folder which is a proper album into itunes under playlist. if i drag and drop two proper albums into itunes it is also ok but if itunes does not know my own compliations and i drag and rop my 3000 folders in one shot into itunes i get only one playlist containing all songs.
    pleased to hear if anybody know how i can avoid to do 3000 times drag and drop a folder into itunes.
    rgds, alexander

    Before you begin the import, edit the properties of the tracks to set the Album Artist to Various Artists and Part of a Compilation to Yes.
    For more info. see Grouping tracks into albums.
    tt2

  • When I try to buy something, I get an Apple-ID which is not the one I want to use, and I don't know how to get rid of it either, so that I can use my ID, which is in Mail, Contacts etc. The ID I get, I can't find, so that I can delete it. What to do?

    When I try to buy something, I get an Apple-ID which is not the one I want to use, and I don't know how to get rid of it either, so that I can replace it with my ID in Mail, contacts etc. The ID I get without wanting it, I can't find anywhere. I have to delete it. How do I solve this problem, anyone?

    My content was obtained through another ID, which popped up earlier. Now this one doesn't pop up, and my current ID doesn't pop up either, but another one. How do you find an ID which is not in the store, and not in Mail, contacts etc. either?
    Or is it possible to write the ID yourself when you want to buy something, not only to have it popped up being unable to be changed?

  • I am very confused. When I wanna to update my apps in app store, it shows the account which is my iPhone one is not my iPad one. how can I reset to my iPad account?

    I am very confused. When I wanna to update my apps in app store, it shows the account which is my iPhone one is not my iPad one. how can I reset to my iPad account?

    And I am very confused by your query. Your iTunes account is the same on all devices - unless of course you have multiple accounts to begin with.
    If you do have another Apple ID that you use for the iPad purchases, you can sign out of the account that is on the iPad in Settings>Store.
    Perhaps a few more details from you could clear up the confusion???

  • Which wireless all in one printers work best with ipad 4

    Please help me decide which wireless all in one printer works best with the ipad 4.  I am looking for better photo printing quality, but not the very best.  I am concerned mainly with being able to set up the printer using only my ipad 4 and wireless router, as I do not own a PC with a cd/rom.  I am also interested in which brand of compatible printers is less expensive to buy ink and paper for.  I would prefer a more compact unit.  Thank you in advance for any advice.

    These days I prefer Brother printers. They appear to have engineered their printers with AirPrint as well as OS X compatibility from the start, unlike certain others who appear to have included it as an afterthought.
    Brother's models are inexpensive, their ink is also inexpensive and lasts a long time, and their photo quality is at least as good as anyone else's. They have a two year warranty and lifetime free technical support with people who understand Apple.
    Read the reviews (Amazon for instance, but be sure to read user reviews on the various manufacturer's websites as well) and decide for yourself.
    Brother™ Monochrome Laser Printer and All-in-One models now support AirPrint.
    Brother™ Color Inkjet All-in-One units now support AirPrint.
    I positively detested every inkjet printer I ever had until I bought the Brother.

  • WiFi printer which can work with one cartridge also at a time (black or color) in a colour printer

    All-in-one (OfficeJet or Inkjet) WiFi printer which can work with one cartridge also at a time (black or color) in a colour printer.
    Even if colour cartridge is over, w/o replacing I can still print with black cartridge.
    Which printer is suitable.

    Since I upgraded to Firefox 19 from 18.0.2, on my Windows XP (SP3) laptop, I, too, can no longer open a new window. File-->New Window does nothing; also can no longer tear off a tab and open it in a new window (it stays where it is). Also, if I right-click on a tab and select Move to New Window, nothing happens. All of these worked fine in FF 18.0.2. All of these work fine with FF 19 on Windows 7. Only an issue on my XP laptop.
    After trying to open a new window, and not seeing the new window come up (and yes, I waited a long time), I decided to close my current window, which had multiple tabs open. Instead of just closing, it pops up the message reminding me that I'm about to close all those tabs. If I say close, and then go into the Task Manager, the Firefox application has disappeared (as expected), but the firefox (and plug-in container) processes are still running. So I have to manually kill the Firefox process to get it to quit. it's as if it thinks there is another Window open (the one I tried to open but never appeared). This happens every single time! I've restarted my laptop, and that does not resolve the problem.
    Is there a way to downgrade back to v 18.0.2 until this is fixed?

  • Keep getting error message saying ipod detected but could not be identified properly - I have tried all the steps on the support page twice and it still will not work!  I am running windows 8 (which it has worked with ok before) - struggling :(

    keep getting error message saying ipod detected but could not be identified properly - I have tried all the steps on the support page twice and it still will not work!  I am running windows 8 (which it has worked with ok before) - struggling
    I recently bought some new albums and can't play them on my ipod

    I just encountered the same problem on my 2 month old MBPro.  I found a work around by changing USB ports.  As for the actual cause or the reason why that worked, I dont know.  The USB port I was using works fine with my phone or other USB devices.

  • I am unable to activate an old windows copy of CS3 that I have. Did previously install it on other computers which I then failed to deactivate before discarding them. What can I do now?

    I am unable to activate an old windows copy of CS3 that I have. Did previously install it on other computers which I then failed to deactivate before discarding them. What can I do now?ACT

    why can't you install it?
    if it's because you've used your max of 2 current activations and need to deactivate (and you'll see that message if that's the problem), contact adobe support - http://helpx.adobe.com/x-productkb/global/service1.html
    otherwise, explain.

  • How to create a table which have always only one entry inside it?

    Hi Experts,
    Is it possible to create a table in data dictionary which have always only one entry inside it. If  we insert another entry, then it should throw an error.

    if  you want to   maintain  only one data  in that  ...   then
    first  time   for  making  one  data entry     in the <b>Delivery & maintaince   </b> tabstrip  in the   table  have an  option   <b>Display /maintaince Allowed ...</b>
    after that
    change  it to  <b>Display/maintianance allowed  Restrictions .</b> ...  so that  table will not  allow to insert the entries .
    reward  points if it is usefull ....
    Girish

Maybe you are looking for

  • Questions about SAP's SRM capabilities

    SRM Experts, I have two questions: In SAP, is it possible: 1. To have "Amount Only Requisitions", that is, specify requisitions that enable requesters to order goods and services specifying only a dollar amount and not quantity. 2. Reopen Closed Requ

  • MAVEN Directory Layout

    HI! What if I want to use the Maven Directory Layout with SUN JSC? I haven a WEB application where I use Maven and I want to write the GUI with SUN JSC. I tried to make it recognize the existing WEB.XML and JSP's, however it doesn't work. I can imagi

  • Adobe Flash Player plugin: missing

    Adobe Flash Player plugin successfully installed (several times). But every page display: Click here to download plugin. MSW7, Firefox, notebook

  • Error  '"Shockwave Flash", but the plug-in failed to load successfully

    Hi, some help please. I'm not very technical on macs so I need somebody to help with as much detail as possible. I use the browser Safari 1.3.2 but it will no longer display flash content, instead I get the lego box with a question mark in it and the

  • How to remove AM extension and substitution from server

    Hi, Can somebody please tell me how to remove existing subsitution and extension of AM from server. Regards Swati