Example Code

String to Timestamp Using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This example shows how you can convert a string back to a timestamp

 

Description

It's easy to convert a timestamp to a string in LabVIEW, however, there isn't a native function the other way around! Here's a very simple example that shows how you can convert a string back to a timestamp

 

Requirements

  • LabVIEW 2012(or compatible)

 

Steps to Implement or Execute Code
    1. Run the vi.

 

Additional Information or References 

Front Panel

FP.JPG

 

VI Snippet

BD.png

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

Regards,


Imtiaz Chowdhury
Project Manager
Green Running / Austin Consultants

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
ara201
Member
Member
on

I've tried and it worked. But how do I syncronize with the time in the computer?