Help required with text file handling in GPIB

Hi attached is my vi for GPIB communication with Aginelt Network Analyzer in Labview 8.
I'm saving the data of network analyser into text file(appending all the data). I wish to make some changes into it. As can be seen there is a input which asks for number of points/segments. Supposed I give that input as 201 points(it can be 401,801,1601,51,etc.) than after every 201 points data should get appended into a new coloumn and not into 202 row. Seperate coloumn should start for the whole set of 201 points, where as currently what is happening is all the data is getting appended one below the other.
Can anyone help around,
Regards
Attachments:
finaltemp.vi ‏52 KB

Here...
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Attachments:
finaltemp(80).vi ‏52 KB

Similar Messages

  • Help required with downloading files from inside WEB-INF folder

    I am working on a web application and I have an upload script which uploads different files to a foler called 'uploads' . To stop users from accessing the folder content I have put it in the /WEB-INF/.
    In my JSP file, I used to link to the uploaded files like this before for users to download them :
    if(filesListIterator.hasNext()
    files = (FilesBean)filesListIterator.next();
    <tr><td><a target="_new" href="<%=files.getFileName()%>">"<%=files.getFileName()%></a></td></tr>
    }I need to know how to alter the above link to make it access/download files from the /WEB-INF/uploads/ while still restricting direct access to the files.
    Thanks
    Message was edited by:
    topiwal

    Anything under WEB-INF is not directly accessible via the browser/ client. You could try defining the JSP/ Servlet inside web.xml deployment descriptor and see if you can access the file from there.
    I think a better way to accomplish this would be to keep the file outside WEB-INF , and use other techniques to protect the folder that contains the file - for example password-protection, or defining a .htaccess file and serving a 403 Forbidden error.

  • Help required with Photoshop Elements 4.0 this has been installed on my new Toshiba laptop with windows 8.1 for some 18 months and operating well. Now it will not open, message pops up saying "attempt to access invalid address" then "application not respo

    Help required with Photoshop Elements 4.0 this has been installed on my new Toshiba laptop with windows 8.1 for some 18 months and operating well. Now it will not open, message pops up saying “attempt to access invalid address” then “application not responding” Suggestions how to access would be much appreciated. Tks. Stuart

    What is the size of your hard disk?  PSE 4 is a very old program and I suspect it is not able to access the entire hard disk on your machine.  Just a thought here.

  • Help require with installing Adobe Acrobat onto my Macbook Pro Retina.

    Help require with installing Adobe Acrobat onto my Macbook Pro Retina.
    I have successfully installed all of my creative cloud apps with the exception being acrobat.
    I cannot print from Indesign to PDF.
    I have unistalled, reinstalled and still no Adobe Acrobat.
    I now have to go back to Windows 8 and create the PDF's there.
    Any one know how to get around this issue?
    Thanks in advance
    Kelvin

    OSX has effectively killed the ability to print to pdf, (print to pdf eliminates most of the "Rich features" of current pdf).
    Export from InDesign, always, excpet for the 1% of the time where you know why print to pdf would produce a better result.

  • Help required with (soundcard) connection / settings, thanks in advan

    Help required with connection / settings between a Creative Sound Blaster Audigy Platinum EX (soundcard) and a Creative DTT3500 Digital (5. speakers).
    The problem
    No sound from any of the speakers. (Exception can plug in headphones at front)
    Background
    My computer has been recently upgraded at my local computer shop and all programs re-installed (including driver update from Creative's website). However after reconnecting speakers and restoring the original settings I?m getting no sound from any of the speakers. I?ve followed all the available advice/instructions I can find on this website and manuals to no avail.
    Set-up
    Physical
    (Digital DIN) Speakers/decoder amplifier (DTT3500) connected to the (digital out) soundcard (Audigy Platinum EX) using minijack to DIN cable. (As per instruction manual)
    Software
    Creative Audio Consul ? setting as per instructions, however have tried variations in vain. (Note: above tabs there is a select device box with SB Audigy [A0000] in it ? only option. Just wondering what [A0000] means?)
    Your advice please. A simple step by step guide would be appreciated, many thanks in advance, Jon

    "My computer has been recently upgraded at my local computer shop and all programs re-installed (including driver update from Creative's website). "
    Do you have the original installation disk?
    If so, try installing THOSE drivers, ESPECIALLY if it worked before. Be sure to uninstall what is there now, first.
    Its natural for most people to want the 'latest' drivers for their hardware. However:
    After experiencing some difficulties with some CL 'updates' for certain products, I now avoid them UNLESS I am having a PROBLEM with the existing drivers.

  • Compare with text file

    Is it possible to do a line by line compare with the data in a text file and print the required data?
    BufferedReader readCode = new BufferedReader(new FileReader("code.txt"));
    String code = readCode.readLine();
    while(more) {
    System.out.print("Code:");
    String productCode = in.readLine();
    while (code != null){
         code = readCode.readLine();
         if (!(productCode.equals(code) || productCode.equals(code) || productCode.equals(code) ||productCode.equals(code) || productCode.equals(code) || productCode.equals(code) || productCode.equals(code) || productCode.equals(code))){
         // Goes back to the next loop interaction. Skiping the rest of the loop below
         System.out.println("Invalid product code. Check the product code again");     
         continue;
    productTemp[j] = productCode;
    do{
         /*Keep asking for a quantity until some valid value is entered
         System.out.print("Quantity[0-100]:");
         productQuantity = Integer.parseInt(in.readLine());
    }while(productQuantity > 100 || productQuantity < 0);
    quantity[k]=productQuantity;          
    totalQuantity = quantity[k] + totalQuantity;
    j++;
    k++;
    noOfItems++;          
    }     i cant seem to compare the user input code with the code in my textfile.i am stuck here...can somebody enlighten me?

    nvm...thanks for ur help anyway..i try others
    ways..save ur remarks for other pplThis is a public unmoderated forum. If you don't want remarks, don't post.
    Besides, if you're not willing to describe your problem in better detail, what kind of "help" do you expect? It's not like you've entered a forum full of psychics. Your problem is unclear. You've been given suggestions. If you have a more specific question, feel free to ask. Otherwise, feel free to continue floundering about.
    Good luck.

  • How to create a mapping with text file as my target

    I need to create a mapping with source as a table and target as a text file.
    I am using OWB 10g R2. with database Oracle10g.
    Any one can help me to create a mapping with a text file as target.

    Hi,
    just create a File-Location and File-definition and use this file-operator as target object inside your mapping.
    Regards jwehner

  • Email with Text File Attachement as Source

    Hi All,
           One of my interfaces needs to listen to incoming mails with an text file attachements.I wish to know how we can convert the text file contents into XML to further process it on the reciever side.

    Hi,
    To perform content conversion of a flat file, check these blogs,
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    Also, to understand file content conversion better, you can check this link on SAP Help,
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Regards,
    Bhavesh

  • Michel: sync gtasks with text files

    I wrote Michel, a gtaks-to-text-file synchronizer. Michel is your friendly mate that helps you managing your todo list. It can push/pull flat text files to google tasks.
    Right now, it features two commands:
    michel pull
    prints the default todo list on the standard output
    michel push <TODO.txt>
    replaces the default todo list with the content of TODO.txt
    Of course you need a gmail account to make it work. It uses oauth, so when you start it the first time, it will give you an url to visit and you'll have to give access to the app, then it will save a token and won't ask next time. If you want to delete the token, it is stored in $XDG_DATA_HOME/michel/oauth.dat.
    The code is on github. As usual comments and patches are welcome...
    Last edited by duquesnc (2011-09-23 21:28:56)

    Oh, I have to add that currently, the package won't build correctly. That is not due to the python2-google-api-python-client package which does not set the rights correctly. A quick and dirty fix is to
    # chmod +r /usr/lib/python2.7/site-packages/google_api_python_client-1.0beta4-py2.7.egg-info/top_level.txt
    I notified the owner of python2-google-api-python-client of the correct change to do.
    Last edited by duquesnc (2011-09-23 21:26:35)

  • Domain Value Mapping with Text file

    Hai,
    I have done the Domain value mapping with the xml file to xml file and it is working fine.
    But in the case of Text file to Text file it is not working i.e. If the citiname is the
    first field it is domain value mapping and working fine.
    INPUT:
    Erode, Mahes, 22
    Coimbatore, Veera, 22
    OUTPUT:
    ED, Mahes, 22
    CBE, Veera, 22
    But if I change the Citiname to the second column it is not working the problem is
    it is not working for subsequent columns.
    INPUT:
    Mahes, Erode, 22
    Veera, Coimbatore, 22
    OUTPUT:
    Mahes,, 22
    Veera,, 22
    The input Text files are delimited by "comma" and optionally enclosed by "space".
    Does anyone have attained the DVM in the Text file successfully.
    Please help me.

    Thank you for the reply Abhi
    Text to Text means instead of giving the input file as XML file i am giving the input as a simple .txt file and I also want the output in the .txt format.
    For the text file only it is not working fine in the xml file to xml file it is working fine.
    For your another query I am not providing the correct parameters for "lookup-dvm"
    I am giving the xsl file
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="WSDL">
    <schema location="TextInput1.wsdl"/>
    <rootElement name="Root-Element" namespace="http://TargetNamespace.com/TextInput1"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="WSDL">
    <schema location="TextOutput1.wsdl"/>
    <rootElement name="Root-Element" namespace="http://TargetNamespace.com/TextInput1"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.3.0(build 070615.0525) AT [TUE JUL 15 15:31:55 IST 2008]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns0="http://www.w3.org/2001/XMLSchema"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:imp1="http://TargetNamespace.com/TextInput1"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/TextInput1/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/TextOutput1/"
    exclude-result-prefixes="xsl plt pc ns0 jca imp1 tns hdr ns1 bpws ehdr hwf xp20 xref ora ids orcl">
    <xsl:template match="/">
    <imp1:Root-Element>
    <xsl:for-each select="/imp1:Root-Element/imp1:Leaf-Element">
    <imp1:Leaf-Element>
    <imp1:C1>
    <xsl:value-of select="imp1:C1"/>
    </imp1:C1>
    <imp1:C2>
    <xsl:value-of select='orcl:lookup-dvm("Citinames","Long",imp1:C2,"Short","")'/>
    </imp1:C2>
    <imp1:C3>
    <xsl:value-of select="imp1:C3"/>
    </imp1:C3>
    </imp1:Leaf-Element>
    </xsl:for-each>
    </imp1:Root-Element>
    </xsl:template>
    </xsl:stylesheet>
    Here I am checking the DVM function for the Second column and it is not working and I have given their Inputs and Outputs in my first message .
    I have another question as you told both import and export of the DVM is always in the XML format only so I have a doubt whether the lookup-dvm will be working for xml files only and not for text files.
    But in my case in text file it is working for the first column but not in the subsequent columns.
    Thanks.

  • Prepare List with text file fields

    Hi,
    This is rama krishna. I need to convert text file fields to a List.
    My requirement is to read a text file and prepare one list depending up on the fields.
    For example I want to read the following foollowing text fields into list(it may be list or linked list).
    <b>
    Invoice Number voice Date Voucher ID Gross Amountount Available Paid Amount
    51169 Nov/17/2005 00538767 7,043.23 0.00 7,043.23
    51275 Dec/14/2005 00542544 929.87 0.00 929.87
    601001 Jan/08/2006 00542545 1,837.14 0.00 1,837.14
    Vendor Number Check No Date Pay Amount Total Discounts tal Paid Amount
    21C029 218534 Jan/19/2006 $9,810.24*** $0.00 $9,810.24</b>
    I want Vendor number as on list to that list I want add
    Invoice nos lists.
    Thanks & Regards
    Rama Krishna

    Hi, Rama!
    Unfortunatly it' s beyond the scope of this forum to give that detailed advice on basic java se techniques like opening a file input stream and working with collections.
    Please refer to the suns standard documentation on file i/o and collections for detailed information on that.
    If you' ve any additional questions on more SAP specific problems, don' t hesitate to ask!
    Regards,
    Thomas

  • Reloading a 3500XL with Text File

    How do I clear the config and reload the switch with a text file? I have the file ready to go but can't figure out how to get it to take. Any help would be appreciated. Thanks.

    Erase startup
    reload
    N Don't do the config!
    enable
    copy and paste the text file
    ATTENTION do NOT paste from a Wordprocessor like MS-WORd, they add all the ugly control codes(especially fun at the password!)

  • Help required with regex

    I have a tagged corpus which need to run through a program and extract reqired data from it but I don't want the tags to be displayed with the data e.g
    [NP]Bill[VP]is [art]a [adv]very [adj]small [np]boy.
    the result should be in this form:
    bill is a very small boy.
    Please check the code bellow and make nessary changes
    so that the resulting data is stored in separate file.
    * CorpusSifter.java
    import java.io.*;
    import java.util.regex.*;
    public final class CorpusSifter {
    private static String REGEX;
    private static String INPUT;
    private static BufferedReader br;
    private static FileReader fr;
    private static Pattern pattern;
    private static Matcher matcher;
    private static boolean found;
    public static void main(String[] argv) {
    initResources();
    processTest();
    closeResources();
    private static void initResources() {
    try {
    br = new BufferedReader(new FileReader("//home//guru//code//java//regex.txt"));
    //fr = new FileReader("//home//guru//code//java//regex.txt");
    catch (FileNotFoundException fnfe) {
    System.out.println("Cannot locate input file! "+fnfe.getMessage());
    System.exit(0);
    try {
    REGEX = br.readLine();
    while((INPUT = br.readLine()) != null){
    INPUT = br.readLine();
    }//end while
    } catch (IOException ioe) {}
    pattern = Pattern.compile(REGEX);
    matcher = pattern.matcher(INPUT);
    System.out.println("Current REGEX is: "+REGEX);
    System.out.println("Current INPUT is: "+INPUT);
    private static void processTest() {
    while(matcher.find()) {
    System.out.println("I found the text \"" + matcher.group() +
    "\" starting at index " + matcher.start() +
    " and ending at index " + matcher.end() + ".");
    found = true;
    if(!found){
    System.out.println("No match found.");
    private static void closeResources() {
    try{
    br.close();
    }catch(IOException ioe){}

    It's generally considered pretty rude to put a whole thwack of unformatted homework code onto the forum and then leave people to make the "necessary changes" for you. You didn't even post any error messages you received.
    So just to annoy you in turn, I'll show you the two lines of Perl that are all that is required. :)
    open FILE, ">foo.txt";
    ($_ = '[NP]Bill [VP]is [art]a...') =~ s/\[.*?\]//g and print FILE;
    cheers,
    Maduin
    (just another perl hacker)

  • I need help on Oracle 9  file handler & utility packet!

    Hello ALL:
    I need to write a short SQL program to update the database via reading an external data file. How do I configure the standard oracle packet of oracle 9 to include the file handler? Please help me with details on oracle init files and some sample SQL commands to call the external file. I really appreciate the help. OracleUser.

    Tubby:
    Again, thank you. My answers to your feedback is Yes, No, Yes.
    I would thought that using the file handle would get the job done.
    Any how,
    1) how do I loop thru rows, say A1, A2.....A10,000 and use the content
    reading the this external table such as the content in A1 to compare against a certain column with many entries in a table in oracle using Loop/End Loop and select?
    2) What does oracle do the this external table at the end of session!
    3) Could I also create multiple external tables, let say 2?
    Thanks Tubby.

  • Servlet combination with text file ...

    hai dude , i wanna ask some a terrible question
    may be you can help me with this ...
    i made servlet admin for loggin into system , but in this case
    i used text file not database (sql,or else) .
    for example i have admin.txt and contain :
    admin myadmin
    admin refers to username and myadmin refers to password
    can you guys show me a little program servlet that i can learn
    and study about login with servlet !!!!!!

    Should be something like this:
    public class theServlet extends HttpServlet
    private Hashtable namePassword = new Hashtable();
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    try
         BufferedReader br = new BufferedReader(new FileReader("admin.txt"))
         String line = "";
         while ((line=br.readLine())!=null)
              // getting data from the lines
              // every line have to be the form: username password
              StringTokenizer stk = new StringTokenizer(line);
              namePass.put(line.nextToken(),line.nextToken());
         br.close();
    catch (Exception e)
         e.printStackTrace();
    public void doGet( HttpServletRequest req, HttpServletResponse resp )
    throws ServletException, IOException
    resp.setContentType("text/plain");
    PrintWriter out = resp.getWriter();
         // the calling html-page have to have a form with the textfields username and password
         String username = req.getParameter("username");
         String password = req.getParameter("password");
         if (((String)namePassword.get(username)).equals(password))
              out.println("Login OKAY!");
         else
              out.println("Login failed!");
    } // End doGet

Maybe you are looking for

  • Boot Camp Assistant wont recognize Windows 7 mounted on SD card

    Hello all, first post! So here goes: I have mounted my Windows 7 to an SD card (the largest media device I have available), but Boot Camp Assistant will not recognize the SD card as a valid way to continue the process. Is this something that simply i

  • Error compiling IDL to C++: LIBORB_CAT:147: ERROR: Registry `REG_KEY_SYSTEM' not found.

    I'm trying to compile a simple IDL file into C++ using idl.exe, and am seeing the following output: LIBORBCMD_CAT:27: ERROR: An internal software error occurred. -LIBORB_CAT:147: ERROR: Registry `REG_KEY_SYSTEM' not found. I'm using Tuxedo 8.1 on a W

  • Spry Horizontal Menu Bar in IE

    Hello, I had looked at the forums for a possible solution to this, and none of the answers I have found work for me. I have a spry horizontal menu bar with a background image. It works in Safari, Chrome, and Firefox but on IE the background image doe

  • AppleScript - Get links from one layer

    I need to make a list of linked files from one InDesign layer only but can't figure out how. This is my base that works just fine but gives me a list of all linked files in my document. set layFilesLinksList to every link of document 1 I have tried t

  • SaveAs Document Failed (80043768)

    Can anyone explain why this error is occurring?  A user is trying to save a Deski doc to their favourites folder.  According to BusinessObjects Notes, it says this error message is generated when the user has insufficient rights to the category.  Thi