Problem in using EDigitalOut
Posted 17 July 2012 - 12:01 AM
Posted 17 July 2012 - 06:21 AM
Posted 17 July 2012 - 11:07 PM
Posted 23 July 2012 - 01:35 PM
I am using C#.
To set state:
_channel=5;//(Any channel number)
lj.LabJack.EDigitalOut(ref _labJackId, DemoMode, _channel, 1, _value);
After Calling this method then to read the state:
lj.LabJack.EDigitalIn(ref _labJackId, DemoMode, portNumber, -1, ref state);
It gives error : 66 (Could not claim LabJack).
That error message is caused when the driver isn't able to claim the mutex associated with the device. Typically, this means that another thread or program is in the middle of calling a function with the LabJack and that one has not yet finished. Are those calls inside the same thread?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users