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.

Certification

cancel
Showing results for 
Search instead for 
Did you mean: 

Sprinkle Controller solution for example CLD, would I pass?

Hey guys, I'm preparing for my CLD.  

 

Attached is my solution for the Sprinkler Controller example.  I worked on it in a few sessions, and spent 3-3.5 hours total.  

 

I am curious to know if you guys think it would pass.

 

Feel free to hurt my feelings! 

 

Also, if  you're studying as well, feel free to borrow anything here!

 

 

0 Kudos
Message 1 of 5
(5,623 Views)

Found a bug that caused a problem when any Timing was set to 0.  Fixed.  

0 Kudos
Message 2 of 5
(5,609 Views)

I believe your timer is working backwards for the display.  The document states:

 

"When a zone is being serviced, the following should occur: .... The Timing indicator should display the elapsed time in second"

 

Yours counts down the remaining time when being serviced.

0 Kudos
Message 3 of 5
(5,573 Views)

Also it states

 

"The controller must load the Zone Setup Array data from a Comma Separated Value (.csv) file when the VI starts."

 

For some reason yours only loads the CSV after clicking Start.

0 Kudos
Message 4 of 5
(5,571 Views)

@Hooovahh wrote:

Also it states

 

"The controller must load the Zone Setup Array data from a Comma Separated Value (.csv) file when the VI starts."

 

For some reason yours only loads the CSV after clicking Start.


Thanks for the review, Hooovahh.  


I definitely messed up those two bits.  I think I need to make sure I read a little more clearly next time.  

0 Kudos
Message 5 of 5
(5,549 Views)