Hey all,
I am using NI's DAQmx and trying to figure out a way to change what the instrument functions interact with. For example:
DAQmxCreateAIVoltageChan(), creates a voltage measurement channel and adds it to a task. Normally what happens is I call this function in my source file and provide the inputs. The function then does its magic with the DAQ, I have no idea what since I haven't figured out how to check the source of the library. The DAQ then probably returns something to the function and the function returns success.
What I want to do is intercept the stage when the function and DAQ interacts. Its easy to cut off the connection by simply taking the DAQ off the hardware but how would I be able to redirect this connection? Would this require writing a driver? Or just another lib file?
thanks
I am using NI's DAQmx and trying to figure out a way to change what the instrument functions interact with. For example:
DAQmxCreateAIVoltageChan(), creates a voltage measurement channel and adds it to a task. Normally what happens is I call this function in my source file and provide the inputs. The function then does its magic with the DAQ, I have no idea what since I haven't figured out how to check the source of the library. The DAQ then probably returns something to the function and the function returns success.
What I want to do is intercept the stage when the function and DAQ interacts. Its easy to cut off the connection by simply taking the DAQ off the hardware but how would I be able to redirect this connection? Would this require writing a driver? Or just another lib file?
thanks