wcglorioso
Programmer
Here is the description of the FGETS( ) Function
Returns a series of bytes from a file or a communication port opened with a low-level file function until it encounters a carriage return.
I am a little into serial communications programming. I know I have to configure the host to match the serial device.
I try to avoid using OCX (the Mscomm32.ocx) as much as possible. I want to stick to the VFP provided tools.
How do we specify the parameters such as baud rate, parity, data bit length, etc. in order for the host to comminicate properly with the serial device?
I know I have to wait for a carriage return to be sent before I could get a character but that could be coordinated with the device I think.
I am into a lot of RAD so I have no time to figure this out through experimentation.
I hope for anyone who can enlighten me on this.
Returns a series of bytes from a file or a communication port opened with a low-level file function until it encounters a carriage return.
I am a little into serial communications programming. I know I have to configure the host to match the serial device.
I try to avoid using OCX (the Mscomm32.ocx) as much as possible. I want to stick to the VFP provided tools.
How do we specify the parameters such as baud rate, parity, data bit length, etc. in order for the host to comminicate properly with the serial device?
I know I have to wait for a carriage return to be sent before I could get a character but that could be coordinated with the device I think.
I am into a lot of RAD so I have no time to figure this out through experimentation.
I hope for anyone who can enlighten me on this.