LabPack by Field R&D Services, LLC A Library for Encoding and Decoding MessagePack Data

  • Flatten to MessagePack: write arrays, clusters, numerics, booleans, etc.
  • Unflatten from MessagePack: read arrays, clusters, numerics, booleans, etc.
  • Compact, open binary format ideal for network data transmission
  • Automatically encode and decode complex, nested data structures
  • Build fast, memory-efficient binary data structures with easy-to-use API
  • Ideal data format for web-based and resource-constrained IoT applicatications
  • Download
LabPack reads and writes MessagePack (msgpack) formatted binary data. The msgpack format is designed for the efficient, low-level encoding and decoding of messages, specifically for sending and receiving data across network streams. This code library is a valuable tool for creating message architectures when JSON, XML, or similar custom text-based message formats would consume too much network bandwidth, system memory, and/or CPU cycles.

There are basically two methods to use the LabPack library: (i) automatically encode/decode anything using the high-level VIs or (ii) manually encode/decode data using low-level VIs. The first method is easy to use but can consume more system resources, while the second method is more flexible but can be more performant.

Since MessagePack is an open format designed for easy, low-level (de)serialization, it can be used in Internet of Things (IoT) applications as a messaging format between small, distributed nodes, like a sensor, and larger, more performant hubs, like a CompactRIO device. The LabPack library enables LabVIEW-based embedded systems to interface with other MessagePack-enabled nodes in IoT applications.

Support Information
This product is supported by the third-party provider and not by NI. For more information, contact Field R&D Services at:


Disclaimer: The Third-Party Add-Ons for LabVIEW on this page are offered by independent third-party providers who are solely responsible for these products. NI has no responsibility whatsoever for the performance, product descriptions, specifications, referenced content, or any and all claims or representations of these third-party providers. NI makes no warranty whatsoever, neither express nor implied, with respect to the goods, the referenced contents, or any and all claims or representations of the third-party providers.

Reviews are typically processed within 48 hours. If you believe a review is incorrect or inappropriate, please report abuse to
Verified Reviewers have submitted an email address to

IMPORTANT INFORMATION: You are being directed to a third party web site operated by RateVoice to submit your rating and/or review. You agree that the RateVoice Terms of Use apply to your access of, and submissions to, the RateVoice site. In addition, you agree that the "User Contributions" and "Your Conduct" sections of the NI web site Terms of Use apply with respect to your rating and review related conduct and submissions as if the term "Site" in those sections also referred to the RateVoice web site. Please remember that any information (including personal information) that you disclose in connection with ratings and/or reviews may become public information that others may collect, circulate, and use. Because NI cannot and does not control the acts of others, you should exercise caution when deciding to disclose information about yourself or others in public forums such as these.