Find the corresponding item in the 2D array

Hello everyone,

I have the problem that I can't fix,

In my VI I have a table of two columns of 5000 element in each column.
In column A, I managed to find the min and max, what I want to find the corresponding value of this minimum amount in column B.
For example:

A            B

1             5
25 0.87
3             2
4             1
4             98
5             2
0.2 55 of
9            0.1

The min of A is 0.2 and I want to get B = 55 in the present case.

Thanks in advance for your help.

Use index for the column a. use the function 'Table Min and Max' to get the minimum value of the column and it will also return the corresponding index during which lies this minimum. Then get this same column index B.

Tags: NI Software

Similar Questions

  • How can I find the total number of items in a dim multi table

    How can I find the total number of items in a simple Sun table or multi?

    For example, a table 2 x 3 has 6 elements, and a 2 x 3 x 4 to 24. How can I calculate this very easily - is there a single VI do that?

    David

    Use "table size" (palette table) followed by "multiply the elements of the array" (digital palette)

    (Also works well for 3D arrays and higher)

  • How to find the number of data items in a file written with the ArryToFile function?

    I wrote a table of number in 2 groups of columns in a file using LabWindows/CVI ArrayToFile... Now, if I want to read the file with the FileToArray function so how do I know the number of items in the file. during the time of writing, I know how many elements array to write. But assume that I want the file to be read at a later time, then how to find the number of items in the file, so that I can read the exact number and present it. Thank you all

    Hello

    I start with the second question:

    bytes_read = ReadLine (file_handle, line_buffer, maximum_bytes);

    the second argument is the buffer to store the characters read, so it's an array of characters; It must be large enough to hold maximum_bytes the value NULL, if char [maximum_butes + 1]

    So, obviously the number of lines in your text tiles can be determined in a loop:

    Open the file

    lines = 0;

    While (ReadLine () > 0)

    {

    lines ++;

    }

    Close the file

  • Deployment of sbRIO 9606 chassis LabVIEW (sbRIO-9606): (Hex 0x80DF001E) could not find the plug-in for this deployment item. Make sure that the appropriate software is installed.

    Hi guys,.

    I have problems getting my sbRIO 9606 to deploy.

    Everything's fine until during the deployment process, I get this:

    Deployment of sbRIO 9606 chassis (sbRIO-9606)
    LabVIEW: (Hex 0x80DF001E) could not find the plug-in for this deployment item. Make sure that the appropriate software is installed.

    I tried to reinstall LV (ensuring that FPGA & RT deployment options are checked) and the 9606 software shipped, but it made no difference. I'm still waiting my next serial key by NOR, I have to wait that I recorded it before I can deploy?

    Please find attached the screenshots of my:

    • License Manager OR
    • Overview of the 9606 MAX
    • My project folder
    • Dialog box deployment where the error is displayed.

    -Adam

    Hi Tim,.

    In time real 11 is installed according to the recommended software battery installation program included on the disc NEITHER RIO provided in the starter pack.

    The problem is that the recommended Software NI Scan Engine 3.0 installation program.

    The sbRIO 9606 does not support scanning engine.

    Once the scanning engine support has been uninstalled, I could deploy on my 9606.

  • How to find the mode of a string array

    Hey guys,.

    Then I came across this little problem that I thought I could solve easily enough, but it turned quite messy.

    I have this array of strings, and I want to find the most frequent entry in this array. Let's say I have the following table.

    Apple

    Apple

    Kiwi

    Orange

    Apple

    the mode would give me apple. I thought to convert the strings into a number and then find fashion as usual.

    But if the chain is too long, it seems a superelevation of unique number used to represent.

    Any ideas on a clean way to do this?

    This can also work

    Nick

  • Find the line in the 2d array

    Help, please...

    I have a 2d double table and I want to find a specific line, an extract to new table 2d.

    My 2d array is:

    100 31.3 25.3 32.1 25.6
    100 31.3 25.3 32.1 25.6
    160 32.4 25.5 33.5 26
    170 33.2 25.8 34.3 26.2
    100 33.9 26 35.2 26.4
    160 32.4 25.5 33.5 26
    160 32.4 25.5 33.5 26
    100 31.3 25.3 32.1 25.6
    170 33.2 25.8 34.3 26.2

    and I want to find the line with the numbers 100,160,170 and build new table 2d

    100 31.3 25.3 32.1 25.6
    160 32.4 25.5 33.5 26
    170 33.2 25.8 34.3 26.2

    Please help... tnx, tnx

    I guess you should be more specific about your question. If you have decided to find values that are present in the 1st column, you can use search table 1 d and pass the index to the 2D array index so you will get a table 1 d of line then build the table by searching for the element.

    That's what explains Yamaeda

  • How can I find the subset of a table that corresponds to a set of conditions/conditions?

    I have often encountered this problem in LabVIEW, probably the result of my Matlab based thinking on the tables. Suppose I have a 1 d array that consists of a real number between 0 and 2 (for example):

    1.3 0.1 1.9 0.7 1.4 1.5 1.5 0.8 1.3 0.3 1.4 1.4 0.1 0.6 0.1 0.2 1.6 1.6 1.4 0.6 0.1 1.9

    and I want to know the average of the subset of values greater than 0.5 and less than 1.2:

    average ([0.8 0.7 0.6 0.6]) = 0.6750.

    How can I find the subset of the array that satisfies the condition > 0.5 &<1.2>

    For your example (values between 0.5 and 2) If you wish:

    I would do something like this:

    I have generated just a table of 10 random numbers between 0.0 and 2.0

    The following loop sorts the data, using "range and force."
    It then displays the data in the selected range.

    The last step is to take the average

    I have attached the VI if you do not want to use the code.

  • Error: "Windows Media Player cannot find the file. If you try to play, burn, or sync an item that is in your library, the element can point to a file that has been moved, renamed or deleted'

    Original title: laptop won't read the music files stored on external hard drive

    I have an old Compaq laptop Windows XP, so it was out of memory I transferred everything on a Portable Seagate (500 GB) hard drive and started to access it. It's worked well for over a year, but lately, began to stop playing my music files. Absolutely everything on the hard drive opens, however, images, files and folders, but when I go into Windows Media Player, it pops up with this error message:

    Windows Media Player cannot find the file. If you try to read, burn or sync an item that is in your library, the element can point to a file that has been moved, renamed, or deleted.
    I have not modified parameters or anything that moved. I used to be just able to restart the laptop, or disconnect and reconnect the hard drive and it works again, but now it or not will be not at all, or it will cut off half way through a song and then not to play anything more.
    I can't find any support for this problem because the phone reads that the hard drive is there, and everything else works. Only the music doesn't. I tried to play music on a connected USB and it works fine. I'm so confused!
    Hi lkm0293,
     
  • Error - Windows Media Player cannot find the file. If you try to read, burn or sync an item that is in your library, the element can point to a file that has been moved, renamed, or deleted.

    Original title: my Media Player will not play the majority of my music files.
     
    Here's what he said
    "Windows Media Player cannot find the file. If you try to read, burn or sync an item that is in your library, the element can point to a file that has been moved, renamed, or deleted. »

    There has been NO change to my other computer from so NY to AZ I have an internal but also external hard drive and I have so many files that I don't have the disks more and I don't want to lose them.  Any help will be greatly appreciated, thank you.

    Hi David,

    What version of Windows Media Player do you use?

    If you use Windows Media Player 11, you can follow the steps in this link & check if the problem persists.

    You cannot view, add, or delete items in the library of Windows Media Player 11


    Reference:
    error message when you type the name of a file to play with Windows Media Player: 'Cannot open file'

    Hope the helps of information.
    Please post back and we do know.

  • Windows Media Player cannot find the file. If you try to read, burn or sync an item that is in your library, the element can point to a file that has been moved, renamed, or deleted.

    Lately I get the following message if poster every time that someone sends me an email with an attachment. I use to be able to display up to a few weeks before. the message is - Windows Media Player cannot find the file. If you try to read, burn or sync an item that is in your library, the element can point to a file that has been moved, renamed, or deleted.

    Does anyone have an idea on how I can display these attachments?

    Thanks for your help.

    Hi fredleon,

    · What is the email client or webmail you are using?

    · What is the attachment file extension?

    · How do you open the attachment?

    · Is it by double-clicking or you choose open with option.

    a. save the attachment to the office,

    b. right-click on the file and select open with the option to open the attachment according to their file extension.

    Example: If the .docx file extension, then it is word document or .pdf, it's Adobe.

    You can get the extension of a file by right clicking on the file and go to properties

    With regard to:

    Samhrutha G S - Microsoft technical support.

  • Cannot retrieve the songs to a cd error "Windows Media Player cannot find the file. If you try to read, burn or sync an item that is in your library, the element can point to a file that has been moved, renamed, or deleted. »

    Oriiginal title: can not extract the songs from a cd

    I have problems ripping the songs from a cd in my windows media player library. Whenever I click "Rip CD" this message "Windows Media Player cannot find the file. If you try to read, burn or sync an item that is in your library, the element can point to a file that has been moved, renamed, or deleted. "How can I fix it?

    Hi littleprincess54,

    (1) have you checked with diffΘrents CDs?

    (2) since when are you facing this problem?

    Method 1: Run the troubleshooter in Windows Media Player settings and check if that makes a difference

    Open the troubleshooting Windows Media Player settings Troubleshooter

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Method 2: Change the location of Rip. see the steps mentioned in the link

    To change rip settings in the Options dialog box

    Method 3: You can follow the steps mentioned in the link below that relates to a similar question

    Windows Media Player error C00D1197

    http://Windows.Microsoft.com/en-us/Windows7/C00D1197

    Thanks and greetings
    Ajay K
    Microsoft Answers Support Engineer
    ***************************************************************************
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Windows Media Player cannot find the file. 'If you try to play, burn, or sync an item that is in your library, the element can point to a file that has been moved, renamed or deleted'.

    Original title:

    Problems with rip audio CDs with windows media player

    Bought the CD now 82 and try to tear with the windows media player player, but keep getting the message "Windows Media Player cannot find the file. If you try to play, burn, or sync an item that is in your library, the element can point to a file that has been moved, renamed, or deleted." What should I do to rip this cd please did tear previously no probs, but now seems to have a problem

    Thanks in advance

    Anne

    Hello
    1. You did changes to the computer before the show?
    2. Are you able to extract other CDs using Windows media Player?
    3. What is the file format of the file you are trying to extract?
    Method 1:
    Step 1:
    You can run the Windows Media Player Library convenience store & check if you are able to rip CDs.
    Step 2:

    Open the troubleshooting Windows Media Player settings Troubleshooter

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter


    Method 2: Rebuild the windows media player.

    exit Windows Media Player.
    b. click Start, type %LOCALAPPDATA%\Microsoft\Media Playerand then click OK.
    c. Select all files in the folder, and then click delete on the file menu.

    Note:
    You don't have to remove the folders that are in this folder.
    c. restart Windows Media Player.
    Note:
    Windows Media Player automatically rebuilds the database.
    If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:
    exit Windows Media Player.
    b. click Start, type %LOCALAPPDATA%\Microsoft, and then click OK.
    c. Select the Media Player folder, and then click delete on the file menu.
    d. restart Windows Media Player.
    Note:
    Windows Media Player automatically rebuilds the database.

    Method 3: Disable and enable the windows media player. Follow these steps:

    a. open the Control Panel from the Start menu.
    b. open programs and features in Control Panel .

    Note: If the programs and features are not available, change the view by large icons at the top right of the control panel.

    c. Select Windows turn on or off features in the left column of the window programs and features.
    d. click on the plus sign next to multimedia functions.
    e. uncheck Windows Media player and then click OK. (You may receive a warning message. Click on the Yes button.)
    f. restart your computer.
    g. to reactivate the Media center follow the same steps and place a checkmark for Windows Media player.
    h. click on the Ok button.


    i. restart your computer.
    Reference:
    Method 4:
    Change the location of Rip. see the steps mentioned in the link
    given below:
    To change rip settings in the Options dialog box

    http://Windows.Microsoft.com/en-us/Windows7/change-settings-for-ripping-music
    I hope this helps!
  • I just bought 14 items for my PC.  I'm trying to find the tool history brush in the Toolbox, but can not find the tool Panel.  HELP!, I just bought 14 items for my PC.  I'll try to find the tool history brush in the Toolbox, but cannot

    I'll try to find the Brush tool that is supposed to be in the tool Panel, but I can't find the tools Panel.  I just bought 14 items for my PC.  Also, I want to be able to have several photos to the top at the same time so I can move something from one photo to another, but I didn't understand how to do this.  I had worked with 10 items.  It's quite confusing to me.

    Chantig1 wrote:

    I'll try to find the Brush tool that is supposed to be in the tool Panel, but I can't find the tools Panel.  I just bought 14 items for my PC.  Also, I want to be able to have several photos to the top at the same time so I can move something from one photo to another, but I didn't understand how to do this.  I had worked with 10 items.  It's quite confusing to me.

    I could be wrong, but I think the tool 'tool shape history' exists only in the full Photoshop...

    My advice is to use the help file (in online or download the manual pdf https://helpx.adobe.com/pdf/photoshop-elements_reference.pdf)

    The interface has been changed in version 10, and you'll save time by looking at the different tutorials about it.

    The tool options palette is on the background, you can open it in the horizontal icon bar: second icon of the tool option palette or a first for the photo tray.

    Look at the menu display to choose how view several files at the same time. There is also an option in the menu Edit/Preferences to "allow the floating windows in expert mode.

    To move one photo to another, you can use the photobin to drag a photo to another already open in the display panel. You can also drag layers in the layers panel to another picture displayed.

  • I have all these numbers in the box of my Adobe Photo elements first items 11, but I can't find the serial number

    I have all these numbers in the box of my Adobe Photo elements first items 11, but I can't find the serial number

    Find the serial number of your Adobe product quickly

  • Cannot find the 'clone' on 14 items.

    I can't find the 'clone' on my new 14 items.

    You can switch between the clone stamp and the pattern buffer by opening the tool at the bottom of the Expert mode options.

    See the image below:

Maybe you are looking for

  • My profiles are now hidden from me?

    In previous versions, I've always been able to plug the name of one of my Internet service providers in the search box in Windows 7 and he would get me the directories where my emails have been hidden. Today vital for adding some e-mails that arrived

  • In Firefox 20.0.1 I can't see all downloads in a private window active

    Basically Download Manager doesn't seem to work at all in the private view. There is no way to track downloads in private view. The only thing I can do to find them is to manually go into the firefox windows ' Temp' folder and search there.

  • How to connect Equium A100-306 to HDTV?

    Hello I was wondering if it was possible to connect my Equium A100-306 to my HDTV using a VGA cable component? The laptop has the chipset intel 945g. Thank you.

  • flash moto defy problem

    When the flash is on the i can not see the foto I take (is a black screen)... When is out I see the picture I take. Anyone has the same problem whith challenge please help.

  • svchost.exe error

    after start my xp sp3 professionial during one minute, it will display an error svchost.exe - application, the instruction at "0x012becb3" referenced memory at "0x00000000". the memory could not be 'written' I tried to click ok or cancel, it will pop