Hi Fran,
From what I understand, you are receiving error 89140 when running the example "PID control - Single Channel". The following KnowledgeBase might be helpful in solving your problem:
Error -89140 When Routing a Signal for a DAQmx Device In a PXI Real-Time SystemLet me know if this helps!
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments