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
> LV 7.1.1 Conditional Probe Question, why are conditional probes data-type dependent?
Gary Rubin
post Mar 22 2006, 06:51 PM
Post #1


Extremely Active
****

Member
Posts: 301
Joined: 6-March 06
Member No.: 4344
Using LabVIEW Since:1997
LV:7.1.1 ,. ,.
United States us_virginia us_california


Does anybody know why condional probes are available for U32, I32, and Double wires, but not for other data types? Does this limitation still exist in LV8?
Thanks,
Gary


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















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Jeff Plotzke
post Mar 22 2006, 07:36 PM
Post #2


Very Active
***

V I Engineering, Inc.
Posts: 131
Joined: 8-February 06
Member No.: 4078
Using LabVIEW Since:2002
LV:8.20 ,8.0 ,7.1
United States us_michigan Nothing Selected


Hi Gary,

While I'm not sure on why conditional probes are only available for certain types -- I'll tell you that nothing has changed in LV8.

Of course, there's a few more conditional probes for non-numerics (which are in LabVIEW 7, too) -- Strings, Booleans, Error Clusters. Anytime I want a conditional probe on a numeric which isn't I32/U32/DBL I normally split the wire and convert the offshoot to DBL and then make that wire go to a structure (which I don't use) and use a conditional probe on that one new DBL wire. That way, I'm not messing with the original wire's data type, but of course, it's a bit quirky...


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Gary Rubin
post Mar 22 2006, 07:40 PM
Post #3


Extremely Active
****

Member
Posts: 301
Joined: 6-March 06
Member No.: 4344
Using LabVIEW Since:1997
LV:7.1.1 ,. ,.
United States us_virginia us_california


QUOTE
Anytime I want a conditional probe on a numeric which isn't I32/U32/DBL I normally split the wire and convert the offshoot to DBL and then make that wire go to a structure (which I don't use) and use a conditional probe on that one new DBL wire.


Thanks,
That's what I've been doing too. It would just be nice to not have to clutter up the diagram like that...
Gary


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Michael_Aivaliot...
post Mar 23 2006, 02:16 AM
Post #4


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

Admin
Posts: 2402
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 (Gary Rubin @ Mar 22 2006, 10:51 AM) *
Does anybody know why condional probes are available for U32, I32, and Double wires, but not for other data types? Does this limitation still exist in LV8?
Thanks,
Gary
Am I missing something? Why not create a custom conditional with any datatype you want?

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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Jeff Plotzke
post Mar 23 2006, 04:04 AM
Post #5


Very Active
***

V I Engineering, Inc.
Posts: 131
Joined: 8-February 06
Member No.: 4078
Using LabVIEW Since:2002
LV:8.20 ,8.0 ,7.1
United States us_michigan Nothing Selected


QUOTE (Michael_Aivaliotis @ Mar 22 2006, 09:16 PM) *
Why not create a custom conditional with any datatype you want?


You know, I've never thought of that -- Making a custom probe gives you a boolean out to allow for a conditional probe style.

Thanks Michael!


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Gary Rubin
post Mar 23 2006, 01:07 PM
Post #6


Extremely Active
****

Member
Posts: 301
Joined: 6-March 06
Member No.: 4344
Using LabVIEW Since:1997
LV:7.1.1 ,. ,.
United States us_virginia us_california


QUOTE (Jeff Plotzke @ Mar 22 2006, 11:04 PM) *
You know, I've never thought of that -- Making a custom probe gives you a boolean out to allow for a conditional probe style.


Jeff, you don't even have to do it that way. Maybe this was what Michael was refering to... There's a probes directory in vi.lib where the conditional probes live as vi's. Modify one of them (say the I32 to be an I16), and then select it as your custom probe. Now you have a conditional I16 probe. No need to use a boolean conditional probe on another custom probe (if I'm understanding you correctly).
Gary

This post has been edited by Gary Rubin: Mar 23 2006, 01:07 PM


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Mike Ashe
post Mar 24 2006, 01:56 AM
Post #7


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 (Michael_Aivaliotis @ Mar 22 2006, 09:16 PM) *
Am I missing something? Why not create a custom conditional with any datatype you want?



QUOTE (Jeff Plotzke @ Mar 22 2006, 11:04 PM) *
You know, I've never thought of that -- Making a custom probe gives you a boolean out to allow for a conditional probe style.

Thanks Michael!

I started to post this yesterday, but stopped. Rather than reinvent another custom, why not go over to the OpenG website and get the Universal Probe and modify it slightly to make it conditional like you want? One size fits all.

--------------------
*************************************************************
"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: 8th January 2009 - 07:31 PM