05-26-2022 03:35 PM
Hello,
I recently started learning LabVIEW (2020), so please bear with me.
I am setting up an experiment loop to collect data on compressor performance.
The setup is essentially: Heater > Compressor Intake > Compressor Exhaust > Flow Meter (all connected inline with 1" pipe).
I need to collect temp from thermocouples, 4-20mA readings from pressure transducers, and 4-20mA readings from Delta-P meters across the compressor.
I wrote the Temp Measuring VI which reads from 5 thermocouples and stores the data as TDMS files automatically.
There will be another VI that will collect all pressure readings and save them as TDMS automatically as well.
I am having trouble with the Heater PID control program (SSR PID Control). I have the NI 9485 SSR with a Schneider Electric 240VAC SSR. The idea is to have the NI SSR activate the SE SSR. In the VI, I started a queue that collects data (DAQ Assistant) from the 2 thermocouple channels in the heater box. The data is then dequeued and the two channel values (most recent) are averaged. This is the process variable for the PID block. The output of the PID is multiplied by the relay period, etc to get the SSR time on/off. Since there are two heater coils in the box, there are 2 SE SSRs on the NI SSR card. I used digital write (1Line 1Point) to write the data to the SSR channels. My questions are as follows:
How can I track % time on/off?
How do I make sure I don't overshoot and burn the heaters when using digital outputs? They heat up within seconds, I'm told.
I would also like to include a safety function where the SSRs will not go high if there is no flow detected. How do I get the live data from the pressure reading VI into the SSR VI?
I would like error dialogs to pop up and stop the program if there are any issues with heating or the thermocouples shorting. How do I use the error block to show my custom messages?
How could this be improved? This is my first time doing anything like this, so feedback is appreciated.
05-27-2022 01:43 AM
Hi rashidat,
@rashidat3131 wrote:
- How can I track % time on/off?
- How do I make sure I don't overshoot and burn the heaters when using digital outputs? They heat up within seconds, I'm told.
- I would also like to include a safety function where the SSRs will not go high if there is no flow detected. How do I get the live data from the pressure reading VI into the SSR VI?
- I would like error dialogs to pop up and stop the program if there are any issues with heating or the thermocouples shorting. How do I use the error block to show my custom messages?
- How could this be improved? This is my first time doing anything like this, so feedback is appreciated.