NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Misha_
Posts: 2
0 Kudos

Wi-fi connection and -1073807194 error

Hello!

 

I use Etherwan SE6300 converter and Wi-fi router to communicate with my device (it has RS422 port).

Device works in slave mode, i.e. waits for request packet and then responds with data packet. 

My software polls device periodically to display it's state.

 

During several tens of seconds all is OK.

Then I get Visa Read Error when waiting for reply. At the same time I see that corresponding request reaches the device by blinking Tx LED.

After 5 read errors connection goes off and Visa Write also starts to fail with -1073807194 error.

Now Tx LED stops blinking.

 

Timeout is set to 3 seconds.

 

If I use cable instead of Wi-fi, all works good!

 

Connection can be recovered by closing and re-opening Visa session, but that's only a workaround.

What can be the reason of getting read errors?


Thank you!

 

Active Participant
REDS
Posts: 200
0 Kudos

Re: Wi-fi connection and -1073807194 error

Hi Misha,

 

Most likely the issue here is the wireless network being unstable. VISA might be picky on how many packets it can lose due to the network. Have you tried to increase your timeout? Can you put the devices closer to see if the signal strength improves the communication?

 

Regards,
Daniel REDS
Applications Engineer

Help us grow. If a post solves your question, mark it as The Solution.
>>>> Will work for Kudos >>>>
Member
Misha_
Posts: 2
0 Kudos

Re: Wi-fi connection and -1073807194 error

Yes, I've tried this as well as replacing wi-fi hotspot.

Active Participant
REDS
Posts: 200
0 Kudos

Re: Wi-fi connection and -1073807194 error

Are you able to communicate with this device using other software (always over wi fi)? I see that the SE6300 has several operation modes. Have you tried changing those parameters?

Regards,
Daniel REDS
Applications Engineer

Help us grow. If a post solves your question, mark it as The Solution.
>>>> Will work for Kudos >>>>
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page