VectorStar™ MS4640A SeriesMicrowave Vector Network Analyzer : Appendix A — Programming with LabVIEW : Example 8 – Output BMP File
 
Example 8 – Output BMP File
Example 8 – Block Diagram – Output BMP File
We can use a similar technique to get the bitmap data to a file. Here we use the Lightning commands “BMPC;OBMP” to output a bitmap file. BMPC selects color on white as the color scheme – this makes for better printouts. The “Read ARB.vi” again is used to strip off the arbitrary block header and place the bitmap data into a file. If we didn’t strip off the header the bitmap file would be corrupt. Note that we write the file to a binary file.
 
 
Example 8 – Front Display Graphic Output as a BMP File
When the VI runs it puts up a dialog to allow the user to select a file name. Make sure to save the file with a “.bmp” extension.