From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-15-2014 02:48 PM
Hello all,
this is my first time posting.
I've been practicing the CLD exercises. I often get confused in what the exercise is asking me to do. For example CLD exercise 2 (see attched pdf).
On the 3rd page is states:
Set Timer Mode to Set Auto Reset
With the Test VI in Set Auto Reset mode, the Test VI must pass the Auto Reset value to the FGV timer. The Test VI must read the status of the FGV timer.
When the Auto Reset shift register is changed the FGV timer must immediately respond.
• If the Time Has Elapsed is OFF the application must continue operation regardless if the Auto Reset is on or off.
• If the Auto Reset is changed to ON while the Time Has Elapsed is ON, the timer begin a new timing cycle.
• If the Auto Reset is changed to OFF while the Time Has Elapsed is ON, the timer must continue operation with the time elapsed.
In the 3rd sentence, the FGV timer must immiedately respond if the shift register is changed. Well, I looked at their solution. The FGV responds everytime the main vi is called. So I don't understand what they mean?
In the 1st bullet. Well in looking at the solution, there are no conditions in the subvi that considers an "if logic" to check if "time has elapsed"?
In the 2nd bullet, "If the auto reset is chaged...while the "time has Elapsed" is ON", I don't see logic that check if the "auto reset" is on and "time has elapsed" is on?
Same question applies to bullet 3.
Attached is the solution that came with the exercise. I understand that the VI should work like a regular timer, but the requirements should match as well.
thanks in advance,
Frank
10-15-2014 03:03 PM
You need to post certification questions here.
10-16-2014 02:14 AM
I was also confused when I read this spec first time. What they described there is actually the behavior of the express VI. For example that´s why you don´t see any if statements for checking whether the time has elapsed or not.
(You have forgotten to attach the timer control typedef)
10-16-2014 10:07 PM - edited 10-16-2014 10:11 PM
The functional global variable VI uses the Elapsed Time Express VI
Express vis CAN provide a good starting point to generate commonly used code!
Raw, un-generated-coded (unconfigured) will never (If this LabVIEW Champion can affect it) be utilized on a passing CL(x) subision.
Yet, Express VIs are valuable! but, you earn your polo shirt for knowing where to wear them.
IF you create an Express vi for your CLx solution or practice soloution.........please post it. There are some Xvis that are quite useful.but many miss used.
10-22-2014 06:44 PM
okay. So I get it the "if conditions" are behavior of express vi.
Now, what about in the Operation section, 3rd bullet in the "set Timer Mode to Reset Status" section, it states that the "Auto reset is set to False". Looking at the solution, it isn't set to false.
Frank
11-06-2014 04:13 AM - edited 11-06-2014 04:14 AM
I assume this is a mistake of the solution? Even though the current implementation makes more sense, the spec should be followed, correct?
Thanks,
Danielle