San Diego LabVIEW Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Base64 2009 v2.zip

Ivan Gagne's base-64 encoding project, from the 9/17/2014 San Diego LabVIEW UGM.

 

Demonstrates optimization of base-64 encoding of a large dataset. An example application would be transmitting binary data over a string-based protocol.

 

Techniques:

 

Low lying fruit:

 

  • Experiment with the execution options. Disabling debug always helps but experiment with the other two.

 

 

More info about subroutine priority here: https://www.ni.com/docs/en-US/bundle/labview/page/prioritizing-parallel-tasks.html

 

  • Remove binary array manipulation. Move bits left and right using the shift operator.
  • Remove inner for loop, use U8 arrays instead of strings, and eliminate dynamic memory allocation
  • Calculate  a lookup table (code inside zip file) ahead of time to eliminate search time
0 Kudos
Message 1 of 1
(5,413 Views)