How do states use OBD II for emission inspections?

Many states connect a computer directly to a vehicle's OBD II system. The inspector can then read "faults." In some states, this type of inspection has replaced the tailpipe emission test.
See also:
Operation
Press the button in the center instrument panel
to switch this function on or off. The indicator
light in the button illuminates when the function
is on.
Depending on the optional equipment
...
Volvo XC90 Owners Manual
h1 {color: red;}
h2 {color: green;}
h3 {color: blue;}
h4 {color: #FF00FF;}
...
Wind blocker
The moonroof is equipped with a wind blocker that folds up when the moonroof
is open. ...
