Hi all,
I 've been trying to configure the DI/O of my USB 6009 with Delphi (I know NI does not support Delphi officially).
I can create a task , use the analog channels for input and output without any problem, but when it comes to digital, the system just hangs.
By playing with the error code I narrowed down the error to the create DOChan line. It is probably a syntax error, but I can't find it.
here is the line:
ret:= DaqMxCreateDOChan(hdl,'dev1/port0/line1','',Dqmx_ValChanforalllines);
I want to be able to open 1 line or a range of line, but this syntax does not seems to work
Can anybody help?
Best regards,
Cedric