grugh:
The code for the 6518 and 6519 will be largely the same. I don't believe there are any device-specific examples, mainly because the general DAQmx Digital I/O examples all apply to the 6518.
The best place to find them is in the LabVIEW Example Finder. In LabVIEW, go to Help»Find Examples. Inside the example finder, browse to Hardware Input and Output»DAQmx and look in the Digital Generation, or Digital Measurements folders.
You can find the pinouts for the 6518 in the manual, here.
Hope that helps!
Caleb Harris
National Instruments | Mechanical Engineer | http://www.ni.com/support