User manual

PCI-1680U/1682U User Manual 78
CE:
4.8.1 Interface
4.8.1.1 Send
Data is sent. Values of Baud Rate and timeout of the port can be set. Meanwhile, self
reception function will be realized.
Please refer to Send flow chart for function calling.
Before you begin, please enter the name of the port you have installed in combobox
of CAN Port, such as can0, can1, etc. The user can choose either Standard or Cus-
tom to set Baud Rate. If Standard is chosen, you should select the Baud Rate needs
to be set from the dropdown list of Baud Rate.If the user chooses Custom, you
should write values of BTR0 and BTR1 manually in the textbox. The default values of
both are 125k. Type value of timeout in Timeout filed (The default value is 3000 ms).
Selecting RTR check box can realize RTR function.Selecting Self Reception check
box can realize self reception function.On WDM platform, the user can select either
synchronous mode or asynchronous mode. While on CE platform, only synchronous
mode is supported.After configuring the above items, users can click "Start" button to
send data .
After clicking "Start" button, the name of the button will change into "Stop". At the
same time, results of sent frames will be shown in the textbox on the right. Users can
click "Stop" button to stop sending frames during the process, then the name of the
button will return to "Start" for the next send operation.
Example Name Description
VB.NE
T
C#.NET VC.NET eVC
Can Configure
This example shows how to configure
each item of CAN port.
Yes Yes Yes Yes
Can Send
This example shows how to send
data to CAN port.
Yes Yes Yes Yes
Can Receive
This example shows how to receive
data from CAN port.
Yes Yes Yes Yes
Can Event
This example shows how to receive/
send data from/to CAN port through
events in the way similar to serial port
communication.
Yes Yes Yes Yes