05-29-2013 06:12 AM
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??
05-29-2013 06:37 AM - edited 05-29-2013 06:38 AM
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...!!
05-29-2013 06:43 AM
after "is greater than 30.4" node, is true i think, i want the relay works.
sorry for late questioning...
05-29-2013 07:13 AM
If you think its True... then I think it must be working perfectly fine..
anyways, can we see your code...!!
05-29-2013 07:18 AM
what do you means by code??i am just a rookie in labview,can't understand...sorry
05-29-2013 07:24 AM
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....!!
05-29-2013 08:01 AM
do u think it will works??
05-29-2013 08:14 AM
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...!!
05-29-2013 08:17 AM
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
05-29-2013 08:17 AM
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