LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Tutorial or examples for accessing USB-8451 in LabWindows/CVI through C

Solved!
Go to solution

Hello,

 

I can't seem to find any tutorials or C coding examples for accessing NI USB-8451 with the LabWindows compiler. I see the user manual containing several functions for finding the device, etc., but there is no example code for the order of the functions and how to use them. I was wondering if this existed anywhere or if anyone could help me get started simply accessing it and some of its DIO functions? Should the code for accessing the USB go in the C source code for .uir interface?

 

Thank you for any assistance.

0 Kudos
Message 1 of 3
(4,560 Views)
Solution
Accepted by topic author 0uBB

NI claims that there is an example for CVI (for XP in the folder C:\Program Files\National Instruments\CVIXX\samples\ni845x) - after downloading the driver Smiley Wink I don't have this hardware so I can't tell myself...

Message 2 of 3
(4,533 Views)

Hi! Thanks for your response. There were tutorials in the downloaded files. They appeared in a different folder for my Lenovo system, however, but it is likely due to the version I have:   C:\Program Files (x86)\National Instruments\CVI2013\samples\ni845x

 

 

THANKYOU!

0 Kudos
Message 3 of 3
(4,450 Views)