LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Signal to controller to enable motor, periodic within periodic duty cycle

Hi Gerd,

 

I did get a case structure working based on 2 states (enable and dwell) using 1/4 sec wait and counting down itterations.  I've been busy elsewhere which is why I'm only now getting back here.

 

I'm having difficulty implementing a temperature limit which will stop the entire while loop. I tried doing this outside the case structure as well as inside the case structure.

 

One issue is that I have a 1D array of booleans after comparison with temp limit.  The stop loop condition does not accept the array.  A select function does not accept the array either.  Max Min function also outputs an array or waveform.  How do I check if any value within the array exceeds the limit and then send a single boolean out?  

 

I thought about your suggestion (like: IF counter>0 AND "temp limit not reached" THEN continue heating) but I don't see how to select the "End Test" state.  I can only select between 2 states with the select function which are now enable and dwell.  The temperature comparison should not be used as a thermostat but rather an interrupt.

 

IF counter>0 AND temp<limit THEN select enable

IF counter=0 AND temp<limit THEN select dwell

IF counter>0 AND temp>limit THEN ??? I can only select between 2 right?

 

vielen Dank und sonnige Grüsse

0 Kudos
Message 11 of 11
(160 Views)