NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
ninjaphil
Posts: 24
0 Kudos

Real-Time Test

Please provide feedback, comments, and questions on the 
Reference Design for Real-Time Test
in this thread.
Member
Changi
Posts: 26
0 Kudos

Re: Real-Time Test

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.

 

Aditya Changavalli

LV 2009, RT 9.0

TS 4.2.1

Member
Ricksor
Posts: 8
0 Kudos

Re: Real-Time Test

Hello Aditya,

 

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

 

Ricardo

Systems Engineering

National Instruments

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page