Did you consider using MSComm ActiveX control or some third party ActiveX instead.
>I have a C source code for reading data from com port.
>I want to change it to VFP code.
>Can anyone help me?
>I dont want to enter number for choose type of instrument. my instrument is Baskool and port is COM1 and Buad is 2400
>
>i need only section between if( scale_type==1) // Bascool
> and else // Scale
><snip>
--sb--