01-10-2007 09:57 PM
Hello brian1. I am glad to hear that you are able to measure the temperature successfully.
In regards to the alarm, I don't think we have hashed out what type of alarm you are trying to control. Is it an external device that requires a high state voltage (i.e. 5 Volts) to be active and a low state voltage (i.e. 0 Volts) to be disabled? Or do you simply want to have an 'alarm' in software represented as an LED indicator in LabVIEW? If it is the former, this can be done easily by using a digital line on one of our data acquisition boards paired with our DAQmx driver to produce the high or low voltage needed. If it is the latter, setting up a comparison of the temperature to detect if the temperature is above 300 degrees and then setting the state of an boolean indicator in LabVIEW would be the way to go.
Either way, I would recommend first setting up the logic with a boolean indicator in LabVIEW to prove to yourself that all of your programming logic is correct. From here, you can then integrate an external alarm into your application if you desire.
Let us know if you have any further questions!
Brian F
Applications Engineer
National Instruments
01-14-2007 04:30 PM
I just want to know whether we can run the alarm using the windows media player or anyother type of sound which can be generated from the computer.
Thank you
Brian
01-15-2007
11:59 AM
- last edited on
04-04-2024
12:00 PM
by
Content Cleaner
Hello brian1.
You can output a sound using our Beep.vi. This VI outputs a tone of user specified frequency and length via the piezoelectric device onboard your computer. You can also use the Simulate Signal and Play Waveform Express VI’s which will generate a signal and output it on your speakers. I would try these first. You can output sounds via Windows Media Player, but this is a bit more complicated.
Have a great day!
Brian F
Applications Engineer
National Instruments
01-17-2007 12:16 PM
Hi Brian,
I can use any of the three options you gave me, I dont want to use anyother external hardware to generate the sound, I want to generate the sound from the computer when the alarm is enabled. so can you suggest me wih one of the good solutions.
Brian
01-18-2007 10:28 AM
01-18-2007 11:02 AM
Thank You,
I have created this proram for the alarm system for a furnace, here the temperature ramps up from the room temperature to 300 degrees celsius( alarm is disabled at that time), once the temperature reaches 300 degrees, soaking starts and the alarm is enabled and if the temperature is out of range of the given limits to the setpoint temperature the Alarm is ON, Now I also want to include sound with the signal, as you have said in the previous posts I tried those but I am not able to figure, can you please modify my circuit which includes the sound signal.
Also if possible can you tell me how to disable the alarm once the soak period is over , soak period varies for different profiles.
Thank you
Brian
01-18-2007 11:39 AM
Hi,
I got the alarm to work by keeping the beep.vi in a seperate loop. The only thing I am stuck up with is disabling the alarm after the soak period.
Thank you.
Brian.
01-19-2007 02:48 PM
01-25-2007 11:32 AM
01-28-2007 03:12 PM