PROGRAMMING
To interface with the serial ports on the Fastcom: G232/8-PCI-335 in a Windows application, your code will use
the standard Win32 COM API. Documentation pertaining to how to use the Win32 API is beyond the scope of
this document. For more information on using the API, refer to the "Using Communications Resources" in the
MSDN.
In addition to the Win32 API, you can also use several special Fastcom specific commands that allow you to
accomplish all of the options from the
as well as the custom structures used in them are defined in the fcapi.h header file.
Fastcom AsyncPCI-335 Serial Setting
Clock Generator Frequency
Rx Echo Cancel
Sampling Rate
Digital Output 1 & 2
Digital Input 1 & 2
Tx FIFO Trigger Level
Tx FIFO Trigger Level
Tx Write Size
Refer to the AsyncPCI335\examples directory on the Fastcom CD or in the downloaded zip file for some example
C programs that demonstrate how to use the Fastcom specific serial settings as well as give a general sense of
how to use the Win32 API.
Fastcom AsyncPCI-335 Serial Settings
DeviceIOControl dwIoControlCode
IOCTL_FASTCOM_SET_CLOCK
IOCTL_FASTCOM_SET_RXECHO
IOCTL_FCPORT_SET_SAMPLING
IOCTL_FCPORT_SET_DIGI_OUT
IOCTL_FCPORT_GET_DIGI_IN
IOCTL_FCPORT_SET_RXTX_TRIG
IOCTL_FCPORT_SET_RXTX_TRIG
IOCTL_FCPORT_SET_RXTX_TRIG
property page. These commands
®
Fastcom
: G232/8-PCI-335
11
Need help?
Do you have a question about the Fastcom G232 and is the answer not in the manual?