From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -89126: Trigger line requested could not be reserved because it is already in use.

I am trying to control the "PXI_Trig0" using the ctr0 of a DAQ card PXIe-6366.

 

The trigger will be connected to the input trigger of the scope PXIe-5122 and starting the output generation a FGEN PXI-5412.

 

The problem is that after several tries the system complains that the PXI_Trig0 is in use when I try to start the crt0 (Error -89126) when this happens the only solution is to turn off the rack and boot again, doing so it works for a while but after some time debugging things the error pops up again.

 

Is there any way of reseting all the triggers of the rack? 

Is there any way of visualize what triggers are reserved in each moment?

 

Thanks.

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

"Is there any way of reseting all the triggers of the rack?"

 

If the application doesn't properly clear the route before it closes, this can happen. Be sure your application undoes whatever routes it creates before it shuts down.

 

If this happens because an application is shut down unexpectedly, you can clear all outstanding routes on the PXI backplane by restarting the "PXI Resource Manager" service in the Windows Services Manager.  Just bear in mind that this should really only be done as a debugging step, because it undermines routes and reservations that may be expected by other running applications.  For production, update your application to clear the routes on exit.

0 Kudos
Message 2 of 2
(2,459 Views)