For the second time in two days in Wisconsin, an armed high school student was shot during a confrontation with a police officer, the authorities said on Tuesday.

The latest incident occurred on Tuesday morning at Oshkosh West High School , about 50 miles southwest of Green Bay. A 16-year-old student armed with an “edged weapon” stabbed a school resource officer in his office just after 9 a.m., Chief Dean Smith of the Oshkosh Police Department said at a news conference.

The officer fired his 9-millimeter gun, striking the student once, Chief Smith said. The officer sent out a garbled call for help, and additional officers were on the scene two minutes later, he added. Both the student and the officer were transported to hospitals with non-life-threatening injuries.

The school, which has about 1,700 students, carried out its ALICE training, an acronym for alert, lockdown, inform, counter and evacuate, Superintendent Vickie L. Cartwright of the Oshkosh Area School District said at the news conference. Some students went to a nearby middle school to be reunited with their parents.