10-22-2011, 07:10 PM
You can have more than one device that are assigned an address by jumpers on the board.
I have both jumpers on so the device id is 0.
Still I have the exact same issues.
I can run the function once and then the same things happen.
It will run multiple commands:
but if I try to run the function again, same errors as above.
-jim
I have both jumpers on so the device id is 0.
Still I have the exact same issues.
I can run the function once and then the same things happen.
It will run multiple commands:
out
dll K8055D
,#OpenDevice CardAddress
,CloseDevice
,OutputAnalogChannel Channel Data
,WriteAllDigital Data
,ClearAllDigital
int cardAddress=OpenDevice(0)
if(cardAddress=-1) end "error"
WriteAllDigital(9)
1
WriteAllDigital(7)
1
WriteAllDigital(122)
1
WriteAllDigital(144)
5
CloseDevicebut if I try to run the function again, same errors as above.
-jim
