Error 116 when a string of binary file reading

I try to use the 'writing on a binary' and "binary file reading" pair of VI to write a string to a binary file and read it again.  The file is created successfully and a hex editor confirms that the file contains what is expected (a header + chain).  However, when I try to read the string back once again, I received an error 116: "LabVIEW: Unflatten or stream of bytes read operation failed due to corrupted, unexpected or truncated data.»  A quirk I found though, is that if I put "endianness" to "Big-Endian, network order", the error disappears when I use "native, welcome the order" (my original setting) or "little-endian" error occurs.  Did I miss something in the documentation indicating that you can use big endian order when writing of strings, I do something wrong, or is this a bug in Labview?  Because the program that it will be used for is to write large networks, in addition to channels, I would like to be able to stick to the 'native' setting for speed purposes and must not mix "endianness".

I have attached a VI of example that illustrates this problem.

I'm using Labview 8.5 on Windows XP SP2.

Thank you



Please contact National Instruments!  I checked the behavior that you have met and agree that it is a bug, it has been reported to R & D (CAR # 130314) for further investigation.  As you have already understood possible workaround is to use the Big-Endian parameter.  Also, I am enclosing another example that converts the string to a binary array before writing to the file, and then converts to a string according to the playback of the file.  Please let me know if you have any questions after looking at this example though and I'll be happy to help you!  Thank you very much for the comments!

Tags: NI Software

Similar Questions

  • read an AVI using "Binary file reading" vi

    My question is to know how to read an avi file using vi «The binary read»

    My goal is to create a series of small avi files using IMAQ AVI write framework with the mpeg-4 codec to long 2 seconds (up to 40 images in each file with 20 frames per second) and then send them one by one in order to create a video stream. The image has entered USB camera. If I read these frameworks using IMAQ AVI read framework then compression advantage would be lost if I want to read the entire file itself.

    I've read the avi file using "Binary file reading" with 8 bit unsigned data format and then sent to the remote end and save it and then post it, but it did not work. Later, I found that if I read an image using "Binary file reading" file with 8 bit unsigned data format and save it to local computer itself, the format should be changed and it would be unrecognizable. I'm doing wrong by reading the file format of number integer 8 bit unsined or should I have used other types of data.

    I'm using Labview 8.5 and Labview vision development module and module vision 8.5 acquisition

    Your help would be very appreciated.

    Thank you.


    Discover the help (complete) message to "write in binary.

    "Precede the size of array or string" entry by default true, so in your example the data written to the file will be added at the beginning information on the size of the table and your output file will be (four bytes) longer than your input file. Wire a constant False "to precede the array or string of size" to avoid this problem.


  • I get an error message when you try to download adobe reader acrobat dc [Android]

    Can anyone provide assistance? I get an error message when you try to download adobe reader acrobat dc


    The error is not related to the Adobe Acrobat application. There is a problem with the store to play on your phone. You can try the precautions listed in the error store play 927 - 3 ways to get rid of it in Android | Difficulty of errors.

    If all goes well, that should solve your problem.

    Thank you

    Adobe Acrobat team

  • Error message when you try to download files - WINDOWS SECURITY, these files cannot be opened. Your internet security settings prevented one or more files being opened.

    Original title: C:\windows\system32\icacls.exe
    For the last few days I tried to download the different elements as well as download Trend Micro security/antivirus protection.  Whenever I do; try to download something or download something, I get the following error:

    WINDOWS SECURITY, these files cannot be opened.  Your internet security settings prevented one or more files being opened.

    I have not found anything within windows security who would do this and when I get this error C:\... it just on my screen flashes, then disappears.

    Any suggestions?  I really need to download Trend Micro.

    Thank you

    See the article below:

    ID of the KB Article: 2588679.
    Error message when you try to open some files in Windows 7: "your Internet security settings prevented one or more files being opened."

    Check the following settings:

    Right-click on the downloaded file. Select Properties.
    Click the Unlock button.

    Check the suggestions the following threads:

    Let us know if that helps.

  • Error 1303 when you try to install Adobe Reader on Windows 7. The error message says to log on as an administrator. Yes, I did. It does not work.

    I am trying to install Adobe Reader with Windows 7.  The installation fails with an error 1303 tent access to c:\Program files (x 86) \common files\adobe\1.0.   I tried to log in as an administrator. No luck.

    To see if it a Windows problem or an Adobe issue, see if this PDF Reader installed.
    If so, I would stick with it. Foxit is much more user friendly Windows.
  • Newer version already installed error message when you try to install acrobat reader

    When you try to download acrobat reader 10.0 that it gives me the error "New version already installed" I'm not there that in the list of installed programs. so that I can uninstall it. JavaScript is also enabled in my browser. Please help in how to proceed.

    Hi bond_007,

    Cleaning of Acrobat Reader Download Adobe Reader and Acrobat tool - Adobe Labs tool to uninstall the application.

    Then try to download the Acrobat Reader software from here:

    Let me know if it solves your problem.

    Kind regards


  • Vista error lance when the mdb Access 2007 file is "double click": Windows cannot find this file (the file clicked)

    File mydatabase.accdb contains a startup with this VB Code form:

    Private Sub Form_Open(Cancel As Integer)
    End Sub

    When this mdb file icon is "double click", Vista throws the error message "Windows cannot find this file...". ».
    Right-click on the icon of this mdb file and 'Open' is selected, Vista get error "Windows cannot find this file...". ».
    Right click on this file mdb and 'Open with' icon is selected, and then Access 2007 is selected, the file opens in Access and closes normally.

    No amount of sleep before or after that Quit has any influence on behavior.  However, copy the following code:

    Private Sub Form_Open(Cancel As Integer)
    MsgBox "Stop".
    End Sub

    will open the file normally, vomit MsgBox with the string 'Stop' and closes normally when "OK" is selected.

    It worked on Access 2003 on Windows XP.

    It's rock solid reproducible (on my Lenovo T400).  It fails in the same way when Vista arrives in a "clean boot".

    Any ideas?


    Hello DudgeonousTweet,

    Thank you for your response back!

    I would say that this question visit the link below for support with Microsoft Access.  You can submit a question or search FAQS.

    Discussions in Access database General Questions:

    Engineer James Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • error-200077 when you deploy the SysDef file

    I added PXI-6704 as a data acquisition device in my system definition file. When I try to deploy it, I get:

    "error-200077 the requested value is not supported for this property value.

    The module has 16 channels voltage (+/-10 v) and 16 current channels (0 - 20ma) so I set in the dialog box "create DAQ hardware" as type MIO with 32 channels AO.

    If I delete the device from the system definition, it will deploy without error.

    VeriStand 2011, computer host is running Windows 7, controller RT PXIe-8133.

    Has anyone seen this error?

    Hi PMAC,.

    This error will occur if you do not select the option 'Disable clocked by one-time support for the analog output material' during setup of data acquisition under the definition of your system. I've attached a screenshot of that. The reason you need to activate this box is that the 6704 only supports the clocked by the Analog i/o software, as explained in the manual.

    You will also need to go into the output channels 16-31 and manually change each channel of current Type and the high level of 0.02 and the low level of 0.00. Once configured properly, everything should work fine.


    Dan N

    Technical sales engineer

    National Instruments

  • Kalib32.dll error message when you open a .pdf file

    When I try to open a .pdf file, my computer says the KALIB32.dll is missing.  How can I fix it?


    Method 1
    I suggest you perform the clean boot and remove the program that is causing the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    Note: Follow step 7 clean boot KB929135 article to reset the computer in normal mode.

    Method 2
    I suggest you to scan SFC

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7.

    Method 3
    I also suggest to run virus scan online by using the Microsoft safety scanner.

    Microsoft safety scanner

    Note: when you do an antivirus online, you will lose data that are affected by the virus. Microsoft is not responsible for the loss of this data.

  • 0x88982F60 error code when you open the image file in Windows 7

    I have a TIFF file that does not completely open and gives me the error code of 0x88982F60. I looked briefly on the web and basically, it's a bad image file or an image file that the WIC in Windows 7 can not or does not open. Question: is there a solution for this problem without going to the source image?

    Welcome to the Microsoft answers site

    You will not be able to repair a tiff file corrupted with Photo Gallery.

    If the file is corrupted, we won't be able to fix it.
    It may be useful
    Thanks and greetings
    Support Microsoft-dieng
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Binary file read byte unmatch

    I tried to read a line from the binary as the top of the screenshot.

    The result is that the left side. It shows the first part with the text are correct. The final part is not match with that gross.

    I also tried read by byte, but still the same.

    Any suggestion, thank you.

    I couldn't find a sequence of 3 30 2 31 30 30 00 04 3F... any where in the two files contained in the zip file that was in the other thread. I think you open a different file with LabVIEW.

    Have you tried the converter program that David mentioned in your original thread?

  • A runtime error appears when I try to use Adobe Reader

    Runtime error! Program: c: Program Files (X 86) \Adobe\ drive 9.0\ Reader\ AcroRd32.exe

    This application has requested to terminate in an unusual way, please contact for more information application support team. It won't let me print anything.

    Uninstall your current version of Adobe Reader.  Reset.  Install the latest version.

  • Key to 1402-wrong error message when I try to install Adobe Reader.

    I am trying to install and update Adobe Reader on Windows xp professional and I get this error every time.

    Hello lstephe62,

    I suggest that you remove earlier versions of Adobe and try to install it. You can see the underside of the article that I found on the Adobe site to solve this problem:

    You can also post the question on the Adobe site for a better answer to your question. Here is a link that you can follow to ask your question:

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • 2503 error code when you try to install Adobe Reader

    error code 2503

    install adobe reader, full error code of 90% 2503 run script, click ok then error code installation 2502 finalize.
    lifted the responses on the web and tried the date and time also permisions (defined as an administrator and have all the rights)
    always get error 2503 and 2502?

    can someone please?

    Thanks in advance!

    Hi ian normal,.

    What operating system do you use?
    What Service Pack is currently installed?
    You are currently on all of your windows updates?

    Have you tried to check the permissions in the folder install? To do this try the following below:

    In Vista, click on start search > type > c:/windows/installer > then right-click on c:/windows/installer at the top under programs and click Properties > click the Security tab > check if system and administrator account has full access permissions > the Everyone account should have read and execute permissions, view the contents of the folder and reading

    Your permissions there these exact settings?

  • I get an error message when I try to download Acrobat Reader for my Mac

    I tried to download Adobe Reader for my iMac several times. After going through all the steps that I'm trying to view and print a PDF documents and I get the following message: "Adobe Acrobat Reader DC look at a PDF of documents in this browser you need to launch Adobe Acrobat Reader DC and except the end user license agreement, and then quit and restart the browser." While going through the steps to download it tells me that I have completed and redirects me to a page that gives me the choice to buy the cloud. I won't buy the cloud. He never gave me the possibility to accept the end user agreement. What I have to buy the cloud to use Acrobat Reader or can I download and use Acrobat Reader without cloud?


    You need not buy clouds of Adobe to download the player.

    It would be just an advertisement. You can easily ignore.

    Just accept the EULA and download Acrobat Reader on your system.

    You can visit the following link to download Adobe Reader.

    Adobe Acrobat Reader DC install for all versions

    Let us know in the case where you face additional problems.


    Sukrit diallo

Maybe you are looking for

  • access BIOS, f10 does not work

    Model HP 110 - 23W, 8 GB of RAM, 2-Core Intel, "Refurbished" (cheap) Hoping to access BIOS to call works by timer.  To power, when 'HP' appears on the display, repeated F10 pressures have no effect another keep the dark screen before appearing the we

  • Is there any software available to limit the interference on speakers?

    Original title: scrambling over the speakers. I have windows vista and I'm running it on a wireless network that I am picking up a strong radio signal and pretty clearly on my speakers I know not for this kind of interference that I wondered about is

  • Send an email to everyone in my Inbox.

    How do send you an email to everyone in your Inbox without having to click on each name? I have Vista and use Windows Mail. Thank you!

  • How to solve the problem from compbuzz.dll?

    I use win7 and recently I got up a pop-up every time after startup.  There is an error: Start c:\Users\Fiona\AppData\local\Comp Buzz\Bin\CompBuzz.dll problem The specified module could not be found. Help, please.  How can this problem be fixed?

  • Delete a Cisco OnPlus account.

    I need to remove my account from Cisco OnPlus so that I can become an agent account OnPlus of my colleague that we see both the same portal. Please let me know how to go to this topic if you can Thank you very much