AnsweredAssumed Answered

VRf-Serial_Port_Baud_Rate

Question asked by VRFuser on Mar 24, 1997
send q VRf-Serial_Port_Baud_Rate ww vrf pmfa@eci-esyst.com

from: Greg Goebel / HP-MXD
      gvg@lvld.hp.com / 970-679-3030 / FAX 970-679-5971
to:   VRf-Peter Fender
date: Monday, 24 March 1997 1645 MST

> To: VEE Reflector
> From: Peter Fender   pmfa@eci-esyst.com
> Subj: Serial Port Baud Rate
> Date: 24 Mar 1997
>
> Hello,
>
> I have a test setup where I will be communicating with two devices
> through one serial port and a manual A/B switch.
>
> One device operates at 19200 baud, and the second at 9600 baud.
>
> The first device sends a status string after it is turned on that
> I wish to read in VEE.
>
> How do I be sure the serial port is set to the right baud rate so that
> it will accept and buffer the data ?

Baud rates are set by performing a manual Direct I/O configuration for the
particular interface as part of the device configuration process.  It is
not possible to programmably change the baud rate.  However, you could have
two different configurations for the same interface and alternate between
different DIO objects (or use Multidevice Direct I/O).

> Do I need to transmit one character to the port so the baud rate is =
> correct ?

No.

> Does transmitting a charater via Direct I/O always set the baud rate
> defined for that instrument ?

No.

> Are there any other ways that VEE sets the baud rate for the port ?

No.

> Are there any other complications to this type of setup that someone has
> discovered before ? (It is not practical to add another serial port to the
> computer.)
>
> A second unrelated question: How does VEE know what time zone I am
> in ?   My Print Screens have EST (Eastern Standard Time) on the top with
> the timestamp, but I cannot find any entries in v.ini or win.ini that =
> would indicate the time zone.

This is set by an environment variable in AUTOEXEC.BAT:

   SET TZ=JST

> I am using VEE 3.12 for Windows, with Windows 3.1.
>
> Thanks in advance,   Peter
> Peter Fender
> Raytheon E-Systems, Inc.
> PO Box 12248
> St. Petersburg, FL  33733
> pmfa@eci-esyst.com

If you have more questions, let us know.

[<>] regards -- gvg

Outcomes