LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out the related Code Repository Files or visit the LabVIEW Wiki Development Environment Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> [CR] VariantProbe
Ton
post Dec 12 2006, 06:22 AM
Post #1


CCT It
*****

Premium Member
Posts: 1337
Joined: 13-June 05
From: Woerden, Netherlands
Member No.: 2399
Using LabVIEW Since:2001
LV:8.5.1 ,6.1 ,8.2.1
Netherlands hol_utrecht Nothing Selected My Blog My Gallery



File Name: VariantProbe
File Submitter: tcplomp
File Submitted: 4 Dec 2006
File Updated: 30 Dec 2007
File Category: Custom Probes

Variant Probe V1.2.0
Copyright © 2007, Ton Plomp
All rights reserved.

Author:
Ton Plomp
tcplomp@gmail.com

Distribution:
This code was downloaded from:
the LAVA CR

Description:
A custrom 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. Historical data is available as well.

Installation method 1:
Install the VariantProbe_1.2-3.ogp using VIPM (www.jkisoft.com/vipm)

Installation method 2:
Place the VariantProbe.llb inside one of the following dirs:
-\_probes
-\Probes

and you have a custom VariantProbe.

Don't forget to remove the old version manually if needed!

To use it add a probe to a variant datatype or to an array of variant's.

It can pause if the data changes, and will notify you if a change happens.

Known issues:
Is slow on large variants because of the use of the tree control and the recursive listing of a Variant just takes time.

Support:
If you have any problems with this code or want to suggest features:
http://forums.lavag.org/CR-VariantProbe-t5356.html


Version History:
1.2.0:
  • Upgraded to LabVIEW 8.5 to use Inheritanct
  • 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 pan
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 © 2007, Ton Plomp
All rights reserved.

Click here to DOWNLOAD this file

--------------------
Certified LabVIEW Developer
Shouldn't you be programming a Code Repository solution?


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Dec 12 2006, 06:22 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Jeffrey Habets
post Dec 12 2006, 11:20 AM
Post #2


Very Active
***

Premium Member
Posts: 107
Joined: 26-October 04
From: Weert
Member No.: 906
Using LabVIEW Since:1997
LV:8.20 ,8.0.1 ,7.1.1
Netherlands hol_limburg Netherlands Antilles


Thanks Ton,

This is a cool probe...

I set the window to be able to resize and the treecontrol to size with it so I can fit more data on my screen. smile.gif

--------------------
Greetings, Jeffrey
NI CLA & VIT


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Mike Ashe
post Dec 12 2006, 03:47 PM
Post #3


Instant Human, just add coffee
****

Premium Member
Posts: 889
Joined: 31-January 03
From: Waterford, CT USA
Member No.: 45
Using LabVIEW Since:1992
LV:8.2.1 ,7.1 ,8.0.1
United States us_connecticut us_washington


Hi Ton,

Nice implementation. Were you aware that Jim Kring had already done something similar?
See: OpenG Universal Probe
Anyway, nice to see another, keep up the good work.

--------------------
*************************************************************
"Always listen to the experts, they'll tell you what can't be done, and why.
Then go do it."
~The Notebooks of Lazarus Long (by Robert Heinlein)
*************************************************************


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Michael_Aivaliot...
post Dec 12 2006, 04:29 PM
Post #4


Confucius say: Crowded elevator always smell different to midget
Group Icon
*****

Admin
Posts: 2367
Joined: 13-October 02
From: Planet Earth
Member No.: 2
Using LabVIEW Since:1994
LV:8.5 ,8.2.1 ,7.1.1
Greece Canada United States My Blog My Gallery


QUOTE (jeffreyhabets @ Dec 12 2006, 03:20 AM) *
I set the window to be able to resize and the treecontrol to size with it so I can fit more data on my screen. smile.gif
Sounds like an update with a resizable window is in order.

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ton
post Dec 13 2006, 07:14 AM
Post #5


CCT It
*****

Premium Member
Posts: 1337
Joined: 13-June 05
From: Woerden, Netherlands
Member No.: 2399
Using LabVIEW Since:2001
LV:8.5.1 ,6.1 ,8.2.1
Netherlands hol_utrecht Nothing Selected My Blog My Gallery


QUOTE (Mike Ashe @ Dec 12 2006, 04:47 PM) *
Nice implementation. Were you aware that Jim Kring had already done something similar?

Hi Mike,
No didn't know, it looks like you had a different approach. And the old OpenG content is hard to get...
Only one question when I want to probe a non-variant data type I get this error:
Attached Image
Has the probe engine changed?

QUOTE (Michael_Aivaliotis @ Dec 12 2006, 05:29 PM) *
Sounds like an update with a resizable window is in order.

Here you go! And you used another screenshot (mine was too big I assume?)?

Have fun

Ton

--------------------
Certified LabVIEW Developer
Shouldn't you be programming a Code Repository solution?


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Jim Kring
post Jan 3 2007, 08:25 AM
Post #6


Changing the world, one VI at a time.
*****

JKI
Posts: 1696
Joined: 22-October 02
From: San Francisco, CA
Member No.: 17
Using LabVIEW Since:1995
LV:8.2.1 ,8.5 ,7.1.1
United States us_california Nothing Selected My Blog My Gallery


Hi Ton,

Nice job. I guess great minds think alike ;-)

BTW, in your download description you mention dependencies to many OpenG packages. Can you put a link to VI Package Manager (or OpenG.org), so that people can easily get them?

Thanks,

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ton
post Jan 11 2007, 06:39 AM
Post #7


CCT It
*****

Premium Member
Posts: 1337
Joined: 13-June 05
From: Woerden, Netherlands
Member No.: 2399
Using LabVIEW Since:2001
LV:8.5.1 ,6.1 ,8.2.1
Netherlands hol_utrecht Nothing Selected My Blog My Gallery


Jim, done!

Ton

--------------------
Certified LabVIEW Developer
Shouldn't you be programming a Code Repository solution?


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ton
post May 26 2007, 11:05 AM
Post #8


CCT It
*****

Premium Member
Posts: 1337
Joined: 13-June 05
From: Woerden, Netherlands
Member No.: 2399
Using LabVIEW Since:2001
LV:8.5.1 ,6.1 ,8.2.1
Netherlands hol_utrecht Nothing Selected My Blog My Gallery


updated to version 1.1.0, includes attributes!

--------------------
Certified LabVIEW Developer
Shouldn't you be programming a Code Repository solution?


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Mike Ashe
post May 29 2007, 09:43 PM
Post #9


Instant Human, just add coffee
****

Premium Member
Posts: 889
Joined: 31-January 03
From: Waterford, CT USA
Member No.: 45
Using LabVIEW Since:1992
LV:8.2.1 ,7.1 ,8.0.1
United States us_connecticut us_washington


QUOTE (tcplomp @ May 26 2007, 07:05 AM) *
updated to version 1.1.0, includes attributes!
Hi Ton, thank you very much for this update! Both of my favorite state machine/module architectures use variants to pass data around between modules and I use the attributes to carry things like command options, module return addresses, whether a callback is requested, etc. I've used both Jim Kring and your implementations of variant probes, and the addition of attributes is a very nice one for me. I really like the history on yours as well.

Keep up the good great work!

--------------------
*************************************************************
"Always listen to the experts, they'll tell you what can't be done, and why.
Then go do it."
~The Notebooks of Lazarus Long (by Robert Heinlein)
*************************************************************


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 1st December 2008 - 09:40 PM