Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Analog Output Idle Behavior on PXIe-6341

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

0 Kudos
Message 1 of 2
(1,675 Views)

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

CAUTION! New LabVIEW adopters -- it's too late for me, but you *can* save yourself. The new subscription policy for LabVIEW puts NI's hand in your wallet for the rest of your working life. Are you sure you're *that* dedicated to LabVIEW? (Summary of my reasons in this post, part of a voluminous thread of mostly complaints starting here).
0 Kudos
Message 2 of 2
(1,645 Views)