08-27-2014 07:55 PM
Hi All,
I need some guidance adapting the example "Developing High-Speed Continuous Buffered Data Acquisition Applications with CompactRIO" for my hardware: cRIO-9114 and one C series 9220 AI module.
First off, what's a high level overview of what I will need to do? For example, I'm expecting something like this:
At this point, I should be able to run the example, correct?. So far, the example has not been changed in any way other than updating the inputs to expect different hardware...
Next, I would need to edit the VIs for my application.
Specifically, for my application, I need to:
1) Increase the inputs to eight (instead of four, as in the example);
2) Adjust coeficients (i.e. calibration, scaling);
3) Adjust data logging parameters (i.e. filenames, sampling rate, FIFO parameters, anything else?)
I think I can the VI re-programing IF I had the example already working with my hardware.
So again, I'm interested in a procdure I can follow when adapting example labview code for new hardware to be sure that I make all the necessary changes.
About my application: I'm setting up this cRIO system to monitor performance of a solar array. I am measuring voltage and current at four locations each, so I have 8 total +/- 5V analog inputs to my 9220 module (I'm using Verivolt brand voltage and current transducers to generate the input signals). I only need to save maybe one reading per minute. To clean noise in the signals, I need to sample maybe 100 readings per minute, and then average these before further processing. Then I will compute power (P=I*V) and efficiency (E=P_in/P_out), and save everything to a data file (.tdms).
Note: I worked through the tutorial "Getting Started with CompactRIO - Logging Data to Disk". My example procedure is based off of the steps I took to get this tutorial working with my hardware. I'm still sifting through other posts too.
Many Thanks!
09-02-2014 05:19 PM
Yes, your process as described seems appropriate. Have you tried this on an example? Have you run into any issues?
Regards,
Brandon V.
Applications Engineer
National Instruments