PCIe-6509 Examples
- Updated2024-05-31
- 2 minute(s) read
PCIe-6509 Examples
NI installs example code with your software or driver that demonstrates the functionality of PCIe-6509, helps you advance your knowledge, and provides building blocks for your own applications.
While the experience can differ slightly across products and versions, examples generally install with your NI product or driver and can be accessed from within NI software.
NI-DAQmx includes a collection of programming examples to help you get started developing an application. You can modify example code and save it in an application. You can use examples to develop a new application or add example code to an existing application.
The following NI-DAQmx example programs supported on the PCIe-6509 demonstrate common functions and operations:
| Example Name | Description |
|---|---|
| Digital - Change Detection | Demonstrates how to acquire a continuous amount of digital data based on the changes of an external signal across one or many lines on either the rising or falling edges. |
| Digital - SW-Timed Input | Demonstrates how to acquire the state of digital lines based on software timing. |
| Digital - SW-Timed Output | Demonstrates how to generate digital output data using software timing. |
Installed Example Locations
The installation location for NI-DAQmx example programs differs by programming language and development environment. Refer to the following table for information about example program installation locations.
| Software Application | Installed Example Locations | |
|---|---|---|
| LabVIEW | Using the NI Example Finder within LabVIEW to locate examples | |
| LabWindows/CVI | Users\Public\Documents\National Instruments\CVI\Samples\DAQmx | |
| SignalExpress | Program Files\National Instruments\SignalExpress\Examples\DAQmx | |
| ANSI C | Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C | |
| .NET | 4.0 | Users\Public\Documents\National Instruments\NI-DAQ\Examples\DotNET 4.0 |
| 4.5 | Users\Public\Documents\National Instruments\NI-DAQ\Examples\DotNET 4.5 | |
Browsing and Searching for Examples in NI Example Finder
Use NI Example Finder to browse and search for examples installed with LabVIEW, LabWindows/CVI, and NI drivers accessible from LabVIEW or LabWindows/CVI.
- Launch LabVIEW or LabWindows/CVI.
-
Open NI Example Finder.
- LabVIEW—Select from the menu bar.
- LabWindows/CVI—Click Find Examples... from the Examples section of the Welcome Page.
NI Example Finder launches. - Optional:
Configure NI Example Finder for LabWindows/CVI.
- Click Setup to open Configure Example Finder.
- In Configure Example Finder, click Software, then select LabWindows/CVI, and click OK.
NI Example Finder updates with all the examples for LabWindows/CVI. -
Search example VIs for your product.
Option Description 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. -
Double-click a folder or example to open.
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.