Filling pattern measurement using a 500 MHz digitizer at Soleil and APS storage rings