12-22-2007 06:48 PM
12-24-2007 09:41 AM
12-26-2007 02:40 PM
Hi,
This issue is known and has been reported, there is however a work around; you can turn off run time error checking and the function will execute properly.
Options >> Build Options - Debugging Options >> Debugging Level = No run-time checking
I also believe that the correct method for implementing the function is as follows.
NIDAQmx_SetPhysChanCtrlAttribute (panelHandle, PANEL_AIPHYSICAL, NIDAQmx_IOCtrl_Limit_To_Device, 1); // Enables Limit
NIDAQmx_SetPhysChanCtrlAttribute (panelHandle, PANEL_AIPHYSICAL, NIDAQmx_IOCtrl_Limit_Device, "Dev1"); // Sets Limit
I hope this helps!!