question

udaya avatar image
udaya asked sreerag.parameswaran answered

How to trigger stop capture based on frame count in STC

Is there any option to trigger the stop capture action in STC based on the packet count. Say I want to make STC learn that when my packet count reaches 100 (on a port) capture should be stopped. How can I do it . Please suggest GUI option and the API too. I referred CaptureFilterStopEvent but could not get top on it :(

Spirent TestCenter (STC)automationguicapture
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sreerag.parameswaran avatar image
sreerag.parameswaran answered

I am attaching a sample config with this logic.

capture stop.rar

Note :

1. Traffic should be sent at a very low rate, I am using 1FPS rate

2. Clear all counters before starting sequencer


capture stop.rar (78.5 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sreerag.parameswaran avatar image
sreerag.parameswaran answered udaya commented

I can't see any stop events in Capture, based on frame count. We might have to trigger 'stop capture' using command sequencer after verifying a result counter like port RX frame count.

1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

udaya avatar image udaya commented ·

Thanks. But I could NOT get how to get the frame count in sequencer. can you please suggest a screenshot or config

0 Likes 0 ·
udaya avatar image
udaya answered

Thanks Sukesh. But this is a capture buffer analysis- from buffer we can play around the frame numbers, it does not stops the capture. We would like to stop the capture based on the counts..

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ksukesh avatar image
ksukesh answered udaya commented

Hi Udaya,

This should help to achieve your requirement


1_100_packets.png (52.1 KiB)
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

udaya avatar image udaya commented ·

Can we do a polling on frames count while capturing packets in STC ports ? - this may be a solution to overcome the trigger action.

0 Likes 0 ·