That's very helpful! Should I copy/paste that python file if I want to make my own? It seems like a lot of the functions in test-ui.py are pretty common, so it might be useful to have them in a separate module. I'm planning on adding a test for blending here, but I don't want to bloat the repository any more than necessary.
Also, on line 225, I get a syntax error at "pin[pin_name]", should that be "pin*s*[pin_name]"? -Rob On Thu, Nov 21, 2013 at 5:32 PM, Sebastian Kuzminsky <[email protected]>wrote: > On 11/21/13 15:25 , Robert Ellenberg wrote: > > Thanks! After learning a bit more about the HAL file syntax, it was an > easy > > setup. I also tried to automate a test run using linuxcncrsh, which was > > mostly successful. The only issue seems to be that I can't make the > > simulation home via "set home 0". It seems like it starts homing, but > > doesn't actually trigger any motion. For reference, this is the list of > > commands I'm sending via netcat: > > > > hello EMC test-script 1.1 > > set enable EMCTOO > > set estop off > > set machine on > > set mode manual > > set home 0 > > set home 1 > > set home 2 > > set mode auto > > set open ./blend_tests/square.ngc > > > > It seems to hang during homing, but doesn't sent a NAK back. Ami I > missing > > something obvious? > > Homing is configured in the .ini file, it's hard to say what's going on > without looking at that. > > I think there is a problem with linuxcncrsh and opening files - i think > the path is wrong. So beware of that. > > I used to write tests with linuxcncrsh quite a bit, but it was always > annoying and fragile. I've switched to scripting tests using the python > interface and I like it much better. For an example, see the > toolchanger/m61 test. > > > -- > Sebastian Kuzminsky > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up > now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers > ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
