03-18-2009 01:14 PM
03-19-2009 12:56 PM
Hi Eagle01,
This property is supported by the PXI-4461. There is no list of functions and properties supported by this device; however, in LabVIEW, you would be able to filter the property node properties by device (so that only those supported by device are selectable). With regard to getting this property to work, are you setting the behavior to "maintain existing value"?
03-19-2009 01:06 PM
The code is:
TaskHandle taskHandle;
DAQmxCreateTask ("MyTask", &taskHandle);
DAQmxCreateAOVoltageChan (taskHandle, device, "Pin0", 0,5, DAQmx_Val_Volts , NULL);
DAQmxCfgSampClkTiming (taskHandle, "", 5000, DAQmx_Val_Rising, DAQmx_Val_ContSamps ,50000);
DAQmxSetAOTermCfg (taskHandle,device,DAQmx_Val_PseudoDiff);
DAQmxSetAOIdleOutputBehavior(taskHandle, device, DAQmx_Val_MaintainExistingValue );
DAQmxWriteAnalogF64 (taskHandle, 10, false, 5, DAQmx_Val_GroupByChannel, writeArray, &sampsPerChanWritten, NULL);
Is there an example of this function being used that I could look at?
03-20-2009 12:08 PM