Hello, Servo,
Thanks for describing the type of hardware you are planning on using. From the requirements of the system, you should be able to get 300 Hz PID loops using the PXI-8145. This controller is spec'd to do a single PID loop at 6 kHz; obviously, as the channel number increases, the speed will decrease, but for the number of channels that you will have (20 analog inputs/20 analog outputs) the rate will still be above 300 Hz. The way I'm thinking you will do it is by using the PID or PID Advanced VI, and just connect the array of analog inputs, setpoints, and PID gains, and the VI will give you the array of outputs. I will definitively recommend you using the NI-DAQmx driver to do the acquisition because it is easy to use; however, this driver takes more hard disk space and memory than Traditional DAQ, so I will encourage you to get the PXI-8145 with the memory and CompactFlash upgrades (at least 64 or 128 RAM, and 64 or 128 CF).
So, from the system capabilities, you should be fine. However, it will be great if you could describe what are you trying to achieve. Are you planning on controlling some motors? If you describe a little bit your application, people from other deferments within NI or other users should be able to give some suggestions and determine if an 8145 will all the DAQ boards will be a good solution, or if a PXI-7358 will do the trick even better.
I hope this helps!
GValdes
Applications Engineering