Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

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!

 

0 Kudos
Message 1 of 4
(3,563 Views)

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
RF Systems Engineer

Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it.
0 Kudos
Message 2 of 4
(3,482 Views)

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

0 Kudos
Message 3 of 4
(3,478 Views)

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
RF Systems Engineer

Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it.
0 Kudos
Message 4 of 4
(3,467 Views)