DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger above threshold value

Hi

I'm trying to trigger a data save with multiple input channels when one of my input signals exceeds a given level for the first time.  The data save should only end when a stop button is activated - i.e. not re-start each time the threshold level is exceeded. I have been trying to do this by connecting a Curve Control Block to the start input of my Save block, which is set to retriggerabe, but my measurement then restarts each time the given level is exceeded.

Do I need to use a different method, or just change some parameters?

Thanks,

Helen
0 Kudos
Message 1 of 4
(3,562 Views)
Hello Helen,

I created a small example scheme to show start and stop triggering. Is that about what you need?
If not, just give me a hint what is missing.

Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany
0 Kudos
Message 2 of 4
(3,555 Views)
Hi Ingo,

yes that was quite useful. I managed to get the trigger to work, but also want to indicate when the data is being saved using a "lamp" as you have done in your example. I think I have made an error however as it does not seem to work.

I have attatched a sample file and hope you can help,

Helen
0 Kudos
Message 3 of 4
(3,545 Views)
Hello Helen,

I made some small modifications to your scheme.
Firstly, you have to connect the "Condition1" block to the systemtact as well. Otherwise it wont be stopped by the stoptrigger and the whole scheme can not be terminated with the button.
Secondly, the lamp indicator is a bit trcky to use. This is because it is not, as you might expect, simply a boolean indicator. Actually it can display more than 2 states - each state in a different color.
You have to edit the value range for the incoming data and chose which values are represented in which colors. (Dialog Signaldarstellung -> Darstellung -> Zustände) in the german version.
Set the indicator to display until 0 in black and until 1 in red and it will work correctly in this case.

Regards

Message Edited by IngoS on 11-18-2005 03:03 PM

Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany
0 Kudos
Message 4 of 4
(3,541 Views)