QUOTE(ninad.a @ 24 Jun, 2009 - 08:48 PM)

Can some one please tell if this is due to Windows XP or code? The python script is an integral part of the application.
CODE
port=serial.Serial(4) #installed usb-serial COM port is COM5
throws
SerialException : could not open port:(2,'CreateFile','The system cannot find the file specified')
The smartRFID reader connected through serial port- can save settings from last time i.e COM<1-256->
so when running script I had to first make power connection 1ce on-off, then connect it thru USB-serial and configure it properly
thru device manager and set port in
CODE
serial.Serial(<port no.>)
and then run middleware code so that access is available.
Note: all python mdules and USB-serial driver need be installed proprly
port no.=COM<no>-1
QUOTE(ninad.a @ 24 Jun, 2009 - 08:48 PM)

Can some one please tell if this is due to Windows XP or code? The python script is an integral part of the application.
CODE
port=serial.Serial(4) #installed usb-serial COM port is COM5
throws
SerialException : could not open port:(2,'CreateFile','The system cannot find the file specified')
The smartRFID reader connected through serial port- can save settings from last time i.e COM<1-256->
so when running script I had to first make power connection 1ce on-off, then connect it thru USB-serial and configure it properly
thru device manager and set port in
CODE
serial.Serial(<port no.>)
and then run middleware code so that access is available.
Note: all python mdules and USB-serial driver need be installed proprly
port no.=COM<no>-1