LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scripting with Error Rings

Scripting with Error Rings (new in LV 2012) is possible, but it's a bit tricky.  The attached .llb makes things a little simpler.

(Some of the code is so ugly, I locked the BDs.)

0 Kudos
Message 1 of 5
(2,649 Views)

@paul_a_cardinale wrote:

Scripting with Error Rings (new in LV 2012) is possible, but it's a bit tricky.  The attached .llb makes things a little simpler.

(Some of the code is so ugly, I locked the BDs.)


Rspectfully, why would I use something that someone I don't know uploaded and that I cannot look at the source code?  Also, if I can't look at the block diagram, how am I to know whether or not your solution is better than mine?

 

You'd probably get a much warmer response if you opened up the library for inspection.  It's executable code - people are going to want to know what they are executing.  🙂

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 2 of 5
(2,632 Views)

Most of the BDs are open.  The only ones that are locked are simple wrappers for "L10N.vi", "Update Error Description.vi", & "Get All Errors In Family.vi" in ...\vi.lib\ErrorRing\Utility\.

Those Vis have private scope, and you're not supposed to be able to call them.  I found a way to call them, but thought it would be a bad idea to disseminate that into.

 

0 Kudos
Message 3 of 5
(2,628 Views)

@paul_a_cardinale wrote:

Most of the BDs are open.  The only ones that are locked are simple wrappers for "L10N.vi", "Update Error Description.vi", & "Get All Errors In Family.vi" in ...\vi.lib\ErrorRing\Utility\.

Those Vis have private scope, and you're not supposed to be able to call them.  I found a way to call them, but thought it would be a bad idea to disseminate that into.

 


I think you need to see this from a user's perspective.  For the same reason I don't click on links or open files with execution potential in email, I won't execute a VI that has "secrets."

 

Besides, if you think something is "bad," what makes you think it's "good" for public consumption?  😉

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(2,618 Views)

Your last sentence makes no sense.  What I think would be bad, is showing everybody how to defeat private scope.  And that is what I did not make available for public consumption.

 

Message 5 of 5
(2,610 Views)