I found it useful to start capture os sample signal and quit then enough samples have been taken with the enable signal. Difference from today is sampling is stopped at negative flank of enable signal so that how many samples are taken may be controlled from Linuxcnc instead of command line which is useful then a series of commands should be record. Change is simple and an extra option for example "-q" to sampler_usr to enable this behaviour only then needed might be a good solution. If I make a patch would anyone else think it would be good to add this?
In the code variables are declared at beginning of block as usual while values are set a few lines further down even though value is available already then variable is declared. Usually then value is available then variable is declared I use to set it directly and declare variable as a constant with "const" attribute then it is not supposed to change. With warnings in case variable is used unitialized it is not very important although I like to use the "const" attribute then variable is not supposed to change, I do not intend to make any patch for this but want to ask about your oppinion? Regards Nicklas Karlsson _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
