IO error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rajan Arora

    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.
  • Lawrence D'Oliveiro

    #2
    Re: IO error

    In message
    <b9bb93e3-7462-422c-84ad-f56d45edf3d2@k1 6g2000hsf.googl egroups.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?

    Comment

    • Rajan Arora

      #3
      Re: IO error

      On Oct 18, 5:52 pm, Lawrence D'Oliveiro <l...@geek-
      central.gen.new _zealandwrote:
      In message
      <b9bb93e3-7462-422c-84ad-f56d45edf...@k1 6g2000hsf.googl egroups.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?

      Comment

      • Lawrence D'Oliveiro

        #4
        Re: IO error

        In message
        <2b395098-1a9e-4668-a453-0914fb68b3e7@k3 0g2000hse.googl egroups.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...@k1 6g2000hsf.googl egroups.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?

        Comment

        Working...