set trigger to record x-cycles of data at given cyclic intervals
I have a cyclic fatigue test (1hz) where I want to record 10 cycles at these specific cyclic intervals: the first 10 cycles (1-10), 5,000 cycles (5,000-5,010) then finally 10,000 cycles (10,000-10,010).
My initial thought was to create a simple counter which increments at each reversal of the cyclic load, then set a trigger based on integer values from the counter but I can't even get as far as to create a counter.
Is this possible without creating a sequence (which I'm not very good at).
This will be unattended so I'd like to arm the software and let it run, knowing it will capture the 3 sets of cyclic data.
Dear Lemmy,
it can only be done with sequencer.
I have made a simple sequence (attached) that saves files if the condition of the counter is fulfilled - in this case the specific cycles. For my counter I have used the Math Formula and acquisition time ("acqtime div 1"). So for every second or "cycle" it acquires a datafile with 0,5 seconds in length and saves it together with the cycle number. The second and third "IF" blocks check the current cycle and saves the file if the cycle number is correct. In your case it is 1-10 and 5000-5010, in my case it is 1-5 and 10-15 (so I don't have to wait 5000 seconds to see if it works correctly :) ). If you want the 10000-10010 cycles, you have to add another IF block. After 20 "cycles" it ends the sequence (first "IF" block) and goes into Analyze mode (in your case you input value 10010 into the first "IF" block)
Of course you will have to adapt the sequence with your specific cycle timespan, the measurement channels and datafile requirements (length, etc...)
Hopefully this helps.
Best regards,
Nejc Ucman
Customer Support Engineer
Attached files:
Thanks,
I've actually discovered a way to counter trigger without having to use the sequencer.
With the ecnt and edge functions I can create a Math formula: ecnt(edge('AO 1'>4.5)) where it counts every time the signal goes above 4.5.
"AO 1" is a simple function generator signal to test the waveform but can confirm it works with a valid analog signal as well.
From there I created a series of Start and Stop conditions based on the Math channel. In this example the start and stop cycles are 5-10, 15-20, 22-24. But these can be anything and I've confirmed this with my actual fatigue test.
Hopefully this will help others.