Python PYvisa RDK error

159 views
Skip to first unread message

Andrew Vernaza

unread,
Mar 19, 2015, 10:44:01 AM3/19/15
to quonset-microw...@googlegroups.com
I am have trouble consistently polling the RDK using python.

When polling the RDK with the attached code I get the following error:

VisaIOError: VI_ERROR_IO (-1073807298): Could not perform operation because of I/O error.

I have tried inserting a delay between captures, however after 7 captures no matter how large the delay the device seems to reset.

Could you please confirm this behavior?  If you can duplicate the behavior could you give me some guidance on this error?

Thanks
Andrew

RDK_test.py

Zach White

unread,
Mar 23, 2015, 4:44:10 PM3/23/15
to quonset-microw...@googlegroups.com
Hey Andrew,  

Sorry it has taken a few days to get back to you.  I have not had a chance to try and reproduce your issue yet, but I will be able to take a took tomorrow morning.  What operating system are you using?

--
Zach W. 

Andrew Vernaza

unread,
Mar 23, 2015, 8:06:25 PM3/23/15
to quonset-microw...@googlegroups.com
I am using windows 7. 

I realized the error in the code was in this line

query_times = ceil(num_of_samples/31)

Instead of 31 I needed to divide by 32 instead.

Thanks
Andrew
Reply all
Reply to author
Forward
0 new messages