Goal: driver development in c, using VS2005.
Equipment: MAX and simulated hardware:
NI cDAQ-9188
NI 9425
NI 9476
Hello everybody,
Due to several reasons I cannot access real hardware. So I try to use MAX with a simulated hardware for developing a driver for NI hardware.
MAX is working fine with test panels for the simulated hardware.
Simple I/O is running also well with my driver. As far as “well” means that there is no error message starting a task, creating a channel and doing some read/write action.
I got the feeling that I cannot really access the simulated hardware with my driver: If I activate a MAX test panel I cannot start my driver because of a “device is used” error. And vice versa if the driver is active I cannot start a MAX test panel for the same reason.
Then I tried to retrieve the name of the MAX task using “DAQmxGetSysTasks”.
This also works fine. But only if no MAX-task is active.
I could not get to verify that a write to a digital line is really written to the hardware. And also I cannot change a digital Iine in MAX and read it back to see if my driver works right.
Does someone have an idea how to monitor output and perhaps change input values for reading it back via driver?
Thank you.
Norbert