To download NI software, including the products shown below, visit ni.com/downloads.
Overview
Coding that exemplifies how to create a circle with different radius size in its quadrants.
Description
This simple example demonstrates a method of drawing a circle on an XY graph where each quadrant contains its own radius. The example iterates through a sine and cosine function to create an array of X and Y values that are passed to the XY graph which creates a circle. However, through the iterations, each quadrant gets multiplied by a unique gain which is the radius of that portion of the circle.
Requirements
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
1. Run the VI
2. Change the gain for each quadrant
3. Stop the VI
Additional Information or References
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Great question. I was working with a customer who was acquiring RMS values on four seperate channels, and he wanted to map the RMS value of each channel to a radius of one quadrant of a circle. I honestly was never able to determine what the real use case for this was, but the following code helped get him going.