RDD
2008-05-11 20:40:05 UTC
I am using the USB-6501 24 Channel I/O device in an application to fire 20 individual solenoids (through solid state relays). The solenoids fire determined by the output of a machine vision pass / fail criteria. Prior to starting the process, I want to fire all 20 solenoids one at at time to verify operation as a diagnostic check.
I am attempting to use a "For Loop" which will cycle 20 times with a 1/2 second duration between solenoids. My problem is how to increment the port values of the USB-6501 after each iteration of the "For Loop". Any ideas would be appreciated.
Regards,
Doug Dunlap
I am attempting to use a "For Loop" which will cycle 20 times with a 1/2 second duration between solenoids. My problem is how to increment the port values of the USB-6501 after each iteration of the "For Loop". Any ideas would be appreciated.
Regards,
Doug Dunlap