03-29-2010 05:16 AM
Thank you for the reference design for Real Time Test.
It would be really good if some documentation is available on what to change where to produce a desired effect.
I mean, in the RTT reference example, if I want to use for a different DAQ application, what are the VIs I can retain for a new project and which ones need modification?
Or, if I need to make the whole project from scratch, then this should be explicitly mentioned. In that case, a sequence of steps to follow to make the RT project according to the design could be useful.
LV 2009, RT 9.0
04-13-2010 10:30 AM
Thank you for your feedback. I'll think of the best way to explain what VIs can be reused and what VIs are application specific.
On the mean time, from this RTT example the BaseLoop_PID(TS).vi is somewhat specific because it has a PID block and the DAQmx VIs in it. If you open this VI you will notice that there is a case called "Running Dynamic" This is the case that runs the PID based on the HW inputs. This would be a good place to place to replace that PID VI with anything you want to run and that depends on HW IO. An example could be another control system or a mathematical model.
If you are using a device that is DAQmx compatible then you can reuse the BaseIO Read and Write VIs. If you need other type of drivers, then you can use these VIs as template and just replace the DAQmx VIs with calls to the driver you need.
Hope this answers your question