Example Code

Write and Read Binary Files Using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Description

LabVIEW programs can access binary files with the Write to Binary File and Read from Binary File VIs located in the Programming»File I/O functions palette. There are several examples in the NI Example Finder (Help»Find Examples...) under Fundamentals»File Input and Output»Read Binary File.vi and the Write Binary File.vi that demonstrate how to use these functions. 

Related Links

Write and Read Binary Files Using LabVIEW

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.