Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Creating a CIN

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Complete the following general steps to create a CIN.

Note  LabVIEW must be installed on the computer you use to create the CIN.
  1. Describe in LabVIEW the data you want to pass to the CIN.
  2. Write and compile the code for the CIN using one of the supported programming languages.
  3. Run a utility that puts the compiled code into a format LabVIEW can use.
  4. Instruct LabVIEW to load the CIN.

If you run the VI after completing the preceding steps and the block diagram needs to execute the CIN, LabVIEW calls the CIN object code and passes any data wired to the CIN. If you save the VI after loading the code, LabVIEW saves the CIN object code along with the VI, so LabVIEW no longer needs the original code to execute the CIN. You can update your CIN object code with new versions at any time.

Complete the following specific steps to create a CIN.

  1. Set up input and output terminals for the CIN.
  2. Wire the inputs and outputs to the CIN.
  3. Create a .c file.
  4. Compile the CIN source code.
  5. Load the CIN object code.

Refer to the labview\examples\cins directory for examples of using CINs.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit