SerialPort auto find?
-
Hi, I work with RS232 printers and sometimes they have just a few changes in the serialport configuration, like one has Parity=Even and other has Parity=None, or sometimes in the baudrate. My questions are: 1) Does SerialPort has any builtin function that could read this configuration, without me changing it manually (I can change the port name manually of course) 2) If not, does anyone have ever implemented such feature? What would be a nice (and safe) approach for that? Thanks, Dirso
-
Hi, I work with RS232 printers and sometimes they have just a few changes in the serialport configuration, like one has Parity=Even and other has Parity=None, or sometimes in the baudrate. My questions are: 1) Does SerialPort has any builtin function that could read this configuration, without me changing it manually (I can change the port name manually of course) 2) If not, does anyone have ever implemented such feature? What would be a nice (and safe) approach for that? Thanks, Dirso
AFAIK rs232 is too legacy an interface to advertise its connection settings. Unless there's another app involved that sends the config changes to the printer and keeps a record i believe you're SOL.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall