I have a mE5-MA-VCL Framegrabber and I am using the Front GPIO in differential mode, pull-up mode and not inverting signal (I set correctly the configuration on the cmd line).
I am sending a 0.1 Hz square wave (50 % duty cycle) on pins 13 and 14 by means of a function generator with amplitude +/- 5V. Moreover I have connected GPI GND (pin 15) with GND (pin 6) and pin 7 with pin 10 (5V power supply).
I have developed an Applet that simply detects the rising edge of this signal and then counts the edges providing me this value with a GetStatus block.
The problem is that everytime I get a rising edge this variable increases randomly of 1, 2 or 3 instead of 1. I tried to change the amplitude of the input signal but I get the same problem. I can assure the signal is clean (checked with an oscilloscope).
I was wondering if connecting directly pin 7 with pin 10 can give some trouble. Do you have any suggestions?