Jump to content

LV 7.1.1 Conditional Probe Question


Recommended Posts

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 LV 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...

Link to comment
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

Link to comment
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

Link to comment
Am I missing something? 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!

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.