Home >Software Tutorial >Computer Software >How to display the current time in LabVIEW 2018 LabVIEW 2018 Tutorial

How to display the current time in LabVIEW 2018 LabVIEW 2018 Tutorial

WBOY
WBOYOriginal
2024-06-06 14:12:43649browse

How to display the current time in LabVIEW 2018? In the LabVIEW 2018 tutorial, PHP editor Zimo will introduce you in detail how to easily display the current time in LabVIEW 2018. If you want to use a real-time clock in your own application, read on for a step-by-step guide and sample code.

First, open LabVIEW 2018 and create a new VI—select the New VI command in the menu bar to pop up the New VI window.

LabVIEW 2018怎么显示当前时间 LabVIEW 2018教程

Save VI——Select the File-Save command in the menu bar, then the dialog box to save the file will pop up, then select the appropriate path, enter the file name [display the current time], and save VI.

LabVIEW 2018怎么显示当前时间 LabVIEW 2018教程

Select the control palette in the front panel, [New Style] - [Numeric] - [Time Stamp Input Control], and place the control in the front panel.

LabVIEW 2018怎么显示当前时间 LabVIEW 2018教程 LabVIEW 2018怎么显示当前时间 LabVIEW 2018教程

Click the time button to open the setting time and date dialog box. Click [Set as current time] and the control will display the current time.

LabVIEW 2018怎么显示当前时间 LabVIEW 2018教程 LabVIEW 2018怎么显示当前时间 LabVIEW 2018教程

Right-click the control and select the [Data Operation]-[Set Time and Date] command from the pop-up menu to open the setting time and date.

LabVIEW 2018怎么显示当前时间 LabVIEW 2018教程 LabVIEW 2018怎么显示当前时间 LabVIEW 2018教程

Right-click the control and select the [Data Operation]-[Set as Current Time] command from the pop-up menu to display the current time and date.

LabVIEW 2018怎么显示当前时间 LabVIEW 2018教程 LabVIEW 2018怎么显示当前时间 LabVIEW 2018教程

The above is the detailed content of How to display the current time in LabVIEW 2018 LabVIEW 2018 Tutorial. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn