10-14-2008 10:51 PM
Hi Everyone,
I'm trying to make a window mobile (WM5) cellphone vibrate using Labview PDA. This functionality is not included in the Labview PDA vis, so this requires the calling of external code. The code is simple. From Microsoft's website:
hr = Vibrate (0, NULL, TRUE, INFINITE);
It also states as requirements:
Header: Declared in vibrate.h
Library: Use aygshell.lib
I followed the example from the Labview Help Example, 'Calling External Code - Inline C Method' which calls external code to query the OS version number. I replaced this code with the
Vibrate (0, NULL, TRUE, INFINITE);
and right clicked on the inline c node to add the header file, vibrate.h. I also included aygshell.lib as a souce file in the build specifications. When I build the app, I get a slew of errors that are not called in my simple code like
'type is missing a vi or c file'
'BFFCALLBACK is missing a vi or c file'
I've attached the project file. Can anyone help me ?
10-16-2008 10:37 AM
Hi Mykl,
I have a few questions. Were you able to get the standard shipping example that gets the OS version number working? Have you tried any other function besides the vibrate one? If so, have you been able to get those working?
I think the best starting point here is to see if you can get the shipping example working as we know for sure that it should work. Let me know if it did and we'll move on from there.
Also, in the files you attached, you did not attach the actual VI. There is a project file but no VI's.