How to save LabVIEW waveform chart as a picture

Publisher:asd123yuiLatest update time:2015-09-15 Source: eefocusKeywords:LabVIEW Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Complete the following steps to use the Acquire Image method to generate an image of a single front panel object.

(1) On the block diagram, right-click the terminal of the control for which you want to generate an image and select Create Call Node to Get Image from the shortcut menu to create a call node.

(2) Right-click the Image Depth input and select Create Constant from the shortcut menu.

Enter 1, 4, 8, or 24 in the numeric constant and press the key to set the color depth of the image.

in:

Value - 1 - 1 bit, black and white image

Value - 4 - 4 bits, 16-color image

Value - 8 - 8-bit, 256-color image

Value - 24 - 24 bits, true color image

(3) You can specify the background color of the image by wiring a color box constant or a numeric color value to the Background Color input.

(4) Select one of the following VIs and add it to the block diagram.

Added the Write to JPEG File VI to save images in JPEG format. 

Added the Write to PNG File VI to save images in PNG format.

Add the Write to BMP File VI to save the image in BMP format. 

(5) Connect the image data output of the calling node to the image data input of the graphics format VI.

(6) Right-click the Format File Path input of the Graphics Format VI and select Create Input Control from the shortcut menu, where Format is the graphics format of the image.

(7) In the Format File Path input control of the front panel window, enter the path where the file is stored and the image file name.

Finally, run the VI and save the image to the specified directory.

Example: The following block diagram saves a waveform chart as a PNG image.

How to save LabVIEW waveform chart as a picture
Keywords:LabVIEW Reference address:How to save LabVIEW waveform chart as a picture

Previous article:LabVIEW 2010/2011 Universal Crack Method for All Components
Next article:LabVIEW Case Structure

Recommended ReadingLatest update time:2024-11-16 14:46

Photovoltaic Inverter Performance Monitoring System Based on LabVIEW
Photovoltaic inverter manufacturers usually provide users with performance parameters such as rated power, efficiency curve, power factor, etc., which can provide the necessary basic parameters for the engineering planning and infrastructure construction of photovoltaic power stations. However, after the photovoltaic p
[Test Measurement]
Photovoltaic Inverter Performance Monitoring System Based on LabVIEW
LabVIEW and NI CompactDAQ Help UFSC Test Complex Vehicle Noise
  Acoustic image recognition of tire and exhaust noise at 50 km/h and 1,904.3 Hz   “We chose NI hardware that is compact and DC-powered to provide power to the microphones in the array.”   - Samir N. Gerges, Federal University of Santa Catarina (UFSC)   challenge:   Develop a portable and affordable acoustic beamfor
[Test Measurement]
LabVIEW and NI CompactDAQ Help UFSC Test Complex Vehicle Noise
LabVIEW Learning Notes - Second Program: Sum of Squares of Multiple Integers
The program for summing the squares of multiple integers involves the execution structure of the program as well as variable types and data conversion. First, the execution structure of the program: FOR loop - a necessary condition for continuous data addition. Then the data is accumulated through the shift register.
[Test Measurement]
Bringing a 20-Year-Old Robot Back to Life Using LabVIEW
Author(s): Jonas Neubert - Imperial College London Industry: Research Products: CompactRIO, FPGA Module, Real-Time Module The Challenge: Replace a 20 year old industrial robot that had lost its controller with a new one and extend it with features typical of m
[Test Measurement]
Bringing a 20-Year-Old Robot Back to Life Using LabVIEW
Storage of test measurement data in LabVIEW (1)
           The test and measurement data mentioned here refers to the test and measurement data collected by NI hardware, such as PXI cards. I am not familiar with other test and measurement application scenarios.            NI originally lacked an excellent test and measurement data storage solution. NI later realize
[Test Measurement]
LabVIEW Bluetooth Control of Lego Hexapod Robot
  Figure 1 LabVIEW Bluetooth control of Lego hexapod robot   I. Introduction     In the previous article "A six-legged robot combining Arduino and LEGO", I explained how to use the 32-channel servo control board. The board comes with a servo control software. I used the software to control the 12 mini servos of the s
[Test Measurement]
LabVIEW Bluetooth Control of Lego Hexapod Robot
Green off-grid energy solutions based on LabVIEW
Diverse Energy's PowerCube uses fuel cell technology to convert industrial gas into electricity without any carbon emissions, and has gradually replaced traditional diesel generators. "Labview's graphical programming environment speeds up the development and deployment process. If we had used text-based programming to
[Test Measurement]
NI LabVIEW and DIAdem for Fast Telemetry Data Management
Use NI LabVIEW and DIAdem to generate custom DataPlugin files and integrate them with the NI DataMine application. "We have achieved tremendous efficiency gains in managing large data sets and specialized data using DIAdem and the DataPlugin architecture. This application has become the focal point of our analy
[Test Measurement]
NI LabVIEW and DIAdem for Fast Telemetry Data Management
Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号