05-06-2009 09:20 AM
Hi,
I would just like to ask how to configure the alarm for use in measuring temperature. Below is the alarm part I extracted from my program. The problem I encounter with this is that, the configuration for alarm seems to be wipe out when EZ Temp is executed. Thus, the alarm is not activated (I'm expecting 5V coming out of the alarm output). Can someone please pinpoint to me what did I miss here? I already checked the DAQ by using the front panel to execute alarm and it worked fine (5V was coming out of the ALARM1 when I press SCAN).
Thanks,
Pacquiao
05-06-2009 04:29 PM
05-07-2009 05:53 PM
Hey Pacquiao,
I think the image you tried to insert didn't work, as I don't see anything in your first post. I did take a look through your code, and I didn't really see anything that could be causing this behavior. I read through the 34970A DAQ manual, and there are a couple things that can reset an alarm. One is to adjust the configuration of your channel after the alarm is already set, but again in your program it doesn't look like that's what's happening. If you make another Conf Alarm call after the EZ Temp function just to get the status of the alarm, what do you see?