04-10-2008 08:37 AM
04-10-2008 09:09 AM - edited 04-10-2008 09:11 AM
richjoh wrote:
1. local (or global)variables2. property nodes.3.I'd like to know if there are more possibilities especially when a control is used. we can alwaysrightwrite a value into an indicator when an indicator is used.

04-10-2008 09:14 AM
And to add one more convoluted method (just for achedemic purposes)
4) If the cotrol is bound to a DataSocket then write to the associated URL will work.
5) Invoke node Set Control Value
Ben
04-10-2008 09:27 AM
OK, I have comments on two different CLD exams I've taken, the partial paste follows.
Case1: "property nodes are used to update values"
Case2:"Use of local or global variables"
So, there where no globals used. For case1, I did use a few property nodes and a few locals. For case 2, I used 1 local variable for each control or bundle (no duplicates) for updating inside the state machine.
So I'm trying to make sense of the comments here. What's the criteria for updating a control programmatically? Since we can't use constants to write directly in a control (like an indicator) I'm scratching my head.
04-10-2008 09:37 AM
04-10-2008 09:38 AM - edited 04-10-2008 09:38 AM
04-10-2008 09:47 AM
OK when you update a control what method is used for the NI Certification team to issue points? Local variables or property nodes... (we have all posted the pro cons of using either on here no need to repeat that again). Ok yea, SV too.
When your program starts up what used to update your control typically? We all have our own "Style". I've yet to determine what NI requirement is on this during the CLD.
04-10-2008 10:18 AM
04-10-2008 10:33 AM
What are the criteria used to grade the CLD exam? What are the specific finding and recommendations used when determining a grade?
In two instances of taking the CLD the graders comments are shown below.
After a comparison of the two cases, here are my comments. “Property nodes and local variable are not to be used”. I’ve posted a question asking what other ways are there to programmatically update a control. “Unnecessary bends in wires are not to be used”. What criteria determine when a wire bend is unnecessary? Should all wires not have bends thus bends in wires are not allowed? “Errors not handled….error terminal on property node not wired”. As I read the exam requirements, I did not come across a case to handle an error in any step. Simply connecting an error terminal and providing a case doesn’t handle errors. I’m almost certain my code in Case2 does not generate programmatic errors. “NOT gate used rather than inverted input where available”. Are you saying NOT gates are not be used, is there some advantage? Maybe I was able reuse duplicate code in Case2 and in one of the cases the NOT gate was appropriate since is read well on a block diagram and the change was effortless.
--------------------------------------------------------------
Case1:
Style: Overly complex solution. Property Nodes used to update values. Unnecessary bends in wires. Error terminals on property nodes unwired. Errors not handled.
Functionality: Application not fully implemented. Logic of implementation is not correct. Boolean latch action is not implemented where necessary.
Documentation:
Case2:
Style: VI is not modular – repeated code is not placed in SubVIs. Use of local or global variables. Unnecessary bends in wires. NOT gate used rather then inverted input where available. Errors not handled.
Functionality: Application does not function as specified.
I have no idea what NI is looking for as far as “Style”. Lets define this and have a point system in place for determining “Style”. What “Style” allocates 15 points in the CLD exam?
04-10-2008 10:38 AM