The measurement of membrane potential and deltapH in cells, organelles, and vesicles.