Hi EMC developers
A few years ago I've made this simple component for differential analog
output like my servodrives needed it.
I would be happy, if you would take it in the standard distribution. I
know it could simply be done with a mult2 component, but I think it is
more userfriendly with such a dedicated component.
Thanks for EMC2, you've done (and still do) a great job!
Regards
Marc
component diffout "Differential Output";
pin in float in;
pin out float out_pos "Positive Output, gain * in";
pin out float out_neg "Negative Output, -gain * in";
param r float gain = 1.0;
function _;
;;
MODULE_LICENSE("GPL");
FUNCTION(_) {
out_pos = gain * in;
out_neg = -gain * in;
}
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers