How to copy only part of a binary file after selecting a start and stop byte?

I need to copy a selectable block of binary data from one file to a new file.  The binary file is made up of several data widths (8/16/32 signed and unsigned).  If I use a read binary function I will need to account for the data types within the file.  I was hoping to do a copy function with a start and stop byte control. Any pointers?  

The attached Rube Goldberg Code copies two arrays of clusters to two arrays of indicators.
Ben
BTW: It does so by writtng the flattened data to a fixed length file and decoding same on the read.
Message Edited by Ben on 03-24-2007 12:54 PM
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Attachments:
File Decode.JPG ‏137 KB
FileDecode.vi ‏125 KB

Similar Messages

  • How do I only allow people on my buddy list to contact me (and stop spam)

    How do I only allow people on my buddy list to contact me (and stop spam)

    Go to iChats prefs/accounts

  • How to copy only part of the music media folder and library to another Mac

    Dear friends,
    I run iTunes in Mac OS. The iTunes music media folder is now located in an external HD because it´s quite large (2T). The problem is that I´got a second Mac and I´d like to copy -in this second Mac, only part of my music using only its internal  HD (300 Mb) . How can I do this copy while preserving art and play-lists?
    Thanks in advance

    tcynk00 wrote:
    how I can transfer only selected pieces of music (all library will not fit anyway)
    that's what playlists are for.
    and how to maintain transfer process in future when I want to change the music on my nano.
    add/delete track to/from the playlist you sync to your device.
    JGG

  • How read just a part of a binary file?

    I want to read only a part of a big binary file.
    I have made a piece of labview code that works well, but every time I try to read only a part of the file, I have an error.
    I try to search where I have make a mistake in the code, but dont find.
    Just for information : at the end of the code, I just display 1 data of 5.
    Thanks in advance.
    Attachments:
    LECTURE-ZOOM.vi ‏66 KB

    Johnsold.
    Thank you for your answer.
    I have tested you vi LECTURE-ZOOM.2.vi, and I think there is some problems with my application.
    First, let me transduce the vi into words : if columns index is more than the max columns value, then you stop, and the same think with the rows index.
    With the sift register you make a memory allocation for the array that changes every loop.
    By doing this way, I have two problem.
    When I read a big file, the memory allocation takes a lot of memory, because the array allocation in memory changes every loop.
    Besides, when I run the vi, the columns and rows are completly wrong, because, the command "chanel number is not respected : if I put 7 chanels, I have 5 chanels on the array.
    Then, When I have it, I compare the "sortie" array versus "entrée" array, and I seems that AFTER decimation (1 point taken on 5), I have more points at the end than at the begining.
    I give you a sample of a data file (compressed in zip...) to test your vi.
    It's a 6 chanels data file, puted in a array.
    When I try to run the vi you modify for me, I seems that it doexn't work because the result was totaly wrong... :-(
    I think that I make a mistake/error in the vi understanding, because I try to change some parts of your vi, to adapt it to my application, but it doesn't work.
    What do you think about my way of read the datas?
    How can I change the vi to obtain the same array than in mine.
    To see what I obtain, just lunch the vi in my next post with the data file in this post.
    Attachments:
    buffer01.zip ‏1201 KB

  • How to copy only an alias, not source file in ARD?

    I'm trying to copy an alias from my computer to all the imacs in my lab with ARD 3...but instead of the alias, the folder the alias points to is being copied. How can I only copy the alias. My apologies if the question has been asked recently.
    Cheers
    Colin
    Message was edited by: Host <to clarify Subject>

    The command below would create a symbolic link (alias) on the current user's desktop called 'Apps' that points to Applications. Note: You would run this command with the radio button clicked that says "run as current logged in user".
    ln -s /Applications ~/Desktop/Apps
    You can open up terminal and type in man ln to see the other options and how the command works.

  • How to make only part of a PDF document editable?

    I'm looking to see if there is a way to make only part of a PDF document editable. My problem is, I have pieces of collateral that some of our channel partners need to be able to add their logo to and then edit the contact information on them, but we don't want them to be able to change any of the main copy on these documents. The only thing I've been able to come up with as a solution is to create outlines of the text that I don't want editable, but I need the copy to be able to be read by computer systems for disability purposes. Does anyone have any ideas on something I could do for this? Or has anyone dealt with anything like this? Any help would be greatly appreciated!

    Hi vward26,
    You can use Acrobat to make only part of a PDF document editable.
    Kindly refer this FAQ:http://tv.adobe.com/watch/acrobat-x-tips-tricks/how-to-convert-just-part-of-a-pdf-file/
    Regards,
    Florence

  • How can I extract part of a PDF file and copy it to a new PDF file?

    How can I extract part of a PDF file and copy it to another PDF file?

    You will need Adobe Acrobat for this.

  • How to delete only part of a iMessage conversation

    How do I delete only part of a conversation in iMessage?

    Just press and hold the part of the conversation you want to delete. A black box will appear then press More... A circle will appear to the left then select delete.

  • How to send only part of a sequence to Encore?

    Hi
    I'm new to CS5.5 and I've been trying to figure out how to send only part of a sequence to Encore from PPro. I see in the Help file that it says this can be done but it doesn't explain how to do this (or I haven't been able to find where it's explained). When I use "send to Encore" with dynamic link it sends the whole sequence even though I've tried marking in/out or marking the section I want with the work area bar. Is it not possible to do this using dynamic link?
    Thanks!
    Steve

    Playing around with this a bit I found another method in addition to the one you described. I found I can mark part of the sequence with the work area bar and then use Export. The Export screen has an option to send the entire sequence or only the part under the work bar. Then I imported it into Encore and since it was exported with final disc settings Encore didn't have to encode it.
    But I think I will send in a feature request. Hopefully a lot of other people will also ask for this.
    Thanks
    Steve

  • How to copy only some coulums and rows from excel files to a Oracle Table

    Dear all,
    I have the following problems:
    How to copy only some wanted coulums ( I.e DATETIME(format:17/09/2007 00:00:01 ) and TIME (format: 00:00:01 ) from excel files to oracle table.
    HOPE TO GET HELP FROM YOU GUYS!
    SINCERELY,
    MONOJSHARMALUITEL

    How about Heterogeneous Services so that the Excel sheet is an external database:
    1- Go to Control Panel>Administrative Tools>Data Sources (ODBC)>System DSN and create a data source with appropriate driver. Name it EXCL.
    2- In %ORACLE_HOME%\Network\Admin\Tnsnames.ora fie add entry:
    EXCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.0.24)(PORT = 1521))
    (CONNECT_DATA =
    (SID = EXCL)
    (HS = OK)
    Here SID is the name of data source that you have just created.
    3- In %ORACLE_HOME%\Network\Admin\Listener.ora file add:
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = <hs_sid>)
    (ORACLE_HOME = <oracle home>)
    under SID_LIST_LISTENER like:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = d:\ORA9DB)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ORA9DB)
    (ORACLE_HOME = d:\ORA9DB)
    (SID_NAME = ORA9DB)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = EXCL)
    (ORACLE_HOME = D:\ora9db)
    Dont forget to reload the listener
    c:\> lsnrctl reload
    4- In %ORACLE_HOME%\hs\admin create init<HS_SID>.ora. For our sid EXCL we create file initexcl.ora.
    In this file set following two parameters:
    HS_FDS_CONNECT_INFO = excl
    HS_FDS_TRACE_LEVEL = 0
    5- Now connect to Oracle database and create database link with following command:
    SQL> CREATE DATABASE LINK excl
    2 USING 'excl'
    3 /
    Database link created.
    Now you can perform query against this database like you would for any remote database.
    SQL> SELECT table_name FROM all_tables@excl;
    TABLE_NAME
    DEPT
    EMP

  • How to export only part of animation?

    In the case of a big animation (tens of thousands of frames), is there a way to render (using Export Movie) only part of the animation, e.g. frames 100-500 and nothing more? That way, loss of time would be reduced.

    Playing around with this a bit I found another method in addition to the one you described. I found I can mark part of the sequence with the work area bar and then use Export. The Export screen has an option to send the entire sequence or only the part under the work bar. Then I imported it into Encore and since it was exported with final disc settings Encore didn't have to encode it.
    But I think I will send in a feature request. Hopefully a lot of other people will also ask for this.
    Thanks
    Steve

  • HT1725 What do I do if only part of a song I purchased actually downloaded successfully and itunes is saying it downloaded successfully?

    What do I do if only part of a song I purchased actually downloaded successfully and itunes is saying it downloaded successfully?
    The song is supposed to last for 2mins 46sec but it cuts out less than a min in to the song.
    There is no notification that the download was unsuccessful or incomplete and the 'search for available downloads' option comes back that all songs are downloaded.
    What can I do without having to purchase the song again?

    Depending upon what country that you are in (music can't be re-downloaded in all countries) have you tried deleting it from your iTunes library and redownloading it via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes ? If it's still in your iTunes library then iTunes will assume that it doesn't need re-downloading. Re-downloading.
    If you aren't in a country where you can re-download music or if it re-downloads in the state then try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that song and use the 'Report a Problem' link.

  • How to use counter as an start and stop trigger in 6009

    Hi ALL.
    I'm using USB 6009 as a subject of to acquire data.
    I would like to know on how to use the counter digital input as a start and stop trigger. 
    The acquisition will only start when the first pulse of the digital signal is received and it will stop when the desired number of pulse is received.
    I was trying to use the VI as attachment as my reference. However, after tried, the VI is not working for USB 6009 as the counter input cannot be used as a trigger.  
    I would be happy if anyone could suggest me some ideas on this matter.
    Thanks.
    Attachments:
    DigitalStartandStopTrigger.vi ‏32 KB

    Hi Kate. 
    Thanks for your response.
    For your information, I've design my VI using the counter method. However, it doesnt work well. Please see the figure below. The file also attached with this reply.
     At first, the first counter from Device 2 will start counting. If the counting equal 0, then the acquisition for Device 1/AIO also the counter of Device 1/ctr0 begin acquiring data and counting the edges respectively.
    However, when I did the test, it doesn't work as wanted. It is happened because when counter of device 2 in not equal to 0, the acquisition for Device 1 not happened as it will go to false state.
    Is there anything that someone could suggest on how to start the acquisition for device 1 only and if the counter of device 2 is equal to 1. I would like the acquisition of device 1 start only when the counter of device 2 is equal to 1. I cannot use the trigger as 6009 is not support for it. 
    -Fird- 
    Message Edited by Fird on 07-02-2009 04:28 AM
    Attachments:
    Acquire Data Test 4.vi ‏27 KB

  • How to view the login log in window NPS after login cisco switch and without SQL server database

    how to view the login log in window NPS after login cisco switch and without SQL server database
    in summary 
    there is only log with event id 4400
    A LDAP connection with domain controller XCPAWS20.cyberport.noc for domain NOC2 is established.

    Hi adil,
    For your issue, you can create a custom security token service (STS) and then set up a trust relationship between a SharePoint 2010 farm and the custom STS.
    For more information, you can refer to the articles:
    http://forums.asp.net/t/1335229.aspx?Sharing+Authentication+Ticket+Between+ASP+NET+and+Sharepoint
    https://msdn.microsoft.com/en-us/library/office/ff955607(v=office.14).aspx
    http://www.paraesthesia.com/archive/2011/02/01/working-with-windows-identity-foundation-in-asp-net-mvc.aspx/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How Can I Start And Stop NSTimer..???

    Hellllooo...
    I Have a NSTimer. I want to Start and Stop NSTimer Menually ,,so how can i do????
    -------THNKS---------

    You are rather rude, Patel. wjosten was directing you to where you
    are more likely to get an answer. We are only users here, and your
    question seems to deal with programming which is handled in the
    developers forum.
    Good luck getting an answer with your attitude.

Maybe you are looking for