Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

error -1073807339

Hello,

Trying to read data from GPS sensor,I get error -1073807339 at VISA READ.Timeout expired before operation completed.
how can I solve it ? 

 

0 Kudos
Message 1 of 10
(10,381 Views)

Hello merie15,

 

A BFFF0015 error ( or error -1073807339) is a timeout error (Of course). The first thing you should do is to verify you can communicate with the device outside of LabVIEW. You can use NI MAX to help you with this. . The purpose of this is to make sure you've got your communication parameters set up properly and your cable is OK. Perhaps you have the documentation on the device to see the pinout of the cable wheter if  is USB or Serial? Depending on this we can perform a loopback test (Serial) to send commands and validate that the communication is performed correctly. It should tell you what termination characters, if any, need to be used when you send a command to the device, and what termination characters, if any, are sent by the device to indicate the end of a response. Depending on this it could also mean that the amount of data you are sending and the amount of data that the VI is supposed to read is slightly higher. Therefore a timeout occurs due to the fact that it is missing data. Does this make sense? Anyway, Check this knowledge based document which explain more in detail this topic.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019L3mSAE&l=en-US

 

Regards 

SR

AE CR

"everything is achieveable through technology'
0 Kudos
Message 2 of 10
(10,357 Views)

Hello IronBrotha,

 

Thank you for your help.

I have another problem now :the data frame acquired from the GPS sensor is incorrect.

How can i correct it ? Thank you .

 

0 Kudos
Message 3 of 10
(10,336 Views)

Hello merie15,

 

I hope you are haing a good day. 

Ok I see the that the GPS output seems corrupted. Since this is a different issue, I would reccomend to start a new thread, with perhaps a more detailed information on your code and the output you expect to receive.

 This because, we can have a better control on different issues and not mixed topics in one post, and also to give it better visibility and easier access to the community, as you know forums are a helpful way to get information from the whole community of NI users, given the fact that probably and possible someone has encountered this type of issues before. As for the output of the application you are running, have you tried debugging it? see the outputs of the functions and use probes to the see the actual information on each line. Does the connection between the GPS device appears to be correct? Can you access it trough Windows Device Manager? I am guessing this is a third party device, there I would corroborate that the device is communicating correctly using the Windows Device Manager.

 

Kind regards

Sigi D. 

Ironbrotha

AE CR

"everything is achieveable through technology'
0 Kudos
Message 4 of 10
(10,317 Views)

Hello IronBrotha, 

 

Thank you for your reply.It works perfectly now.

It was a configuration issue.

Thank you so much for your help.

 

0 Kudos
Message 5 of 10
(10,289 Views)

I am more than glad to hear that.

 

have a  good day 

 

IronBrotha 

Application Engineer

AE CR

"everything is achieveable through technology'
0 Kudos
Message 6 of 10
(10,287 Views)

hi guys,I have a problem look like you,here:Error -1073807339. Timeout expired before operation completed,I try do anything,but no results,I hope u help me,i have no time,thanks you so much

0 Kudos
Message 7 of 10
(10,196 Views)

Untitled.png

0 Kudos
Message 8 of 10
(10,189 Views)

Hello!

 

Please review the following document:

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019L3mSAE&l=en-US

 

Warm Regards, 

Sigi D.

"everything is achieveable through technology'
0 Kudos
Message 9 of 10
(10,165 Views)

Hello thangle,

 

 

For me, it was a wrong settings so try to verify the Baud Rate, Data Bits, Parity, Stop Bits, and Flow Control using VISA configure Serial Port VI .Also ,make sure that you have installed the NI serial driver. 

 

this link can help you :

https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/vi-lib/instr/visa-llb/visa-configure-seria...

 

 

 

0 Kudos
Message 10 of 10
(10,146 Views)