Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How to Create an INF File for a Windows CE Target?

Primary Software: LabVIEW Modules>>PDA Module
Primary Software Version: 8.6
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I would like to use NI-VISA to create a custom driver for a third-party device that will be running on a PDA using Windows CE. How can I create the INF file that will allow me to cummunicate with my device using USB RAW?

Solution:
To create an INF file for a Windows CE target, you do not need to use the Driver Development Wizard in MAX. In fact, you do not have to create an INF file at all. You need to create the following registry key in your Windows CE device:

HKEY_LOCAL_MACHINE/Drivers/USB/LoadClients/xxxxx_yyyy/Default/Default/NiViUsbK

The x's and y's are VID and PID in base 10 instead of the usual base 16 representation.  

Under this key, add these values (omit the quotes):

"DLL" (REG_SZ) ==> "NiViUsbK.dll"
"Prefix" (REG_SZ) ==> "USB"



Related Links:
KnowledgeBase 2QKEQHPG:Measurement Hardware Driver Development Kit Frequently Asked Questions

Attachments:





Report Date: 03/20/2009
Last Updated: 04/14/2009
Document ID: 4VJG1OEQ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit