FILE PHOTO:A NASA image shows the International Space Station as it flew over Madagascar, showing three of the five spacecraft docked to the station in this photo taken by the Expedition 47 Flight Engineer Tim Peake of ESA on April 6, 2016 and released on April 8, 2016. REUTERS/Tim Peake/ESA/NASA/Handout via Reuters

CAPE CANAVERAL, Fla. (Reuters) - A pair of astronauts will venture outside the International Space Station on Tuesday for an emergency spacewalk to replace a failed computer, one of two that control major U.S. systems aboard the orbiting outpost, NASA said on Sunday.

The primary device failed on Saturday, leaving the $100 billion orbiting laboratory to depend on a backup system to route commands to its solar power system, radiators, cooling loops and other equipment.

The station’s current five-member crew from the United States, Russia and France were never in any danger, the National Aeronautics and Space Administration said in a statement.

Station commander Peggy Whitson and flight engineer Jack Fischer, both with NASA, will partner for the spacewalk, which is expected to last two hours, the U.S. space agency said.

Earlier on Sunday, Whitson assembled and tested a spare electronics box to replace the failed device, which had been installed during a spacewalk on March 30, said NASA spokesman Dan Huot.

NASA’s last emergency spacewalk took place in December 2015 when two U.S. astronauts left the station to release the brakes on a robot arm’s mobile transporter.

The ISS, which is staffed by rotating crews of astronauts and cosmonauts, serves as a research laboratory for biology, life science, materials science and physics experiments, as well as astronomical observations and Earth remote sensing.

The station, owned and operated by 15 nations, flies about 250 miles (400 km) above Earth and orbits the planet about every 90 minutes. It has been continuously staffed since 2000.