Custom Probes
4 files
-
Cyclic Table Probes
By drjdpowell
A package for creating custom probes with "history"; showing the last N values rather than just the latest. Values are displayed in a cyclic table, which wraps around automatically when it reaches the bottom of the display window. Developed to support messaging systems, where messages can be handled too quickly for the eye to see with a last-value probe. Included are some standard probes, for strings, variants, objects, and some numerics. Also included is a "Text Variant" probe, for messaging using a cluster of such, and a "JKI State Queue" probe for use in designs using the JKI "state machine" template (see image). But the expected use case is for very easily creating custom probes for whatever messages one is using (just modify one of the included probes).
Also includes "Quick Timer" probes to rapidly time execution of portions of code to accuracies of as low as 10 microseconds.
Now hosted on the LabVIEW Tools Network.
JDP Science Tools group on NI.com.
Requires VIPM 2017 or later for install.
616 downloads
Updated
-
Variant Probe
By Ton Plomp
Variant Probe V2.4.1
Copyright © 2012, Ton Plomp
All rights reserved.
Author:
Ton Plomp
tcplomp@gmail.com
Distribution:
This code was downloaded from:
http://lavag.org/index.php?app=downloads&showfile=19
Description:
A custom probe to put on a variant.
It will create a tree based on the variant data, and populate the tree with the data, the attributes of the variant will be shown as well.
The datatype description will determine the color of the tree items.
Historical data is available as well.
Version 2.0 introduces a Variant Tree XControl which can be used in any project. Located under the user.lib palette, it gives great flexibility to the programmer.
The programmer has the possibility to give the end user permissions for the following actions:
-Reset
This will reset the whole tree contents
-Traverse Variant Attributes
This will enable/disable the traversion of variant attributes
-Colorize
This will enable/disable coloring of the actual datatype
All of these customizations are available as properties/methods for the actual XControl as well, or you access them (while the owning VI is in edit mode) via the short cut menu.
Installation method 1:
Install the OGP file using VIPM (www.jkisoft.com/vipm)
and you have a custom VariantProbe and xcontrol
To use it add a probe to a variant datatype or to an array of variants.
It can pause if the data changes, and will notify you if a change happens.
Dependencies:
The following OpenG packages should be installed:
oglib_string>=2.6
oglib_lvdata>=2.8
oglib_comparison>=2.3
oglib_error>=2.0
Known issues:
Is slow on large variants.
Support:
If you have any problems with this code or want to suggest features:
http://lavag.org/index.php?showtopic=10269
Version History:
2.4.1: Fixed issue #132: An array inside another array crashes the probe/XControl
2.4: Immediate updating after changing of attributes
Rebuild in LabVIEW 2011
2.3: Fixed a bug that caused attributes not to be traversed on certain data-types
2.2: Fixed a relinking bug
2.1: Fixes a bug where unnamed cluster elements where used (http://lavag.org/topic/10269-discuss-variantprobe/page__view__findpost__p__67677)
2.0: Added an XControl
Show XControl in palette (under user.lib controls)
Add coloring
Add 'user permissions' on XControl
Add Reset on XControl
Add optionally traversing attributes on XControl
Add optionally colorizing on XControl
Add optionally restting on XControl
1.2.0: Upgraded to LabVIEW 8.5 to use inheritance
Support for Waveforms, timestamps and dynamic datatypes (thanks to Osvaldo)
Added probe for an array of Variants
Distributed as one .llb and added OGP installer
If a Variant hasn't changed it's not decomposed (optimization)
1.1.0: Support for attributes of variants
1.0.1: Controls placed on a seperate pane
Resize tree to upper pane
Hide unused columns
Limited maximum history length (default 10)
Window resizable
1.0.0: Initial release of the code.
License:
This code is distributed under the BSD License
Copyright © 2012, Ton Plomp
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the Ton Plomp nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3,284 downloads
Updated
-
History
Copyright © 2007 SAPHIR (Olivier JOURDAN) All rights reserved.
Author
Olivier JOURDAN
--see readme file for contact information
Description
Use this probe stored string in a buffer and display this buffer.
Instructions
Just unzip the code into following folder: ..\user.lib\_probes or .. \LabVIEW Data\Probes
This code has been tested to run under LabVIEW 8.2.1
Dependancies
None
Change Log
* 1.0.0 : Initial submission to LAVA CR.
388 downloads
Submitted
-
Details
Copyright © 2007 SAPHIR (Olivier JOURDAN) All rights reserved.
Author
Olivier JOURDAN
--see readme file for contact information
Description
Use this probe to display string in different mode and to have the size of the string.
Instructions
Just unzip the code into following folder: ..\user.lib\_probes or .. \LabVIEW Data\Probes
This code has been tested to run under LabVIEW 8.2.1
Dependancies
None
Change Log
* 1.0.0 : Initial submission to LAVA CR.
351 downloads
Submitted