07-25-2005 03:20 PM
07-27-2005 05:27 PM - edited 07-27-2005 05:27 PM
Hi Petar-
I spoke with the engineer you reached over the phone and seemed to believe that you might be using the incorrect version of NI-DAQmx Base. With PocketPC you will need to use NI-DAQmx Base for PocketPC 2003. After uninstalling your current version and installing this new version you will need to also install the driver software to your PDA. This can be accomplished when connected to ActiveSync by choosing the option to install the driver to PDA in the Start>>Programs>>National Instruments>>NI-DAQmx Base folder.
You will need to create the task to be used in the NI-DAQmx Configuration Utility in Windows. First open the utility and click "Create New Task." Make sure you give it a descriptive name and choose the appropriate device type as well as selecting an analog output channel type. Click "Save and Exit" to save your choices.
You will then need to open LabVIEW and target your PocketPC 2003 device on the splash screen. Make sure that you do not open LabVIEW before saving the Task in the configuration utility or the task will not be referenced properly.
Finally, extract the zip file in this KB and open the "PDA Single Point AO.vi" and click "Run" in LabVIEW with the target set to the PDA. After a short time to build and deploy the app you should see the front panel appear on your PDA. I tested with a DAQCard-6024E with good results. Note with this example that you will need to click the "RUN" button each time you want to update the output voltage.
EDIT: I forgot to mention- if you receive a prompt for "ESeries.dll" you might have to browse to "C:\Program Files\National Instruments\LabVIEW 7.1\PDA\utilites\LVPocketPCProject\lib\DAQmxbase\ESeries.dll" to find the necessary file.
Hopefully this helps-
Message Edited by Tom W. on 07-27-2005 05:30 PM