1
General Mach Discussion / Re: Limit Switch Noise Triggering
« on: August 05, 2008, 01:09:23 PM »
Yes is does.
Acutally what I did was I looked into making a brain but it wasn't, at least as far as I could tell, robust enough to work with the parallel port the way I wanted it to. Also I found that I didn't like the way the brains worked in general, not intuitive for me. So what I did is I looked into writing a VB script for a macropump. I know vb, but nothing to do with interfacing with ports. But after a bunch of research I was able to write a script that can take a user defined number of samples of each pin and average them out to a percentage of whether it was active or not, and compare that to another user defined tollerance. I was able to get on the lower end, about 95% accuracy, so I set the tollerance for 80%. It works fine now thanks.
If you hadn't suggested it, I wouldn't have tried it and I learned a lot about interfacing on the side.
Acutally what I did was I looked into making a brain but it wasn't, at least as far as I could tell, robust enough to work with the parallel port the way I wanted it to. Also I found that I didn't like the way the brains worked in general, not intuitive for me. So what I did is I looked into writing a VB script for a macropump. I know vb, but nothing to do with interfacing with ports. But after a bunch of research I was able to write a script that can take a user defined number of samples of each pin and average them out to a percentage of whether it was active or not, and compare that to another user defined tollerance. I was able to get on the lower end, about 95% accuracy, so I set the tollerance for 80%. It works fine now thanks.
If you hadn't suggested it, I wouldn't have tried it and I learned a lot about interfacing on the side.