Hi, tonbo
It good to hear that pascal bindings is good.
I tested your sample programs.
Environment
Windows7, 32bit (It isn't 64bit.)
I also tested it under Windows and Linux 32-bit.
DAQmxxxxxDigitalU8, U16 aren't supported.
DAQmxReadDigitalU8 -> DAQmxReadDigitalU32
DAQmxWriteDigitalU8 -> DAQmxWriteDigitalU32
It depend on card digital port. Some cards have 32bit digital port, other one 8bit or 16bit or both 32bit and 8bit. You must use an appropriate function to operate digital port.
DAQmx_Val_RSE -> DAQmx_Val_Cfg_Default
It is strange, because by this constant you set, how you electrically connect your signal.
DAQmx_Val_Cfg_Default = DAQmx_Val_Diff.
Probably, you should check card documentation. There is a page from manual for my card about signal connection.
Nidaqmx.pas for windows is very effective.
I'd like to utilize by various situations from now on.
Of course it more effective, than Labview, especially when you need to modify source code.
Mostly, I checked examples under Linux 32bit and win32 with old bindings. And all examples are the same, but with newest bindings it needs correction in code by adding @.
I think it will be better to add notes on wiki for using it with win32? Thanks for checking.