LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

relay program problem

i am doing a small project that detect the resistance of a thermistor and change it to temperature. When the temperature is higher than 30.4C the fan will switch on and when the temperature is lower than 30.4 C the fan will turn off.

i am using PCI 6221 DAQ card (68pin), CB-68LP board and i am using a relay to control on/off.

but i have some problem with programming.I can get the tmeperature now and i have used the test pabel to test the relay and it works well when i give out a signal to the relay, the fan turned on and when i give another signal to the relay, the fan turned off.

But when i run the program and the value is higher than 30.4C, the relay didn't work.

i want to ask what is the problem and what i need to do to fix it??

Sorry for saying that but i only have few hrs left..Can anyone help?? 

0 Kudos
Message 1 of 15
(2,791 Views)

What is the value are you getting after "Is greater than 34.5" node???

Is it a True or False??

 

I would say, you can share your code...!!


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 15
(2,784 Views)

after "is greater than 30.4" node, is true i think, i want the relay works.

sorry for late questioning...

0 Kudos
Message 3 of 15
(2,777 Views)

If you think its True... then I think it must be working perfectly fine..
anyways, can we see your code...!!


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 4 of 15
(2,765 Views)

what do you means by code??i am just a rookie in labview,can't understand...sorry

0 Kudos
Message 5 of 15
(2,763 Views)

By code I meant. your LabVIEW VI (file)...!!

The one that you're trying to run/execute to check the temperature, compare and control the fan....!!


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 6 of 15
(2,761 Views)

do u think it will works??

0 Kudos
Message 7 of 15
(2,755 Views)

Yeah I think it will work, unless the VI has a broken arrow...!!

But I'm not saying that it will work as you want it to work...!!

 

I cannot say it, because both, DAQ Assistant & DAQ Assistant2 are express VIs and I dont know how you've configured it...!!

 

relay program01.png


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 8 of 15
(2,743 Views)

daq assistant 2 is a input voltage and i make a formula to change into temperature

daq assistant is connected to a relay for digital output

0 Kudos
Message 9 of 15
(2,741 Views)

daq assistant 2 is a input voltage and i make a formula to change into temperature

daq assistant is connected to a relay for digital output

0 Kudos
Message 10 of 15
(2,740 Views)