08-24-2010 09:22 AM
Your description of the switch is changing and contradictory. You previously said:
If I push the external switch the first time the LED sould be ON, if I push the external switch the second time the LED sould be OFF, if i push the external switch the third time the LED sould be ON etc
Now you are saying this:
If I push a external button (COM1, Pin2 and Pin3), at the "VISA Reads" output "read buffer" appears the Input (from Visa Write) in this example is it "Test" as long as I push the button. The LED is ON. If I push the button again, the LED is OFF untill I push the button again.
The mechanical Action of this external Button is comparable with Latch until released.
Now you're talking about "as long as I push the button", which means holding it down. Your previous explanation described a "Latch when released" mechanical action. Your new description does NOT describe a "Latch until released". I don't know what it describes since I've never heard of a physical switch that behaves the way you're describing it.
If we assume a regular push-button switch, then the following should work:
08-24-2010 12:23 PM
Looks like we have a language barrier.
So, for the sake of getting the behaviour of your LED right, is the attached example what you wanted?
Kas
08-25-2010 12:42 AM
Thanks a lot for your help.
The last example was the solution.
It looks so easy, but sometimes are the simplest things the most difficult.
zäpfle