06-28-2020 01:52 PM
I rewrote the CLD Exercise 9 solution from scratch - funnily enough I did this as a teaching aid before I knew about the call for new solutions!
The exercise is the 'Step Sequencer with Elapsed Time Express VI Timer':
I have noticed the following advantages in my solution over the original:
The project (with original and proposed solutions) is saved for LV2015. Let me know your thoughts.
~ Leah
06-28-2020 04:25 PM
Thanks. Haven't looked at it in details, but please don't post a front panel picture with "continuous run" activated! 😮
Also, If you enter the URL correctly into the diagram comment, it will turn into a clickable link.
06-29-2020 12:37 AM
@altenbach wrote:
Thanks. Haven't looked at it in details, but please don't post a front panel picture with "continuous run" activated! 😮
Oops - you got me with the run continuous! I wanted a quick screenshot to remind people which one it was but happened to have the exercise with the empty block diagram open and didn't want to see the grid lines... Now my laziness has come back to bite me.🙃
@altenbach wrote:
Also, If you enter the URL correctly into the diagram comment, it will turn into a clickable link.
Thanks for taking a look. The link was blue and clickable in my 2018 version before I backsaved it - unfortunately I don't have 2015 on this PC to fix this version. But I can try saving it again some time.
06-29-2020 06:10 AM
@leahmedwards wrote:
@altenbach wrote:
Thanks. Haven't looked at it in details, but please don't post a front panel picture with "continuous run" activated! 😮
Oops - you got me with the run continuous! I wanted a quick screenshot to remind people which one it was but happened to have the exercise with the empty block diagram open and didn't want to see the grid lines... Now my laziness has come back to bite me.🙃
Next time, use Ctrl+M to show the runtime window.
06-29-2020 11:47 AM
One if the reasons I have not rewritten much is the rigid requirements that the template cannot change. I always cringe looking at these templates. Properly rewritten, the "autoreset" should be a switch or checkbox, the step LEDs should be a radiobutton indicator, and all controls should have better labels and boolean text. A button labeled "Stop VI" containing a boolean text of "OFF" is quite unusual. Time indicators should have a time format.
I guess down-saving does not properly retain URLs in diagram comments. Wasn't aware of that.
06-29-2020 03:09 PM
@crossrulz - Thanks for the tip, very useful.
@altenbach Agreed, the exercise template is not ideal but like you said, changing it is not allowed. The funny sizing of the string indicator has me itching to neaten it up... Anyway, are there any major improvements that could be made to the code, apart from the hyperlink?
06-29-2020 08:12 PM
I have my own style, so don't listen to me 🙂
06-29-2020 08:35 PM
06-30-2020 12:19 AM
Thanks for sharing Altenbach. I like how you can see all of the code without having to flick through case structures. I guess the 'terminals on the side' makes it even more printable.
In reply to the style advice:
07-09-2020 02:35 PM
Just realised that I never uploaded the files for that updated neater version. Here they are saved for LabVIEW 2018.