To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This DIAdem Script is an introduction to using classes in DIAdem.
Description
This example is a short introduction to using classes within DIAdem script. There is an example clock layout for the report (Clock.tdr), and a short script, which defines a class, MyClock, with a subroutine that adds seconds to the clock as well as properties for seconds, minutes and hours. The clock is initialized at noon and adds a new second to the time every second.
Requirements
Diadem 11 (or compatible)
Steps to Implement or Execute Code
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.