ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help needed for compactrio programming

Hello all,

 

I am very new to LabVIEW programming.I've an application where it's required to acquire temprature data at a perticular duration  from a heater.Depending upon the differance between current temp (process varible)and set temprature,heater  has to make ON and OFF in a controlled way to reach the set value.

 

I have made a loop where i am acquireing temp data at every 30 sec interval and depending upon temprature diff between set value and present value ,am genarting a pulse   (for eg. 22 sec on period and 8 sec off period).Inside that loop  I am driving the "True" value to DIO of CompactRIO  for ON period to make the  heater ON .Problem what I am facing is the heater is not gaetting ON at Exact 0 to 22 sec and not OFF from 22 sec to 30 sec.

 

i have tried to use  separate loop for acustion ,analysis and control but not able  to synchonise all.Heater is getting ON and OFF randomly.Please help.

 

thanks

tapasm

0 Kudos
Message 1 of 2
(2,564 Views)

Can you post your code?

 

 

It would make is so much easier to help.

Tim
GHSP
0 Kudos
Message 2 of 2
(2,555 Views)