09-11-2018 09:29 AM
@AleVS wrote:
thanks for the answer and yes, I already did the exam examples, actually, that's why I did this question because all of the solutions in the examples are state machines
Mind you, I wouldn't take those example solutions as a guide to how it's done. Last time I checked, the style was terrible. I hope they revised them, because as they where a few years ago, they shouldn't pass.
If you feel comfortable with a state machine, use a state machine.
09-12-2018 10:52 AM
wiebe@CARYA wrote:
@AleVS wrote:
thanks for the answer and yes, I already did the exam examples, actually, that's why I did this question because all of the solutions in the examples are state machines
Mind you, I wouldn't take those example solutions as a guide to how it's done. Last time I checked, the style was terrible. I hope they revised them, because as they where a few years ago, they shouldn't pass.
If you feel comfortable with a state machine, use a state machine.
Weibe, every one of those example solutions is a tweaked version of a real Examinees passing submission. They are not intended to show 40/40 and intentionally leave in find findable point deductions.
Discussions about those issues are some of the best threads on the certification board.
09-12-2018 12:00 PM
wiebe@CARYAIMHO, State Machines don't play nice with Event Structures. And when you do make something to support Even Structures, you'd probably don't need a State Machine anymore, just a parallel loop executing commands in parallel. That's what a Producer Consumer pattern is.
Check out the JKI State Machine. IMHO, I could not live without an Event loop in a State Machine, , handle UI events, and User Event based messaging.
mcduff
09-13-2018 02:37 AM
@JÞB wrote:
wiebe@CARYA wrote:
@AleVS wrote:
thanks for the answer and yes, I already did the exam examples, actually, that's why I did this question because all of the solutions in the examples are state machines
Mind you, I wouldn't take those example solutions as a guide to how it's done. Last time I checked, the style was terrible. I hope they revised them, because as they where a few years ago, they shouldn't pass.
If you feel comfortable with a state machine, use a state machine.
Weibe, every one of those example solutions is a tweaked version of a real Examinees passing submission. They are not intended to show 40/40 and intentionally leave in find findable point deductions.
Really? Those are real exams, and they passed?
I get that they don't show 40/40, but I'd grade 1/15 for style on most of them.
Not sure what would happen if e.g. math books showed example solutions that are 60% correct. To me, the example should preferably be at least "good".
09-13-2018 02:42 AM
@mcduff wrote:
wiebe@CARYAIMHO, State Machines don't play nice with Event Structures. And when you do make something to support Even Structures, you'd probably don't need a State Machine anymore, just a parallel loop executing commands in parallel. That's what a Producer Consumer pattern is.
Check out the JKI State Machine. IMHO, I could not live without an Event loop in a State Machine,
, handle UI events, and User Event based messaging.
I did. I checked out every OSFA OOTB (one-size-fits-all out-of-the-box) solution. Not for me. I want the solution to be the simplest solution that does the trick. Not the fastest solution in the short run. But I get others who have other opinions about frameworks, templates and such.
09-13-2018 12:25 PM
I don't think you can use the JKI state machine unless you build one from scratch? (I don't think it's included with a standard LabVIEW install.)
09-13-2018 01:09 PM
@billko wrote:
I don't think you can use the JKI state machine unless you build one from scratch? (I don't think it's included with a standard LabVIEW install.)
That is correct. But there is a blog post on JKI's site that tells you how to make a "lightweight" version of it during the exam.
09-13-2018 01:10 PM
@billko wrote:
I don't think you can use the JKI state machine unless you build one from scratch? (I don't think it's included with a standard LabVIEW install.)
It was just meant as an example of a State Machine and Event Structure that played well together. (See the earlier comments)
mcduff