04-24-2023 04:38 AM
Hello,
I am preparing for the cld exam.
I programmed the boiler example and would like to have some feedback.
Please let me knwo, if I am on the right path.
Just to tell my strategy. I allway work with the producer consumer template, just to save time on the decision witch template to use.
Thank you very much.
04-24-2023 06:36 AM
Hello Dulber,
There is a dedicated place for certification, sample programs review Certification - NI Community
You can post your code there.
04-24-2023 08:16 AM
04-24-2023 10:25 PM
You should create a LabVIEW project and organize all the VIs and controls. Place subVIs and controls in folders if necessary. If you can finish the program within four hours, feel free to continue with it.
Our team always uses the simple polling state machine and FGV Timer SubVI. IMHO, the biggest challenge of CLD is time, so the simpler the better.
04-25-2023 03:46 AM
Thanks for your feedback.
Do you create this FGV Timer SubVI each time new, or is it available in the quick drop?
04-25-2023 08:28 AM
The FGV Timer is not available in the quick drop. When you start the exam, the first thing is to build this FGV from scratch. With a few practices, you should be able to create it within 5 minutes.
04-25-2023 08:58 AM
Few more suggestions.
1. Avoid wire bends as much as possible.
2. Label for Constant Values
3. Document Each Case on its functionalities.
4. How does the Consumer Loop Stops during No error State. (You cannot exit an application for all error).
5. Good that you have given Tip Strip for FP Elements better to give description as well.
6. To avoid Multiple wire with Shift registers you can put all the elements in a single Cluster and Bundle/Unbundle on need basis.
7. Merge Error from both the Loops and then Release the Queue.
Please take account of suggestions from others as well.
04-26-2023 01:24 AM
ok, thank you
04-26-2023 02:35 AM
Thank you for the detailed help.
to point 4.
This is allready the solution of the template Producer Consumer Desingn Pattern.
Releasing the queue stops the consumer loop.
04-26-2023 03:22 AM
@dulber wrote:
Thank you for the detailed help.
to point 4.
This is allready the solution of the template Producer Consumer Desingn Pattern.
Releasing the queue stops the consumer loop.
Still, I recommend you stop the consumer loop by sending "exit" from producer loop and release the queue once both the loops exits execution.