Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dll for Kit
#6
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:
Code:
Copy      Help
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
CloseDevice

but if I try to run the function again, same errors as above.

-jim


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)