How to get out a subset in front and behind a number that your search in a table.

Hello

A search gives me nothing so I apologize if it's there somewhere and I'm not.  I'm using LabVIEW 7.1 and seeks an array for a given value.  Once I found this value in the table, I want to take the 51 values with the one I found in the research at the Center. Is there an easy way to do this?  The current way I'm doing it is by using the table search and seizure then the index in the array with a length of 51 subset function.  Of course, I want to get the points of 25 data before and 25 after what I searched, and not 50 after.  What is the most effective way to do it?  I should fork by the index of my result of research into two table vi.  One being the 25 index and the index and then set the length of these two sub-tableau at 25?  Thanks for any advice regarding the case.  Sam

Why don't you just subtract 25 from the index that your value is found and use it as an index for the subset of the table starts?  You will have to do the situation where your desired value is less than 25 points, but that should be fairly easy depending on how you want to manage.

Tags: NI Software

Similar Questions

  • How to get a color of the label and the UID of that color in Indesign CC 2015?

    Hello

    I found the API to set the color of the tag XML in InDesign CC 2015 as below:

    IXMLTagCommands::SetTagColor(IDataBase* db, UID tag, UID color);
    

    But I cannot yet understand where I can get the UID of different colors. Can someone help me with the file name for the same thing?

    Also, is it possible to get the XML tag color?

    Hi kapoor_aman27,

    different colors, take a look at IUIColorUtils in the SDK.

    Markus

  • I have a new laptop and I am a newbie on the laptop. I inserted a cd but now how to get out? Of course it is obvious on the desktop what do, but not on laptop.

    I have a new laptop and I am a newbie on the laptop. I inserted a cd but now how to get out? Of course it is obvious on the desktop what do, but not on laptop.

    Well, no, actually, I talked to someone at Microsoft and he discovered for me. The answer is the keyboard on the top right of my keyboard and the third button on the end. Worked like magic.     Thanks again!

  • I have a wireless optical mouse and I can't remove the usb of my laptop Gateway receiver. It is stuck there. How to get out?

    I have a wireless optical mouse and I can't remove the usb of my laptop Gateway receiver. It is stuck there. How to get out?

    Hello

    The unit just has USB slide out. If it is stuck, consult with a real computer store (the one that makes
    his own service in the House and not leeks and glances at a Best Buy or other stores) or gateway
    supported.

    Gateway drivers and downloads
    http://support.gateway.com/support/drivers/dlcenter.asp

    Technical support Gateway
    http://support.gateway.com/support/?cmpid=topNav

    Door Documents
    http://support.gateway.com/support/SUPINFO/index.asp?cmpid=topNav

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How to get out computer safemode?

    How to get out computer safemode, troubleshooting says to many programs open in the start menu

    Hi kristi,.

    First of all, to deal with the programs at startup, click on start / all programs / accessories / run and type msconfig.exe, and then enter.  Go to the Startup tab and uncheck everything what you don't need from start (most is not necessary, but simply useful, but if not checked periodically it can accumulate over time).  You need your antimalware program and virtually all the rest of the list is optional (but some may be required for your system, so be a little careful, but if you uncheck something you really need and find out later, you can always go back and check again isn't a big concern). This only in the start, for now tab.  Click OK when finished.

    Now, to go out to start in safe mode, while remaining in msconfig, go to the Startup tab and uncheck the box Mode safe if it is checked.  If this isn't the case, then what you deleted should if all goes well do the trick.  When I did that the first time, I have removed more than 90% of what was there and there was no effect on me whatsoever - and not only the startup and shutdown to happen more quickly, but my computer run faster while working as well and the Task Manager showed a dramatic drop in CPU utilization and memory.

    Restart now.

    When you first restart, you get a screen asking you how you want to start.  Choose the Normal Boot or Normal Mode or something like that, said like that (NOT Mode without failure or something).  You need to start normally and this should solve the problem.

    If this does not work, then come back and tell me your exact version of Windows (32-bit Vista Business SP2 - and Yes, much more in detail) and we will try a clean boot troubleshooting procedure to try to find the culprits causing the problem - but I hope it won't be necessary.

    I hope this helps.

    Good luck!

  • How to get out the mode safe mode with msconfig.

    I'm working on my computer and need to start in safe mode. I ran the msconfig and reboot the laptop. I get to the login screen, but when I get my username and password it tells me that the user name and password is not correct. How to get out the mode safe mode with msconfig.

    When you run msconfig to get set to Safe Mode, you just activate/check the option/SafeBoot at startup. INI tab or did you do something else?

    There is some malware that if you use the/SafeBoot option, you will not be able to use your system again until you remove the switch/SafeBoot the boot.ini for you can boot normally.

    Maybe it's not your exact problem, but I will never suggest to anyone to use the option / SafeBoot never again - too risky when troubleshooting since you can always start new or will never connect again until you remove the switch/SafeBoot.

    Anywho, if that's what you have done, you can start in the XP Recovery Console and then either make a new boot.ini file containing the switch/SafeBoot or simply rename the boot.ini file, you have something like boot.ini.old if you don't have a boot.ini file (I know it seems like a weird idea).

    In a single partition configuration, XP is not even a file boot.ini to boot.  XP will complain if there is no boot.ini file, but will always start very well without one (non-believers - try it!).

    After you get booted up and logged in, you can rename boot.ini.old in boot.ini and run msconfig to remove the option/SafeBoot, and never use it again.

  • I had a virus that says that the FBI caught me downloaded inlegal stuff a fine of 72 hours or there would be charges pressed against me and I don't know how it get out!

    I had a virus that says that the FBI caught me downloaded inlegal stuff a fine of 72 hours or there would be charges pressed against me and I don't know how it get out!  Whenever I turn on my computer it pops up and I can't do anything! Sometimes I can go and get online! If anyone knows how to remove it please help me!

    What you are investigating your pc with?  What anti virus?

    Some malware knows how to avoid the standard as applications McAffee, Norton and Kaspersky, Avast.

    To be absolutely sure, you may have to reset it to the factory or clean install.  Make sure that you have a backup first.

  • How to get out of the UiApplication?

    Hello!

    Can u tell me pls, how to get out of the UiApplication. The deactivate method is sufficient for this.

    PLS, suggest me-

    System.Exit (0). Or close the last screen and call the application itself.

    Disable does something different:
    public void deactivate()
    Handles finishing event.

    The system calls this method when sending of this request in the background. By default, this method does nothing. Override this method to perform additional when processing sent in the background.

  • cartridges won't come out, says paper jam, how to get out of cartridges without killing printer.?

    cartridges aren't coming out,

    says paper jam, no paper in the printer,

    How to get out the cartridges without killing printer.?

    I did the thing video together 3 times and still won't come out? I'll call hp remote and hope they can fix it thank you

  • How to get out with renaming a file every time that I change it?

    How to get out with renaming a file every time that I change it?

    Since the last update, I have more the possibility to combine files. How can I recover this feature

    10 pro version

    For the first issue: disable the preview pane in Windows Explorer.

    Wednesday, July 15, 2015 to 18:46, keithf52379832 [email protected]>

  • Is there a way to re set Lightroom to the original settings, I've been playing with it and got somewhere that I don't know how to get out of... not particularly computer savvu

    Is there a way to re set Lightroom to the original settings, I was playing with it and has gotten, somewhere, I don't know how to get out of. Not very computer savvy

    For starters, stop Lightroom

    On Windows, do the following

    Click the Windows Start button and in the search box type: -.

    %AppData%\adobe\lightroom

    Then press Return\Enter

    This will take you to the folder Lightroom (see image below)

    Select the Preferences folder and click on delete to send it to the Recycle Bin.

    Close the Lightroom folder, and re-start the Lightroom program.

  • How to get out of a loop of 2 different conditions

    Hello Experts

    I'm writing a procedure in which I take the PROVINCE as an input parameter. All provinces are stores in a table. I use a cursor variable and rowtype to control the province. After I find province I displays its code and province. Everything works very well wait for me if I can't find the province. I don't know how to get out of the loop, if I can't find the province. I already use the output when the condition. I was expecting another condition should function and must break out of the loop, but it doesn't. Can you please someone show me how to get out if I can't find the province in the table through the cursor.

    Here is my code

    Set serveroutput on
    variable G_TAX varchar2 (10)
    CREATE OR REPLACE PROCEDURE p_create (i_state VARCHAR2) is
    CURSOR cur_bb_tax is
    Select * from bb_tax;
    bb_tax_details bb_tax % rowtype;
    Start
    If it is cur_bb_tax % isopen then
    Open cur_bb_tax;
    end if;
    loop
    extract the cur_bb_tax in bb_tax_details;
    If (bb_tax_details.state = i_state) then
    dbms_output.put_line (bb_tax_details. State | bb_tax_details.idstate);
    end if;
    When the output bb_tax_details.state = i_state;
    end loop;
    close cur_bb_tax;

    exception
    while others then
    dbms_output.put_line (SQLERRM);
    end;

    Thanks in advance

    ....
    loop
    extract the cur_bb_tax in bb_tax_details;

    IF (cur_bb_tax%notfound) then  exit;END IF;
    

    If (bb_tax_details.state = i_state) then
    dbms_output.put_line (bb_tax_details. State | bb_tax_details.idstate);
    end if;
    ....

    SIM

  • How to get out of a sequence structure

    Is there a way to get out of the structure of sequence?

    Lol that is one of the reasons why the sequence structures are often wrong. Much better to rewrite the code to be a state machine.

  • How to print a document all e-mail and not a 'screenshot' that I get in the option Print Preview.

    How to print a document all e-mail and not a 'screenshot' that I get in the option Print Preview. I would like to print "file" "as I can on other browsers (IE, for example). When I try to print from Firefox it catches all my info (shirts, etc.) from the left side of the page. I need only e-mail information, not information of the entire screen. Thank you!

    -Bruce

    I had the same problem at first. You open the e-mail as usual. And then in the Actions drop-down list box, you select the print option. This has worked for me and printed the actual e-mail only.

  • How to get the string (specified by row and column) of txt file with labview

    Hello world

    How to get the string (specified by row and column) of txt file with labview

    THX

    As far as I know, a text file has no column.  Be more specific.  Do you mean something like the 5th word on line 4, where the words are separated by a space, and lines are separated by a newline character?  You can read from the spreadsheet String function and set the delimiter to a space.  This will produce a 2D channels table.  Then use the table to index and give the line number and column number.

Maybe you are looking for