Have been trying to use the pl1000.dll library to access the PicoLog device through my own c# software so that i can access it's my measurements. However, when i try to use the pl1000OpenUnit(short handle) method it always returns the error code 12 ("PICO_INVALID_CONDITION_CHANNEL") therefore every device command i try to excute thereafter returns the error code 3 ("PICO_NOT_FOUND").
What do i need to change to initialize the device properly?
Here is a section of my code related to the pico device:
Thanks a lot its now picking up the device. I just have one more question for requesting data in the PicoLog the methods contain external classes such as PL1000_INPUTS and BLOCK_METHOD for example:
short pl1000GetSingle(
short handle,
PL1000_INPUTS channel,
short value
)
short pl1000Run(
short handle,
long no_of_values,
BLOCK_METHOD method
)
How do i go about importing these classes from the dll so they can be used in my program?
The PICO_STATUS class is defined by short numbers in the programmers guide but there are no references for these classes.