469,936 Members | 2,422 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,936 developers. It's quick & easy.

IO error

Hi,
I am trying to get the data out of an instrument through its GPIB port
and using python code. I am able to perfectly control the operation of
the instrument with my code. But I have not figured out a way as yet
to get the data of the GPIB.
I thin that it will go through 2 steps:
1) instrument transfers data to its output buffer
2) Read from the output buffer.

When i try read() command it gives me an IO timeout error.

Any suggestions?

Thanx in advance.
Oct 18 '08 #1
3 1777
In message
<b9**********************************@k16g2000hsf. googlegroups.com>, Rajan
Arora wrote:
I am trying to get the data out of an instrument through its GPIB port...

When i try read() command it gives me an IO timeout error.
What's the device name, device driver module name, do you have any sample or
diagnostic code you can run to prove that your PC is communicating properly
with the device?
Oct 18 '08 #2
On Oct 18, 5:52*pm, Lawrence D'Oliveiro <l...@geek-
central.gen.new_zealandwrote:
In message
<b9bb93e3-7462-422c-84ad-f56d45edf...@k16g2000hsf.googlegroups.com>, Rajan

Arora wrote:
I am trying to get the data out of an instrument through its GPIB port....
When i try read() command it gives me an IO timeout error.

What's the device name, device driver module name, do you have any sampleor
diagnostic code you can run to prove that your PC is communicating properly
with the device?
Hi..
I am trying to automate an HP 4156. I am getting some of the data that
i need, but when i specify the whole data set i want it to read, it
takes some time and gives a IO Timeout error.
Will making IO timeout=0 help?

Oct 19 '08 #3
In message
<2b**********************************@k30g2000hse. googlegroups.com>, Rajan
Arora wrote:
On Oct 18, 5:52*pm, Lawrence D'Oliveiro <l...@geek-
central.gen.new_zealandwrote:
>In message
<b9bb93e3-7462-422c-84ad-f56d45edf...@k16g2000hsf.googlegroups.com>,
Rajan

Arora wrote:
I am trying to get the data out of an instrument through its GPIB
port...
When i try read() command it gives me an IO timeout error.

What's the device name, device driver module name, do you have any sample
or diagnostic code you can run to prove that your PC is communicating
properly with the device?

I am trying to automate an HP 4156. I am getting some of the data that
i need, but when i specify the whole data set i want it to read, it
takes some time and gives a IO Timeout error.
Will making IO timeout=0 help?
What's the device name as far as the OS is concerned that you are specifying
to open the device, device driver module name, do you have any sample or
diagnostic code you can run to prove that your PC is communicating properly
with the device?

Oct 19 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Gregory | last post: by
7 posts views Thread by p | last post: by
3 posts views Thread by Manuel | last post: by
1 post views Thread by developer | last post: by
reply views Thread by mchuc7719 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.