It was her first visit to the institute since its researchers moved to a new building officially opened in March 2011.
Anne spoke with a team whose work includes studying the genetics of cattle, sheep and pigs, looking at ways to prevent and treat infectious diseases that affect the farming industry.
She was then shown the site for the National Avian Research Facility, currently under construction at the campus. The site represents the latest stage of major developments, which recently received £10 million backing from the Scottish Government.
Professor David Argyle, head of the Royal (Dick) School of Veterinary Studies, said: "We are delighted that the Princess Royal has visited the Easter Bush campus to meet with staff and students from our Farm Animal Practice and discuss the latest developments in farm animal medicine."