LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview PDA Bluetooth vitual serial port error 8

Hi All,
 
Have a irritating problem.
Have writen a PDA application with PDA module 7.1
Works fine on the old  HP2100 PDA's.
Have a client who now has a ACER n310 PDA.
At first we could get no connection at all. We kept getting error code 6 from the serial VI's . Then I discovered that the ACER has a different INGOING and OUTGOING virtual serial port numbers.
I have now changed the port number and now we try make a connection with the labview application the BLUETOOTH brower does open. We find the device we want to communicate with. This we select and as normal we have to enter the connection code as normal. Now we get error code 8 when we try communicate.
 
I can find very little information about these codes.
What does error 6, 7, 8 mean as far as the PDA virtual serial port is concerned?.
I believe 7 is timeout.
I found 1 post that says that error 8 means the connection was not established but not 100% sure this is correct.
 
The ACER n310 runs WM5 but with the WIDCOMM driver(As far as the technical specs say) so I do not believe it is the same problem with the DELL X50 / X51 which I believe have swtiched to a TEXAS INSTRUMENTS bluetooth driver.
 
According to the spec of the PDA the WIDCOMM driver is 1.7.1 .
LABVIEW PDA documentation says that a minimum of WIDCOMM 1.4 is required.
 
Using the Bluetooth manager of the PDA I can establish a connection to the device so I believe the problems lies with the interfacing between the labview application and the WIDCOMM driver.
 
Any ideas?
Would be very greatfull if anyone could lend some advice.
 
Jurgen
 
 
 
 
 
 
 
 
 
0 Kudos
Message 1 of 2
(3,086 Views)

Hi Jurgen

The errors returned for a LabVIEW PDA application are Windows CE error codes. You can fine a discription of these codes in the winerror.h header file for your target. This files is installed by default in the following location:

C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4

The following I found for the errors 6, 7 and 8.

//
// MessageId: ERROR_INVALID_HANDLE
//
// MessageText:
//
//  The handle is invalid.
//
#define ERROR_INVALID_HANDLE             6L

//
// MessageId: ERROR_ARENA_TRASHED
//
// MessageText:
//
//  The storage control blocks were destroyed.
//
#define ERROR_ARENA_TRASHED              7L

//
// MessageId: ERROR_NOT_ENOUGH_MEMORY
//
// MessageText:
//
//  Not enough storage is available to process this command.
//
#define ERROR_NOT_ENOUGH_MEMORY          8L    // dderror

Hope this helps

Thanks

Karsten

Message 2 of 2
(3,066 Views)