Create C Code
Creates C code using a wizard to implement the different steps of the script.
![]() |
Note You must have a C compiler and the NI Vision 8.2.1 Development Module or later installed to use the Create C Code function. |
- Implementation File Name—Name of the C file that implements the image processing algorithm you prototyped in the script.
- Main File Name—Name of the C file that implements a main function, which acquires an image from a source, then calls the image processing function created in the Implementation File.
Image Source
Select the source image from the following options:
- Image File—Creates the C code to open an image file from the hard drive.
- Acquisition from an NI Image Acquisition device—Creates the C code to acquire an image from a camera connected to an NI image acquisition device.
- Triggered Acquisition from an NI Image Acquisition device—Creates the C code to perform a triggered acquisition with an NI image acquisition device.
- Acquisition from an IEEE 1394 Camera—Creates the C code to acquire an image from an IEEE 1394 camera connected to an NI image acquisition device.
![]() |
Note Vision Assistant acquires images from interface img0. If you have more than one image acquisition device installed in the computer and want to use a different interface, you must modify the interface name within the created C Code. |