What is the easiest way to read fixed width ascii files?

There does not seem to be an easy way to read fixed with ascii files in labview.  CSV files and other delimited files are easy, but I cannot think of a simple way to read data from a fixed width ascii file.

jgkempen wrote:
There does not seem to be an easy way to read fixed with ascii files in labview. 
Reading a file does not depend on its contents. Unless the file is gigantic, you can just read it as one big string and parse it later, especiall if you want the entire contents of the file.
 If you only need a subset, you can calculate the offsets and sizes as multiples of your record size. That's the beauty of fixed size records.
It is typically not efficient to read a file in a loop, small portions at a time, so I would not recommend that except in some very specific situations.
Could you be a bit more specific on what exactly you need to do? Is your problem with reading or with parsing the fixed sized records? Could you attach a sample file and some description on what you need to read from it.
Message Edited by altenbach on 09-05-2007 07:50 PM
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • What is the easiest way to freeze-frame a movie file and run it as a still?

    I have a 'chase' sequence of images of elements in the Periodic Table and it slows down and stops on an element. This is in a movie file. After it has stopped I want to hold that single frame for another 10 seconds or s. Rather than make a still is there an expression or shortcut to doing this inside AE? preper to do on the same layer as I have about thirty of these movie layers so don't want to dupliacte if there is a trick to it. But if I have to duplicate how do I assign a locked timecode to replace the running timecode for the layer? I bet its just putting a literal into some propoerty but i dont know which property.

    For freezing a frame for the entire duration, there's Layer > Time > Freeze Frame
    Details are in this section of After Effects Help.

  • What is the easiest way to create a | demilted text file of a table.

    This is only a one time extract of data to a text file.
    I am using HP-UX, Oracle 10.2.0.2

    Anantha,
    external table is read only. not for table data dump.
    For OP,
    You can also consider UTL_FILE package.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/build_db.htm#sthref199

  • What is the easiest way to download a document from SAP DMS with C#?

    Hi,
    I've been sifting through this forum and looked at various posts and sample code, but so far my quest hasn't been fruitful.
    What is the easiest way to download a physical document file from SAP DMS using C#? I'm using the NCo 3 (SAP .NET
    Connector 3).
    Requirements
    - As few dependencies as possible (not adding or changing functionality in SAP)
    - C# code (MS Visual Studio 2012)
    - SAP Environment: NetWeaver 7.4.0
    Thanks for all help.
    Regards,
    Frank

    We've been using BAPI_DOCUMENT_CHECKOUT2, but there seems to be a limitation. From what I've found on Google, you must enable the use of the SAPGUI through the flag UseSAPGUI when connecting to SAP.  It works, but my issue is that when I use it on a web server, I end up with some error when trying to start the GUI.  There is very little recent information for this out there right now.

  • TS1463 What is the easiest way to restore my ipod back to factory specs. It has a red circle with a red x in the middle,please help me to fix my ipod, until now i can't use my ipod..i tried all the procedures in Restore ipod from disk mode but still not w

    What is the easiest way to restore my ipod back to factory specs. It has a red circle with a red x in the middle,please help me to fix my ipod, until now i can't use my ipod..i tried all the procedures in Restore ipod from disk mode but still not working, please help me...

    If you are unable to get the iPod into Disk Mode to try and restore it, it's a very good indication, as mentioned in the article, that the iPod's hard drive is damaged and in need of replacement either by Apple or a third party repair company.
    B-rock

  • I'm running Windows XP and FF 8.0. I'm having more trouble than ever with intermittent streaming and videos not playing all the way through. What is the easiest way to fix this?

    . I'm running Windows XP and FF 8.0. I'm having more trouble than ever with intermittent streaming and videos not playing all the way through. What is the easiest way to fix this?

    That may be a problem with the VLC plugin. VLC has never worked for me properly on the occasions that I've tried it on Windows and Linux, so I have stop using it. There are usually other plugins or media players available that work better.
    What kind of media files are that?
    For WMP files you can install the new Windows Media Player plugin you can also try RealPlayer and QuickTime if it is about media that those programs can handle to see if that works better.
    * https://support.mozilla.com/kb/Using+the+Windows+Media+Player+plugin+with+Firefox
    * http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin
    * http://www.interoperabilitybridges.com/windows-media-player-firefox-plugin-download

  • I want to use 1 itunes account but with 3 different iphones 2 for the kids and one for me, what is the easiest way to do that?

    I want to use 1 itunes account but sync 3 different iphones, 2 for the kids and 1 for me.  So I would like to have different programs, songs, apps etc for each phone.  What is the easiest way to do that

    Agreed heather. Also, if you have three users on the same account how do you keep phone calls and messages from going to all three phones?

  • I have a mid year 2007 24 inch iMac and will be purchasing a new 27 inch Retina iMac, what is the easiest way to transfer the data and files from my old machine to the new one?

    I have a mid year 2007 24 inch iMac and will be purchasing a new 27 inch Retina iMac, what is the easiest way to transfer the data and files from my old machine to the new one?

    Following up on this thread,
    I have a new iMac on the way and my current is from 2008, never had a problem but I am sure there are internal issues that I would prefer not to transfer.
    I have no issues other then the slowness in certain programs and that is the main reason to buy a new one.
    Programs like numbers and pages seem to take a longer time to open after I update to Yosemite.
    I only use 272GB of 500 GB, my memory is 4GB and I am upgrading to 8Gb and bought the 4.0 processor.
    Question:
    Is there a way to manually transfer items or would that be a waste of time in that if there are issues they could be anywhere and would transfer anyway?

  • What is the easiest way to create alias email addresses in exchange 2013?

    For example my official domain is [email protected]
    Within my company i want to make it look like certain departments are sending from bicycles.com skateboards.com
    and skooters.com and receive to those addresses even though the emails are really going through the
    [email protected] domain. but it appears to be coming from three other domains.
    appearance is everything. What is the easiest way to accomplish this.
    Step by step with examples if possible. I am not well versed in exchange server 2013 yet.
    Droid Hacker

    In Exchange 2013 you can use the ECP to add additional email addresses to mailboxes. In order for a mailbox to send using an address, that address needs to be set as the reply address. One mailbox cannot send as multiple addresses. Doing that would require
    a mailbox for each address. To set a new primary address on a mailbox log into the ECP and choose mailboxes under the recipients option on the left. Then search for the mailbox you want to add the address to and click the edit symbol. Navigate to the
    Email Address tab on the left. To set a new primary address you will likely need uncheck the box for "Automatically update email addresses based on the email address policy applied to this recipient". Then click the plus button, enter the new address,
    and check the box for "Make this the reply address"
    Before you do this you should ensure that the proper MS records exist for these other domains, and that they are properly configured for mail flow. Once you set this as the reply address for a mailbox, that is the address external users will use for replies.

  • What's the easiest way to add storage to a mac mini. (1TB hard drive but only 32G of real storage). External device, internal or partitioning?

    What's the easiest way to add storage to a mac mini. (1TB hard drive but only 32G of real storage). External device, internal or is there some way to partition? I tried doing so but received a message that there wasn't enough free space to partition. Seems like a 1TB drive should have more storage than my Ipad

    Its worth confirming what free space you have on your drive: 
    go to:   Apple Menu > About this Mac >  More Info > Storage
    The bar chart shows how much free space there is on the drive:
    Please realise that partitioning does not create extra space so this wont help you.
    If your free space is less than 20 % you should get extra storage with an external USB or Firewire drive, any make or model will work.

  • What's the easiest way to move app data and data structures to a server?

    Hi guys,
    I've been developing my app locally with Apex 4.2 and Oracle 11g XE on Windows 7. It's getting close to the time to move the app to an Oracle Apex server. I imagine Export/Import is the way to move the app. But what about the app tables and data (those tables/data like "customer" and "account" created specifically for the app)? I've been using a data modeling tool, so I can run a DDL script to create the data structures on the server. What is the easiest way to move the app data to the server? Is there a way to move both structures and data in one process?
    Thanks,
    Kim

    There's probably another way to get here, but, in SQL Developer, on the tree navigation, expand the objects down to your table, right click, then click EXPORT.. there you will see all the options. This is a tedious process and it sucks IMO, but yeah, it works. It sucks mostly because 1) it's one table at a time, 2) if your data model is robust and has constraints, and sequences and triggers, then you'll have to disable them all for the insert, and hope that you can re-enable constraints, etc without a glitch (good luck, unless you have only a handful of tables)
    I prefer using the oracle command line EXP to export an entire schema, then on the target server I use IMP to import the schema. That way, it's near exact. This makes life messy if you develop more than one application in a single schema, and I've felt that pain -- however -- it's a whole lot easier to drop tables and other objects than it is to create them! (thus, even if the process of EXP/IMP moved more than you wanted to "move".. just blow away what you don't want on the target after the fact..)
    You could use oracle's datapump method too.
    Alternatively, what can be done, IF you have access to both servers from your SQL developer instance (or if you can tnsping them both already from the command line, you can use SQL*PLUS), is run a script that will identify your apex apps' objects (usually by prefix to object names, like EBA_PROJ_%, etc) and do all the manual work for you. I've created a script that does exactly this so that I can move data from dev to prod servers over a dblink. It's tricky because of the order that must be executed to disable constraints and then re-enable them, and of course, trickier if you don't consistently prefix ALL of your "application objects"... (tables, views, triggers, sequences, functions, procs, indexes, etc)

  • What is the easiest way to restore to a previous backup of Time Machine?

    I was adding some simple album cover artwork to my iTunes collection when the computer locked up. I got the spinning beach ball and was unable to "force quit." So, I did a re-boot using the power key. I then launched iTunes and it opened properly with all the new Album Artwork. The files were not large in size and the "Album Artwork" folder is only 99.8MB.
    I did a Time Machine backup yesterday and the only thing changed on the computer was the artwork. However, when Time Machine launched to do a backup it said there was 30GB(!!!) to back up?!?!?
    I am assuming something got corrupted in the iTunes library file during the crash and now it thinks it has to back up part of the music.
    So, that is what caused the problem. My question is, what is the easiest way to simply restore the backup the Time Machine had completed yesterday before all this happened?? It doesn't seem like there is a simple way to accomplish this. It looks like TM is used to back up specific files or folders and not to restore the computer to a previous state.
    Any help is much appreciated.
    Thanks in advance!!

    Time Machine backs up all files except those you exclude in TM prefs. It doesn't "know" what kind a file is; it just compares info about a file on the source drive to see if it has already been backed up, or if it is new or has changed and needs to be backed up again. For unchanged files or folders, TM simply creates another hard link on the backup drive.
    iTunes artwork files are separate files. The assignments of artwork to particular music files are saved in another file within the iTunes application (which is actually a package, a folder containing other files). So if all you did was add album artwork, TM would back up each new artwork file, and a new copy of the hidden file within the iTunes application containing the artwork-music links.
    The following is speculation on my part, but it seems logical:
    TM uses records in the hidden File System Events log to identify any new or modified files. However, it is possible to have an FSE entry as to a particular file without modifying the file (e.g. open, then close). So TM doesn't "know" until it actually compares the source file with the backup file (if one exists) whether a file is new or has been modified.
    Hope this helps.

  • What's the easiest way to cut out about 20 seconds (in the middle) of a minute+ vid that i made on and downloaded from my iPhone 6

    Hi - I'm a vid beginner, actually have a training session tomorrow at an App Store, but for now...what's the easiest way to cut out about 20 seconds (in the middle) of a minute plus vid that i made on and downloaded from my iPhone 6? I I'mported the clip to iPhoto on my new Macbook pro. The TRIM function in iPhoto seems only to want to let me cut from either end. I guess if I do cut out a section in the middle, maybe 'glueing' the sections back together is too much for iPhoto to handle (?). I spent about 10 minutes just trying to (unsuccessfully) import to iMovie, so that aint working either. Quicktime maybe? Thx for reading

    Hey jabXhook,
    Thanks for the question. You may have already received your answer from the Apple Store yesterday, but iMovie is definitely the way to go if you want to trim or split clips. Check out the following resource:
    Trim, split, and move clips - iMovie Help
    http://help.apple.com/imovie/mac/10.0.6/#/movf8b8fc9b2
    Trim unwanted frames from a clip
    1. In the timeline, select the range of frames you want to keep in the clip.
    2. Control-click the clip, and choose Trim Selection from the shortcut menu.
    The clip is trimmed to the boundaries of the selection.
    Thanks,
    Matt M.

  • What is the easiest way to add a slide show to a dream weaver page?

    What is the easiest way to add a slide show to a dream weaver page?

    Copy & paste the following code into a new, blank document.  Change images to your own.  SaveAs test.html and preview in browsers. 
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 with Cycle2</title>
    <!--help for older IE browsers-->
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!--Latest jQuery Core Library-->
    <script src="http://code.jquery.com/jquery-latest.min.js">
    </script>
    <!--Cycle2 Slideshow Plugin-->
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20130409/jquery.cycle2.min.js"></script>
    <style>
    /**Slideshow**/
    .cycle-slideshow {
        position: relative;
        z-index: 1;
        width: 400px; /**adjust width as required**/
        margin:75px auto;
        text-align: center;
    .cycle-slideshow img { max-width: 100% }
    /* prev / next links */
    .cycle-prev, .cycle-next {
        position: absolute;
        top: 0;
        width: 20%;
        opacity: 0;
        filter: alpha(opacity=0);
        z-index: 800;
        height: 100%;
        cursor: pointer;
    .cycle-prev {
        left: 0;
        background: url(http://malsup.github.com/images/left.png) 50% 50% no-repeat;
    .cycle-next {
        right: 0;
        background: url(http://malsup.github.com/images/right.png) 50% 50% no-repeat;
    .cycle-prev:hover, .cycle-next:hover {
        opacity: .7;
        filter: alpha(opacity=70)
    /**END SLIDESHOW STYLES**/
    </style>
    </head>
    <body>
    <h1><a href="http://jquery.malsup.com/cycle2/">JQuery Cycle2</a></h1>
    <!--begin slideshow-->
    <div class="cycle-slideshow"
        data-cycle-fx="fade"
        data-cycle-timeOut="2000"
        >
    <!-- prev/next links -->
    <div class="cycle-prev"></div>
    <div class="cycle-next"></div>
    <!--insert your images below-->
    <img src="http://jquery.malsup.com/cycle2/images/p1.jpg" alt="description">
    <img src="http://jquery.malsup.com/cycle2/images/p2.jpg" alt="description">
    <img src="http://jquery.malsup.com/cycle2/images/p3.jpg" alt="description">
    <img src="http://jquery.malsup.com/cycle2/images/p4.jpg" alt="description">
    <p>Mouse over image for previous / next links</p>
    </div>
    <!--end slideshow-->
    </body>
    </html>
    Nancy O.

  • What is the easiest way to delete a song or album?  Also, how do I get rid of the tunes it cannot convert or find?

    What is the easiest way to delete a song or album directly off the iPod?  Also, how do I get rid of the tunes it cannot convert so it does'nt run through them every time I upload an album or song?

    Right click the song you want to get rid of and there should be a delete button.

Maybe you are looking for

  • I would need to connect an external drive to my iMac computer?

    I have an iMac hard drive that was purchased 1 year ago from the Apple Summit Sierra store in Reno, Nevada. I have had a lot of issues so this drive was replaced by a new one.  The old hardrive contains OS 10.5.x and has appleworks which I created a

  • Changes Allowed on the 3rd Party Sales Order when PO is created

    Hello, We have a requirement to change the Sales Order even if the PO is already created for teh 3rd party order. I am not sure which fields and what changes can we do if the PO is already created for the 3rd Party sales order. Can you please guide m

  • Alpha channel when not premultiplied

    Hello, I've got an image which has unassociated alpha channel (So each RGB sample isn't premultiplied with the corresponding Alpha sample). I try to create a PDF so I create an XObject for my RGB samples, I add a soft mask for the Alpha stream and as

  • URGENT!!! How to call Webservice which uses JKS from BusinessService

    Hi One of our webservice require a client certificate (.JKS) to stablish the connection How/where to add the the following details to call business service? org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin org.ap

  • PO Release by Mail / Work Flow

    Hi Here the req is PO release intimation want to go by mail to respective project heads. Release intimation means on day today basis the project heads will see in their inbox that wat are all the PO's are pending for release from their side then they