I'm trying to develop a VB6 application using DAQmx C API at Windows 7.
I would like to set a digital port as follows,
line0~3 : digital output
line4~7 : digital input
You know, this was not a problem on Windows XP.
It's easy to set a digital port to multiple purposes using CWDAQ control.
But now, CWDAQ control at VB6 doesn't work in Windows 7 meaning that It cannot recognize the DAQ board, because NI stopped servicing for VB6.
So I'm trying to use DAQmx C API instead of CWDAQ control.
The C API example codes are treating for the whole line setting like only for output or only for input.
There's no examples about setting a port to multiple purposes.
I hope anyboby can help me to use a digital port as half for Input and remains for output.