Good afternoon Lawrence,
Yes you can use an Alarm to operate a digital output and yes you can use dEX but it does depend on exactly what it is you want to do.
For example if you want to turn on the relay when the temperature exceeds 30 degC the the raw dataTaker code would look some thing like.
RA1S Alarm1(1TK(LM)>30)1DSO"Turn on digital 1"
in dEX you will define the thermocouple channel then click the event tab and add the alarm (Follow the dialog if you need a hand then feel free to ask me)
Note: In this example the digital input 1 will be true (1) when the alarm is true and false (0) when the alarm is false so you will need to take care with your logic.
So to start work out exactly what you want to do and is you relay normally open or normally closed. From this you can work out your logic sequence then work out your code.
Cheers,
Roger
Good afternoon Lawrence,
Yes you can use an Alarm to operate a digital output and yes you can use dEX but it does depend on exactly what it is you want to do.
For example if you want to turn on the relay when the temperature exceeds 30 degC the the raw dataTaker code would look some thing like.
RA1S Alarm1(1TK(LM)>30)1DSO"Turn on digital 1"
in dEX you will define the thermocouple channel then click the event tab and add the alarm (Follow the dialog if you need a hand then feel free to ask me)
Note: In this example the digital input 1 will be true (1) when the alarm is true and false (0) when the alarm is false so you will need to take care with your logic.
So to start work out exactly what you want to do and is you relay normally open or normally closed. From this you can work out your logic sequence then work out your code.
Cheers,
Roger