LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can LabVIEW 8.0 & PDA target Windows CE 5.0 devices?

I have a device (RLC XScale-Mini) running Windows CE 5.0 connected to my desktop computer via USB. With ActiveSync connected and running I am able to see this device and its files via my desktop's windows explorer. I have LabVIEW 8.0 and the PDA toolkit installed on my desktop computer. LabVIEW and the PDA do not seem to be able to see this device. I have not been able to verify a connection using the options in the "Configure Pocket PC Devices" on the tools menu. I've also downloaded, from Microsoft, the "Emulator for Windows CE" but have not been successful in getting LabVIEW to see it also. Can LabVIEW target CE devices?
Message 1 of 5
(4,156 Views)

Hi Jim77215

Yes it can by using C files that can be called bay 'call funcrion library node'.

Write a C function and handle the parameters like calling a dll in windows.
You dont have to reference a specific dll. Just write C:\ in the path window
of the 'call funcrion library node' configuration menue. Add the function name
and the function parameters. Press OK.
Connect all the funcion inputs and outputs to the node and save the VI.

When you load the VI, LV will search for the VI. You can simply say ignore item
or abort it the file dialog apears.

Add the C file to your LV PDA project.
Add the C file to your build settings as a additional file.
Build your application. Thats it.

We have implemented DIO, A/D, CAN and other functions to our project this
way.

With kind regards

Martin Kunze

KDI Digital Instrumentation.com
e-mail: martin.kunze@digital-instrumentation.com
Tel: +49 (0)441 9490852
Message 2 of 5
(4,138 Views)
Hey Jim,

If you would like use your CE device with LabVIEW PDA 8.0 you should make sure it meets these requirements and continue just as you would with a PocketPC 2003 device.  So what does that mean? 
  1. Create a project
  2. Add a new PocketPC 2003 device to your project
  3. Create a new VI by right-clicking on the PocketPC device and selecting New PDA VI or New » VI
  4. Program a sample program, for example adding two numbers
  5. Click the Run button.  You should be prompted to save a few times and then it will attempt to deploy after a configuration box.
Does it automatically deploy your VI?  If not you have a couple of options.  Once you have a VI under the PocketPC device catagory you should be able to right-click and select build.  This build will be placed in the folder specified in the configuration window mentioned above.  Once you do that it will create an EXE that should be able to transfer over manually using ActiveSync or Windows Explorer and execute on your device. 

Repost if you have any questions or run into any problems.
Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 3 of 5
(4,123 Views)

Hi Jim

in some cases the platform manager can't connect to the device by USB.
Try to disable the network on your target and reboot your target.
That worked for me.

With kind regards

Martin Kunze

KDI Digital Instrumentation.com
e-mail: martin.kunze@digital-instrumentation.com
Tel: +49 (0)441 9490852
0 Kudos
Message 4 of 5
(4,116 Views)
So, is it required to have PDA Module for this to work?
0 Kudos
Message 5 of 5
(3,053 Views)