71
9.6.14
Using the API in LabVIEW
•
CAN_Main.vi
The main panel is a simple, easy-to-use example program which contains most of the
important functions available for use in the CAN API. Different functions can be tested
by changing the settings on the leftmost side, which are restricted to legal parameters
to prevent an error in operation. For example, the user can choose from Normal,
Listen Only, or Loopback mode to suit their purposes.
Once the channel is opened, the user can use either “Write Once” or the “Write
Repeatedly” button to send messages as configured in the fields. Messages received
will appear on the fields on the rightmost side, if they are available.
All subVI icons have been customized, with the terminals wired to be user-friendly,
increase readability and allow for cleanliness in larger projects, as seen in the block
diagram for the main panel.
Содержание USB-2CAN-M
Страница 1: ...Titan Electronics Inc Web www titan tw USB 2CAN M USB CAN SI M USER S MANUAL 2019 Edition ...
Страница 5: ...4 9 6 13 Using the API in Python 70 9 6 14 Using the API in LabVIEW 71 ...
Страница 36: ...35 Connected to XXX kbits s firmware version VXXXX and operation mode at the bottom of the main panel ...
Страница 43: ...42 ...
Страница 62: ...61 Sample Command CAN_Status 2508 Checks the status bits of device connected to channel with the handle 2508 ...
Страница 66: ...65 break Status CAN_Close Handle printf Test finish n return 0 ...