LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx "Terminal already configured" error when executing analog output with external encoder clock (error with PCIe-6323 but not with PCI-6229)

Hello,

 

I am having trouble replacing a PCI-6229 card by a PCIe-6323 card on a specific application.

 

The application uses 2 encoders (ctr0 and ctr1), with the "DevX/ai/SampleClock" for synchronisation.

Here is the encoder initialization vi :

Encoder InitializationEncoder Initialization

 

Then, the task that reads the encoder values is runing in the backgroung. No problem so far.

 

And sometimes, I have to execute an analog output task to command an actuator.

This task uses DevX/PFI8 as an external clock (PFI8 is also used by the encoder ctr0). This was working fine for 10 years with PCI-6229.

But now, I had to replace the PC and the card (new reference : PCIe-6323) because the PCI-6229 is not manufactured anymore.

 

Here is the code for the analog output :

Capture d'écran 2025-11-19 155709.png

 

Here is the error with the PCIe-6323 :

Error code : -200775

Explanation :

Error -200775 occurred at PilotConfGeneAnaTrigg.vi

Possible reason(s):

Terminal has already been configured with a different Minimum Pulse Width by another task.

Device: Dev4
Terminal: PFI3
Requested Value: No Filter
Configured Value: 5,120000000E-06

Task Name: _unnamedTask<11D>

 

I cannot use another PFI because all the digital outputs/inputs of the card are already used. I tried to use the PFI from another card (PCIe-6321 connected with an RTSI cable to PCIe-6323) but it does not work.

 

I tried to remove the filter from the encoder, but then I get an error "ressource already used by another task".

 

I could free PFIs from the card, and wire PFI8 to a free PFI to use as an external clock but that would mean rewire digital inputs/outputs to another card, and create bridges between PFI. My client is not in my country, so I would rather find another solution if anyone can help.

 

Thank you very much in advance 🙂

0 Kudos
Message 1 of 1
(57 Views)