LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

Fantom issue - failure status code on getNXT()

Hello all,

I'm getting a strange status code, after calling getNXT() which is: 0xBFFF0015. I'm using Bluetooth.

It's not contemplated in the list of status codes of the Fantom documentation, but I found another source, on NI-VISA Programmer Reference Manual (http://www.ni.com/pdf/manuals/370132c.pdf) the meaning of the status code (page 375): "Timeout expired before operation completed."

The NXT is not connected with anything else, it is paired, Bluetooth is on. This problem doesn't happen all the time! Only sometimes. Does anyone have any clue of what it can be?

It has also happened once with sendDirectCommand().

I'm using the firmware 1.31 NBC/NXC enhanced.

Thanks a lot,
Ricardo
PS: Tomorrow I'll check if I get the same problems with USB and I will also try previous firmwares.

0 Kudos
Message 1 of 5
(6,063 Views)

Hello Ricardo,

 

What software are you using ? Which version ? What hardware are you using ?

 

Thank you.

 

Regards,

 

Yannick.

0 Kudos
Message 2 of 5
(6,057 Views)

Hey Yannick,

 

I'm using C++ API from Fantom drivers, latest version 1.1.3, on Windows OS. The hardware is the NXT 2.0 with the FW 1.31, with some changes for the NXC/NBC programming language.

 

Does this help?

 

Thanks,

Ricardo

0 Kudos
Message 3 of 5
(6,055 Views)

We found out that this problem happens when running the application as a service. As a simple program, I don't get the problem. It seems that the service is not allowing to use the bluetooth correctly. I don't know if it can be a problem of the drivers, or something else.

 

I'm not really into the implementation details, as I'm not the responsible one, but I new that I could get some tips here eventually.

 

Thanks again,

Ricardo

0 Kudos
Message 4 of 5
(6,044 Views)

Hi,

 

The problem is solved. It wasn't actually any fantom issue. Just an authorization left to set, in the Bluetooth device properties, to allow the "serial port communication" service.

 

Best regards,

Ricardo

0 Kudos
Message 5 of 5
(6,028 Views)