turbospeedskater wrote:I have had the same problem, but could fix it with some capacitors ( about 220nF) across the switches.
Depending on the cable length, the input resistance of your parallel port and the switching speed of you motor driver, you may have some spikes on the switch input lines caused by electromagnetic interference.
Additional you can use shielded cable between the switches and the parallel port.
best regards,
Martin.
Hi!
I include this code in HAL file.
net X.min flipflop.0.set
net X.min-out flipflop.0.out pyvcp.led-xmin
In this case ANY short impulse will switch on the flipflop and the LED in PYVCP will flush. Hence I can found the problem.
But none led flushed, but errors appead. May be there is some invulable interval withing limit procedure, but this interval
make break down the system? What poll time to prevent false contacts switching?
I think that problem is in poll switches function. This function is very sensitive (but why the flipflop not switched?)
I use MESA 7I37 card. This is slow time signal card. And may be the front edge if impulse has short interval and cannot to switch on the led, but can to break out the system?