cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

trigger and gate

Howdy folks,

I was reading the questions posted regarding the Trigger and Gate vi and it seems that others were having the same problem but there were no answers that addressed the issue causing the problem.

I have a waveform that, when generated rapidly, the trigger and gate works like a charm.  When I have a wave that is fat and takes longer than 1 second to complete, it seems that the triger and gate keeps outputting data until it completes since it is part of a subvi that dies not dictate the pace.  I was hoping to have that data wait until the entire waveform is collected and then have that output as one chunk.  Is this possible?  I tried using basic level trigger and gate but this proved futile since it kept the old gate in memory when I tried to index an array i built.

Please bestow some of your labview prowess on this soul in need,

KSM
0 kudos
Mensaje 1 de 6
5.481 Vistas

Hey, I want to make sure I understand.  Ideally, do you want to record data from something and then pass the entire data set through the gate / trigger VI?  If so, why don't you write the data to a file and read out the entire file at the end of a test?

Let me know if this helps!

Thanks!

Dan

Daniel Eaton
National Instruments
Systems Engineering
Embedded and Industrial Control
0 kudos
Mensaje 2 de 6
5.459 Vistas
Hi Dan,

what I actually want it to do is have the trigger and gate function capture all the data from trigger to gate and then output the data as a whole.  I am capturing waveforms but when the waveforms span over a long time, the triggering and gating still happens, only it gives multiple outputs due to timing of the program.  So ideally i would want to save the data to from trigger to gate and then grab that as one chunk.

Please let me know if this clarifies my question,
Khalid
0 kudos
Mensaje 3 de 6
5.452 Vistas
So, why don't you try something like this?  Then read the file out later.
 
Let me know if this helps!
 
Dan
Daniel Eaton
National Instruments
Systems Engineering
Embedded and Industrial Control
Mensaje 4 de 6
5.430 Vistas
I think that this is probably the cleanest and best way to do it.  I was trying to use arrays to save data, etc. but this seems to be so much better.  I have never used it before so it didnt ring up in my limited registry upstairs.

Thanks Dan!

Khalid
0 kudos
Mensaje 5 de 6
5.415 Vistas
LOL.  Let me know how it goes!
Daniel Eaton
National Instruments
Systems Engineering
Embedded and Industrial Control
0 kudos
Mensaje 6 de 6
5.403 Vistas