Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3339684
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:31:15+00:00 2026-05-18T00:31:15+00:00

I am trying to read in data stored in a custom binary file generated

  • 0

I am trying to read in data stored in a custom binary file generated using LabVIEW. The data file is created by writing an array of clusters. I want to read in the cluster information from this data file using a program written in .net. Is there an easy way to do this without modifying the labview generated file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T00:31:16+00:00Added an answer on May 18, 2026 at 12:31 am

    This depends a bit on your definition of “easy”.

    If you’re using the standard LV functions, a directly written binary file is stored in the same fashion as LV stores data in memory. So, the first 4 bytes store the number of elements in the array. The remainder is the actual data: clusters. Each cluster is composed of its members, each of which has a byte size as specified in the link above. This can get a little obtuse if you have clusters of arrays of clusters of arrays of… anyway, once you figure out the types and sizes of the data that was written, you’re halfway there.

    Next, you can almost read the file in using a .NET BinaryReader. However, LV was descended from the Mac, and, as such, it’s big endian. BinaryReader doesn’t do that.

    Fortunately, Jon Skeet does. Check his MiscUtil library for an EndianBinaryReader that can read the data in correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to copy data only between two SQL server 2008 databases. I need
Trying to figure out how to exploit the CSharpCodeProvider to compile string data at
I am trying to save few property into the plist when the user starts
I'm developing in python, still new to the game, and I want to make
I am trying to implement an ihttphandeler for streaming files. files may be tiny
We have a requirement, in which we need to create dynamic word document and
I have a question regarding type conversion in C#. Object data_obj = test; string
Does it make sense to use a combination of MySQL and MongoDB. What im
I'm building the search in an application and need to have a way of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.