The Communication APIs Library contains simple read and write VIs for I2C, SPI, and serial communication modes. This library is applicable for the USB-8452, USB-232, and corresponding driver application software.

  • The library provides separate VI for each supported communication mode (I2C, SPI, or serial). Each VI performs equivalent read and write functions.
  • Refer to the existing LabVIEW examples for additional information.
    • The 845x_I2C and 845x_SPI read and write VIs for NI-845x devices are based on the existing NI-845x LabVIEW example. Refer to Location of NI-845x Example for information about locating the installed example.
    • The VISA_Simple Serial VI is based on the LabVIEW example for serial communication. The LabVIEW example performs read and write operations. In LabVIEW, select Help » Find Examples and use the LabVIEW Example Finder to locate serial communcation examples.
Figure 41. Connection Block Diagram for I2C Communication


Figure 42. Connection Block Diagram for SPI Communication


Figure 43. Connection Block Diagram for Serial Communication