LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem on example soundrecord (PDA application)

I cannot build an PDA application on the soundrecord example. I have tried to include the soundrecord.c file in to the building list, it didn't work.
I got the error messages below. How could I fixed it?

Brian

Error : the file 'windows.h' cannot be opened
file9.c line 6 #include

Error : the file 'mmsystem.h' cannot be opened
file9.c line 7 #include

Error : the file 'ansi_prefix.Palm_OS.h' cannot be opened
mslGlobals.h line 27 #include

Error : the file 'cstdlib_Palm_OS' cannot be opened
cstdlib line 16 #include

Error : ';' expected
file9.c line 25 static HWAVEIN hwi = NULL;

Error : ';' expected
file9.c line 26 static HWAVEOUT hwo = NULL;

Error : ';' expected
file9.c line 28 static BYTE buf[kNumberOfBuffers][kSampleSize];

Error : ';' expected
file9.c line 29 static BYTE saveBuf[kSizeToSend];

Error : ';' expected
file9.c line 30 static BYTE completeBuf[kEntireSize];

Error : ';' expected
file9.c line 31 static DWORD cbAmountRead = 0;

Error : ';' expected
file9.c line 33 static WAVEHDR wh[kNumberOfBuffers];

Error : ';' expected
file9.c line 34 static WAVEH
0 Kudos
Message 1 of 3
(2,765 Views)
Hi,

The soundrecord.VI shipping example has been written for the PocketPC operating System (refer to VI properties>>Documentation) and not for Palm OS. The documentation states
"Demonstrates how you can use Call Library Function Nodes with the LabVIEW PDA Module to access the built-in sound features of the Pocket PC operating system."

Ankita
0 Kudos
Message 2 of 3
(2,754 Views)
That specific example is for illustrating how to call a dll, but there are sound VIs on the palette in LabVIEW PDA 7.1. They can be found under "Graphics & Sound". They are the same VIs that are available on Windows.

JRA
0 Kudos
Message 3 of 3
(2,745 Views)