Duplex ultrasound is the most effective and common way to detect an arteriovenous fistula in the legs or arms. In duplex ultrasound, sound waves are used to assess the speed of blood flow.