To download NI software, including the products shown below, visit ni.com/downloads.
Overview
The example demonstrates about the Add-On for additional workspace Controls and Indicators
Description:
Out of the box, NI VeriStand is supplied with a range of controls and indicators from booleans to graphs to model control. These have been created in LabVIEW before being coded to allow VeriStand to use them and to map their inputs/outputs into the system e.g. to models or data acquisition channels.Having seen the VeriStand Add-On of a library of Silver Workspace Controls, it occurred to me that it could be useful to have a wider range of controls and indicators for NI VeriStand at your fingerips, without having to create the "custom" controls and indicators yourself, so attached is a folder containing a series of 5 additional numeric controls/indicators; and 5 additional boolean controls/indicators.
Additional Numeric include:
Additional Booleans include:
Steps to implement or execute code
To implement this example:
Requirements
Software
LabVIEW 2012 or compatible
NI VeriStand
Hardware
-
**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.
Hello, is it possible to save the limits for each of these indicators or controls (e.g., thermometer, vertical slide, etc.) across workspace sessions? Thank you.
Hi hyog,
If I understand your question correctly, you can set the limits for the control through LabVIEW when first designing the control. Alternatively, you could set the limits through the control properties in the workspace.
Hope this answers your question!
Hi Tori,
Thanks for the response. I understand that I can set the limits in LabVIEW or VeriStand workspace. However, everytime I close the workspace and relaunch it, the limits are reset. How do I save the limts across workspace sessions? Thanks.
Hey hyog,
The behavior you're seeing, where changes to the workspace in VeriStand do not perpetuate when you reload the workspace, is a known issue. Our R&D team is aware of this problem and working to address it in later releases of VeriStand. For now, the proper workaround is to continue making changes to the workspace object in LabVIEW in order to change its range.
Sorry for the inconvenience!
Hi,
I've been trying to add some of these custom controls myself and can't get the Veristand workspace properties to change basic things like the display limits (e.g. 4-20 instead of 0-100). After reading your documentation above, I tried out the Knob, and it works! But the sliders, the tank, and the thermometer all don't work. It seems like the internal reference is looking for a particular type and while "Knob" works, type "Slide" doesn't. Unfortunately the handler is closed source so I don't know how to add a custom handler for the slide type.