Erik,
While not exactly what you are looking for, you can use C snippets to
create brand new HAL components.  I created a couple myself, one to bring
16 inputs and 16 outputs to a set of external shift registers for expanded
IO capabilities, and one to generate blink codes for a status LED.

I also implemented a RUN/Resume button using only existing HAL components
in a similar way as above.  The one addition I made was to add flip-flops
to the HAL configuration so that each button press could only RUN or RESUME
depending on the state when the button was pressed.  Without the flip-flop,
I found that RESUME would often turn into RUN when the machine switched
away from PAUSED.

Let me know if you would like more information.
-Kip


On Wed, May 14, 2014 at 8:10 AM, Erik Friesen <[email protected]> wrote:

> I have found myself wishing I could insert c snippets somehow, to me it is
> would be way easier that manually figuring out the logic.  It gets very
> hard to follow three or more logic items that work together.  For example,
> it takes quite a few to make a run/resume switch.
>
>
> On Wed, May 14, 2014 at 3:07 AM, Viesturs Lācis <[email protected]
> >wrote:
>
> > 2014-05-14 0:57 GMT+03:00 Erik Friesen <[email protected]>:
> >
> > > Hmm.  Didn't know you could net more than one per line.
> > >
> >
> > You can do it in one line or break it up (for me breaking up is easier to
> > understand, when I need to go through HAL file few months later), for
> > example,
> > net run-file whatever.gpio.000
> > net run-file halui.mode.auto
> > net run-file halui.program.run
> >
> > Viesturs
> >
> >
> ------------------------------------------------------------------------------
> > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> > Instantly run your Selenium tests across 300+ browser/OS combos.
> > Get unparalleled scalability from the best Selenium testing platform
> > available
> > Simple to use. Nothing to install. Get started now for free."
> > http://p.sf.net/sfu/SauceLabs
> > _______________________________________________
> > Emc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform
> available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to