02-23-2012 11:39 AM
I am interested in a more detailed understanding between the differences of the LabVIEW code examples below:
Obviously, the code is controlling different hardware. However, the application is very similar - The front panel control turns the digital output (a fan or LED) ON or OFF. The vi runs until the STOP control is pressed.
This is why the coding block diagrams are the same.
The fan example states:
"When the Stop button is pressed and the while loop is exited, a False is output to the line, opening the SSR and turning off the fan for safety."
What is the purpose of the additional DAQ Assistant in the FAN example? How exactly does it provide added safety as not found in the LED example?
02-23-2012 03:08 PM
It plainly states that at the end, the fan is turned OFF. Don't do that and the fan could be left running, correct? Do you think it might be even a slight hazard with leaving the fan running?
02-24-2012 07:37 AM
Thank you for your response. I see the difference now.
In the FAN example when the vi stops, an error is sent to the fan turning it off (for safety).
However, in the LED example, when the vi stops it remains in the last state. It is possible this state is ON.
Though the code is similar the differences are very important - one may not want their digital output to remain in an ON state should the vi stop.
03-20-2012 06:39 PM
I am having trouble with recreating the DC fan example with the code provided. I am using a SSR Crydom CWD2410 relay. My fan is On and then turns OFF but does not want to turn On again. Should it be first Off and then On?
03-21-2012 01:35 PM
The datasheet of your relay says that the input current is 10mA @ 12 V, if you are using a Digital Output from the myDAQ device (assuming that you are using one), you will have a 5V output and this means that you will need a 26mA current to activate your relay. The maximum output current per line is 4mA.
So my recommendation will be to implement a power stage between the myDAQ device and the relay that you are trying to use.
I hope this information will help you in your project.