Hi all, I'm trying to design a solution for a SW upgrade for a customer of mine, but I would like to share some ideas with someone.
Environment: the customer actually has two different computers with several testing devices attached to each of them via a RS232-to-current-loop proprietary adapter. OK, they have been working for several years till now with DOS-based programs. Now they are looking for a SW upgrade mainly to switch to Windows environment (more user-friendly, more flexible in printing, with the possibility to connect computers to plant network and collect test data remotely... many good reasons to do this; a little aspect of fashion maybee too).
The problem is that the two sets of devices run at different speed, 'cause they have been developed during several years. We're not supposed do upgrade the hardware too.
I can see at least two ways for managing this situation.
Solution A: I can configure two serial ports in the computer with different speed and connect the existing equipments to the ports: with a little modification in the software I can take care of all the devices and manage all the stuff. This is probably the easiest and cheapest solution -and we surely will use it.
Solution B: rely on the ability of VISA to reconfigure the COM port without need to close and re-open it. I have tried this when answering to a question here on the DE (http://forums.ni.com/ni/board/message?board.id=180&message.id=14258&query.id=0#M14258) but now I'm wandering if this is completely safe if running for very long time. Consider that I will have to reconfigure the serial port every second (one second at 9600 baud, the next at 4800, then again 9600 and so on...) and that the program is supposed to run indefinitely: two months working without shutting down the computer are common in my customer's laboratory.
Now the question is: have some of you ever tried solution B? Are you aware of some reason for which this could not work in the conditions I described? Can someone share some tip with me on this particular problem?
Any help will be appreciated.
Thanks all