Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

command prompt mode com

Why am I unable to set the serial com port settings (baud etc) via the command prompt when using a NI USB RS232 serial device?

The command prompt accepts the settings but does not change them.

I am using Windows 7 32 bit.

 

0 Kudos
Message 1 of 3
(4,628 Views)

Serial settings are typically only valid during a given session.  So when the command prompt is closed, the settings are reset.  What is it exactly that you are trying to do?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(4,625 Views)

I never actually closed the command prompt. The command prompt accepts the command but does not actually change the value from say 8 bit to 7 bit.

e.g: mode com5:9600,o,7,1

is accepted as a valid command but does not actually change the bits to 7; this can be varified by typing mode com5:

 

The command prompt mode com commands work for other USB to serial devices but not the NI ones; why is this?

 

 

 

0 Kudos
Message 3 of 3
(4,618 Views)