03-05-2020 03:09 PM
Hello,
I was asked if we could set the analog output to high impedance on a PXIe-6341 when not generating output.
I added the code to the ContGenVoltWfm-IntClk example app,
int32 mode = DAQmx_Val_HighImpedance;
DAQmxErrChk (DAQmxSetAOIdleOutputBehavior(taskHandle, channel, mode) );
but got this error:
DAQmx Error: Specified property is not supported by the device or is not applicable to the task.
Property: DAQmx_AO_IdleOutputBehavior
Channel Name: PXI1Slot2/ao0
Is this property supported on the PXIe-6341, or another way to enable this ?
I'm running this on Fedora 29, Linux RHEL-8 based.
Regards,
Ken
03-05-2020 04:50 PM
I tested to make sure using LabVIEW on Windows with a PCIe-6341 and got the same error. In LabVIEW, the property node I used to set that behavior gives "filtering" options. When I told it to show me only the properties that my 6341 actually supported, the idle behavior property was no longer available to select.
Curious, I did a little further searching and found this possible workaround, but I haven't tested to confirm.
-Kevin P