NI provides software examples that demonstrate the functionality of the NI-9313. Use these examples to learn about the product or accelerate your own application development.

The example experience can differ slightly across products and versions.

NI-DAQmx Examples

You can find examples for programming the NI-9313 with NI-DAQmx in the %ProgramFiles%\NI\LVAddons\nidaqmx\1\examples\DAQmx directory.

Table 4. NI-DAQmx NI-9313 Examples
Example name Description
Thermocouple – SW-Timed Input.vi Demonstrates how to continuously acquire thermocouple measurements using software timing and a DAQmx device.
Thermocouple – Continuous Input.vi Demonstrates how to continuously acquire temperature measurements using a DAQmx device.
Voltage – SW-Timed Input.vi Demonstrates how to acquire a voltage with a DAQmx device based off of software timing.
Voltage – Finite Input.vi Demonstrates how to acquire a single buffer of voltage measurements using a DAQmx device.
Voltage – Continuous Input.vi Demonstrates how to continuously acquire voltage measurement using a DAQmx device.

NI CompactRIO Examples

You can find examples for programming the NI-9313 with NI CompactRIO in the %ProgramFiles%\NI\LVAddons\crio\1\examples\CompactRIO\Module Specific directory.

Table 5. NI CompactRIO NI-9313 Examples
Example name Description
NI 9313 Getting Started.lvproj Demonstrates how to acquire and display thermocouple measurements using a NI-9313 module.

Browsing and Searching for Examples in NI Example Finder

Use NI Example Finder to browse and to search for examples.

You can use NI Example Finder to find examples for the following products.
  • LabVIEW
  • LabWindows/CVI
  • NI drivers accessible from LabVIEW
  • NI drivers accessible from LabWindows/CVI
  1. Launch LabVIEW or LabWindows/CVI.
  2. Open NI Example Finder.
    OptionDescription
    LabVIEW Select Help » Find Examples. from the menu bar.
    LabWindows/CVI Click Find Examples... from the Examples section of the Welcome Page.
    NI Example Finder launches.
  3. Optional: Configure NI Example Finder for LabWindows/CVI.
    1. Click Setup. Configure Example Finder opens.
    2. In Configure Example Finder, click Software, then select LabWindows/CVI, and click OK.
    NI Example Finder updates with all the examples for LabWindows/CVI.
  4. Search the example VIs for your product.
    OptionDescription
    Click the Browse tab. Choose Browse when you want to drill down through folders to find examples organized by task category.
    Tip Examples installed with NI drivers or third-party drivers are often found within the Hardware Input and Output folder. Examples installed with toolkits or modules are often found within the Toolkits and Modules folder.
    Click the Search tab. Choose Search when you want to find examples by searching for topics, products, or modules relevant to your application.
  5. To open an example, double-click the folder or the example.
    Tip You can modify an example VI to fit your application. You can also copy and paste from one or more examples into a VI that you create.