Acutally WindowsCE is not that bad. Unlike Linux (if you don't use LinuxRT, which has its own problems) it is a hard real time system:
And how long did it take micky soft to get real time working? If I recall correctly version 3.0 or more, it took them years to get this. Small companies that bet the farm on WinCE because they didn't know what they were doing and trusted the microsoft brand lost big.
You state the point but fail to understand it. The point is they did get it, it works and has done so for a very long time.
I suspect those small companies than went under were just shitty companies. I worked for one such company who bet the farm on VxWorks and they went under. Was that Microsoft's fault? No, it was the dumbasses that ran it and built a product nobody wanted to buy, more than one in fact.
Windows CE is nothing like desktop Windows. It's called that because the marketing dweebs at Microsoft *cough* Bill Gates called all their operating systems, after DOS, Windows but that doesn't mean they were different variants of the same code base. Post DOS, Microsoft had 3 separate operating system kernels. Windows 95/98/Me, Windows NT/2000 and Windows CE. Windows 9X/Me and Windows NT/2000 shared much the same Win32 user level API but ran on different kernels requiring different device drivers. I wrote drivers for both, they were entirely different APIs. Windows CE had its own user level API which was entirely different code but followed similar conventions as this was supposed to make skills transferable.
The Win9X platform was dropped and the NT platform became the sole PC OS kernel with Windows XP. Windows CE remains its own OS. I don't know how much of the code base is shared between the NT and CE platforms but probably very little if any.
Stop talking about Windows CE like it has anything to do with Windows, the desktop OS. It is wrong. Windows CE is mature and highly reliable and has a crapload of device support out of the box. They don't make a lot of these kind of devices so having most of the code already written and vetted saves a huge amount of time and expense. It is an entirely reasonable choice for this type of application. It would have to be on my short list if I were in charge of this project.
What other viable options are there without making this single, low volume lab multimeter a life's work? If you've got 5 months to turn this project and only a few people to do it with what are your choices? A lot of factors weigh into such a decision. Licensing, upfront costs, availability of talent, timeline, capital budget, ISO certifications etc.
What would be really stupid is using Linux when none of your other products do and there are no in house skills or experience with it and there is no definite answer as to what is supported or how well. I'm sure Agilent recycled a lot of code (like for USB and network) from existing products. This is lab grade kit. You can't just put any old shit in there and hope for the best. People are using this gear to power billions of dollars worth of investments. People use this stuff to design satellites, power plants, jumbo jets and submarines. You sell a turd and you're finished. Failure is not an option and I'm sure that all weighed in their decision process.
They knew what they were doing.