To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows how you can set markers on a waveform chart. It will space the specified number of markers evenly on the x-axis.
Description
The VI gets the range of the x-axis scale and divides by the number of desired markers. It then calculates the positions for the markers and writes the values to the Marker Positions Property.
Requirements
Software:
Steps to Implement or Execute Code
1. Change the Number of Markers control.
2. Run the VI.
Additional Information or Resources
**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.