Menu

#31 communication with same instruments times out

v1.0 (example)
open
nobody
timeout (1)
7
2021-05-24
2021-05-24
Robert
No

Hi,

I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

2460 Source meter is working flawlessly: write and read and query works well.
I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

Any suggestions how to resolve this issue?

ibtest for 2420:

enter maximum number of bytes to read [1024]: 1024
trying to read 1024 bytes from device...
received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
Number of bytes read: 34
gpib status is:
ibsta = 0xc100 < ERR TIMO CMPL >
iberr= 6
EABO 6: Operation aborted

ibtest for 2460:

enter maximum number of bytes to read [1024]: 1024
trying to read 1024 bytes from device...
received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
'
Number of bytes read: 48
gpib status is:
ibsta = 0x2100 < END CMPL >
iberr= 0

gpib.conf:

interface {
minor = 0
board_type = "ni_pci"
name = "gpib"
pad = 0
master = yes

/ base = 0
sad = 0
irq = 0
dma = 0
with and without does not matter
/
}

device {
minor = 0
name = "PS1"
pad = 6

    eos = 0xa       /* EOS Byte */
    set-reos = no /* Terminate read if EOS */
    set-bin = no /* Compare EOS 8-bit */

}

device {
minor = 0
name = "SM1"
pad = 11

    eos = 0xa       /* EOS Byte */
    set-reos = no /* Terminate read if EOS */
    set-bin = no /* Compare EOS 8-bit */

}

device {
minor = 0
name = "LA1"
pad = 16

    eos = 0xa       /* EOS Byte */
    set-reos = no /* Terminate read if EOS */
    set-bin = no /* Compare EOS 8-bit */

}

Related

Support Requests: #31

Discussion

  • DaveP

    DaveP - 2021-05-24

    Hi Robert,
    Do the 2420 Source meter and SR844 Lockin assert EOI at the end of
    their message ?
    -dave

    On Mon, 24 May 2021 at 17:00, Robert robertst@users.sourceforge.net wrote:


    [support-requests:#31] communication with same instruments times out

    Status: open
    Group: v1.0 (example)
    Labels: timeout
    Created: Mon May 24, 2021 03:00 PM UTC by Robert
    Last Updated: Mon May 24, 2021 03:00 PM UTC
    Owner: nobody

    Hi,

    I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

    ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

    2460 Source meter is working flawlessly: write and read and query works well.
    I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

    Any suggestions how to resolve this issue?

    ibtest for 2420:

    enter maximum number of bytes to read [1024]: 1024
    trying to read 1024 bytes from device...
    received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
    Number of bytes read: 34
    gpib status is:
    ibsta = 0xc100 < ERR TIMO CMPL >
    iberr= 6
    EABO 6: Operation aborted

    ibtest for 2460:

    enter maximum number of bytes to read [1024]: 1024
    trying to read 1024 bytes from device...
    received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
    '
    Number of bytes read: 48
    gpib status is:
    ibsta = 0x2100 < END CMPL >
    iberr= 0

    gpib.conf:

    interface {
    minor = 0
    board_type = "ni_pci"
    name = "gpib"
    pad = 0
    master = yes

    / base = 0
    sad = 0
    irq = 0
    dma = 0
    with and without does not matter /
    }

    device {
    minor = 0
    name = "PS1"
    pad = 6

    eos = 0xa       /* EOS Byte */
    set-reos = no /* Terminate read if EOS */
    set-bin = no /* Compare EOS 8-bit */
    

    }

    device {
    minor = 0
    name = "SM1"
    pad = 11

    eos = 0xa       /* EOS Byte */
    set-reos = no /* Terminate read if EOS */
    set-bin = no /* Compare EOS 8-bit */
    

    }

    device {
    minor = 0
    name = "LA1"
    pad = 16

    eos = 0xa       /* EOS Byte */
    set-reos = no /* Terminate read if EOS */
    set-bin = no /* Compare EOS 8-bit */
    

    }


    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     

    Related

    Support Requests: #31

    • Robert

      Robert - 2021-05-25

      Hi,

      I am not sure about that. How can I check/change that?

      In python I tried numerous terminations for read and write comments without success.

      Cheers,
      Robert

      On May 24, 2021, at 11:30, DaveP dpenkler@users.sourceforge.net wrote:

      
      Hi Robert,
      Do the 2420 Source meter and SR844 Lockin assert EOI at the end of
      their message ?
      -dave

      On Mon, 24 May 2021 at 17:00, Robert robertst@users.sourceforge.net wrote:

      [support-requests:#31] communication with same instruments times out

      Status: open
      Group: v1.0 (example)
      Labels: timeout
      Created: Mon May 24, 2021 03:00 PM UTC by Robert
      Last Updated: Mon May 24, 2021 03:00 PM UTC
      Owner: nobody

      Hi,

      I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

      ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

      2460 Source meter is working flawlessly: write and read and query works well.
      I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

      Any suggestions how to resolve this issue?

      ibtest for 2420:

      enter maximum number of bytes to read [1024]: 1024
      trying to read 1024 bytes from device...
      received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
      Number of bytes read: 34
      gpib status is:
      ibsta = 0xc100 < ERR TIMO CMPL >
      iberr= 6
      EABO 6: Operation aborted

      ibtest for 2460:

      enter maximum number of bytes to read [1024]: 1024
      trying to read 1024 bytes from device...
      received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
      '
      Number of bytes read: 48
      gpib status is:
      ibsta = 0x2100 < END CMPL >
      iberr= 0

      gpib.conf:

      interface {
      minor = 0
      board_type = "ni_pci"
      name = "gpib"
      pad = 0
      master = yes

      / base = 0
      sad = 0
      irq = 0
      dma = 0
      with and without does not matter /
      }

      device {
      minor = 0
      name = "PS1"
      pad = 6

      eos = 0xa / EOS Byte /
      set-reos = no / Terminate read if EOS /
      set-bin = no / Compare EOS 8-bit /
      }

      device {
      minor = 0
      name = "SM1"
      pad = 11

      eos = 0xa / EOS Byte /
      set-reos = no / Terminate read if EOS /
      set-bin = no / Compare EOS 8-bit /
      }

      device {
      minor = 0
      name = "LA1"
      pad = 16

      eos = 0xa / EOS Byte /
      set-reos = no / Terminate read if EOS /
      set-bin = no / Compare EOS 8-bit /
      }

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

      [support-requests:#31] communication with same instruments times out

      Status: open
      Group: v1.0 (example)
      Labels: timeout
      Created: Mon May 24, 2021 03:00 PM UTC by Robert
      Last Updated: Mon May 24, 2021 03:00 PM UTC
      Owner: nobody

      Hi,

      I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

      ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

      2460 Source meter is working flawlessly: write and read and query works well.
      I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

      Any suggestions how to resolve this issue?

      ibtest for 2420:

      enter maximum number of bytes to read [1024]: 1024
      trying to read 1024 bytes from device...
      received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
      Number of bytes read: 34
      gpib status is:
      ibsta = 0xc100 < ERR TIMO CMPL >
      iberr= 6
      EABO 6: Operation aborted

      ibtest for 2460:

      enter maximum number of bytes to read [1024]: 1024
      trying to read 1024 bytes from device...
      received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
      '
      Number of bytes read: 48
      gpib status is:
      ibsta = 0x2100 < END CMPL >
      iberr= 0

      gpib.conf:

      interface {
      minor = 0
      board_type = "ni_pci"
      name = "gpib"
      pad = 0
      master = yes

      / base = 0
      sad = 0
      irq = 0
      dma = 0
      with and without does not matter /
      }

      device {
      minor = 0
      name = "PS1"
      pad = 6

      eos = 0xa       /* EOS Byte */
      set-reos = no /* Terminate read if EOS */
      set-bin = no /* Compare EOS 8-bit */
      

      }

      device {
      minor = 0
      name = "SM1"
      pad = 11

      eos = 0xa       /* EOS Byte */
      set-reos = no /* Terminate read if EOS */
      set-bin = no /* Compare EOS 8-bit */
      

      }

      device {
      minor = 0
      name = "LA1"
      pad = 16

      eos = 0xa       /* EOS Byte */
      set-reos = no /* Terminate read if EOS */
      set-bin = no /* Compare EOS 8-bit */
      

      }

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #31

      • Frank Mori Hess

        Frank Mori Hess - 2021-05-25

        Would you try svn revision 1985? I found a possible cause of your issue.

         
        • Robert

          Robert - 2021-05-25

          That sounds promising. Please tell me what to do and how to do it.

          Cheers,
          Robert

          On May 25, 2021, at 14:04, Frank Mori Hess fmhess@users.sourceforge.net wrote:

          
          Would you try svn revision 1985? I found a possible cause of your issue.

          [support-requests:#31] communication with same instruments times out

          Status: open
          Group: v1.0 (example)
          Labels: timeout
          Created: Mon May 24, 2021 03:00 PM UTC by Robert
          Last Updated: Mon May 24, 2021 03:00 PM UTC
          Owner: nobody

          Hi,

          I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

          ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

          2460 Source meter is working flawlessly: write and read and query works well.
          I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

          Any suggestions how to resolve this issue?

          ibtest for 2420:

          enter maximum number of bytes to read [1024]: 1024
          trying to read 1024 bytes from device...
          received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
          Number of bytes read: 34
          gpib status is:
          ibsta = 0xc100 < ERR TIMO CMPL >
          iberr= 6
          EABO 6: Operation aborted

          ibtest for 2460:

          enter maximum number of bytes to read [1024]: 1024
          trying to read 1024 bytes from device...
          received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
          '
          Number of bytes read: 48
          gpib status is:
          ibsta = 0x2100 < END CMPL >
          iberr= 0

          gpib.conf:

          interface {
          minor = 0
          board_type = "ni_pci"
          name = "gpib"
          pad = 0
          master = yes

          / base = 0
          sad = 0
          irq = 0
          dma = 0
          with and without does not matter /
          }

          device {
          minor = 0
          name = "PS1"
          pad = 6

          eos = 0xa       /* EOS Byte */
          set-reos = no /* Terminate read if EOS */
          set-bin = no /* Compare EOS 8-bit */
          

          }

          device {
          minor = 0
          name = "SM1"
          pad = 11

          eos = 0xa       /* EOS Byte */
          set-reos = no /* Terminate read if EOS */
          set-bin = no /* Compare EOS 8-bit */
          

          }

          device {
          minor = 0
          name = "LA1"
          pad = 16

          eos = 0xa       /* EOS Byte */
          set-reos = no /* Terminate read if EOS */
          set-bin = no /* Compare EOS 8-bit */
          

          }

          Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

          To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

           

          Related

          Support Requests: #31

          • Frank Mori Hess

            Frank Mori Hess - 2021-05-25

            Well, you could just edit the code you have with the 2 line changes shown here:

            https://sourceforge.net/p/linux-gpib/code/1985/

            Or you could checkout the svn trunk. Then rebuild/reinstall/reload
            the linux-gpib-kernel modules.

             
            • Robert

              Robert - 2021-05-25

              I changed the code. Cleaned and remade installed it (kernel only). Nothing changed :/

              Cheers,
              Robert

              On May 25, 2021, at 15:29, Frank Mori Hess fmhess@users.sourceforge.net wrote:

              
              Well, you could just edit the code you have with the 2 line changes shown here:

              https://sourceforge.net/p/linux-gpib/code/1985/

              Or you could checkout the svn trunk. Then rebuild/reinstall/reload
              the linux-gpib-kernel modules.

              [support-requests:#31] communication with same instruments times out

              Status: open
              Group: v1.0 (example)
              Labels: timeout
              Created: Mon May 24, 2021 03:00 PM UTC by Robert
              Last Updated: Mon May 24, 2021 03:00 PM UTC
              Owner: nobody

              Hi,

              I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

              ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

              2460 Source meter is working flawlessly: write and read and query works well.
              I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

              Any suggestions how to resolve this issue?

              ibtest for 2420:

              enter maximum number of bytes to read [1024]: 1024
              trying to read 1024 bytes from device...
              received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
              Number of bytes read: 34
              gpib status is:
              ibsta = 0xc100 < ERR TIMO CMPL >
              iberr= 6
              EABO 6: Operation aborted

              ibtest for 2460:

              enter maximum number of bytes to read [1024]: 1024
              trying to read 1024 bytes from device...
              received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
              '
              Number of bytes read: 48
              gpib status is:
              ibsta = 0x2100 < END CMPL >
              iberr= 0

              gpib.conf:

              interface {
              minor = 0
              board_type = "ni_pci"
              name = "gpib"
              pad = 0
              master = yes

              / base = 0
              sad = 0
              irq = 0
              dma = 0
              with and without does not matter /
              }

              device {
              minor = 0
              name = "PS1"
              pad = 6

              eos = 0xa       /* EOS Byte */
              set-reos = no /* Terminate read if EOS */
              set-bin = no /* Compare EOS 8-bit */
              

              }

              device {
              minor = 0
              name = "SM1"
              pad = 11

              eos = 0xa       /* EOS Byte */
              set-reos = no /* Terminate read if EOS */
              set-bin = no /* Compare EOS 8-bit */
              

              }

              device {
              minor = 0
              name = "LA1"
              pad = 16

              eos = 0xa       /* EOS Byte */
              set-reos = no /* Terminate read if EOS */
              set-bin = no /* Compare EOS 8-bit */
              

              }

              Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

              To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

               

              Related

              Support Requests: #31

              • Frank Mori Hess

                Frank Mori Hess - 2021-05-25

                Did you rmmod the old modules, or reboot? If it is something else,
                you'll probably have to debug tnt4882_accel_read() in tnt4882_read.c
                yourself and figure out why/where it is getting stuck to make
                progress.

                On Tue, May 25, 2021 at 3:40 PM Robert robertst@users.sourceforge.net wrote:

                I changed the code. Cleaned and remade installed it (kernel only). Nothing changed :/

                Cheers,
                Robert

                On May 25, 2021, at 15:29, Frank Mori Hess fmhess@users.sourceforge.net wrote:

                
                Well, you could just edit the code you have with the 2 line changes shown here:

                https://sourceforge.net/p/linux-gpib/code/1985/

                Or you could checkout the svn trunk. Then rebuild/reinstall/reload
                the linux-gpib-kernel modules.

                [support-requests:#31] communication with same instruments times out

                Status: open
                Group: v1.0 (example)
                Labels: timeout
                Created: Mon May 24, 2021 03:00 PM UTC by Robert
                Last Updated: Mon May 24, 2021 03:00 PM UTC
                Owner: nobody

                Hi,

                I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

                ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

                2460 Source meter is working flawlessly: write and read and query works well.
                I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

                Any suggestions how to resolve this issue?

                ibtest for 2420:

                enter maximum number of bytes to read [1024]: 1024
                trying to read 1024 bytes from device...
                received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
                Number of bytes read: 34
                gpib status is:
                ibsta = 0xc100 < ERR TIMO CMPL >
                iberr= 6
                EABO 6: Operation aborted

                ibtest for 2460:

                enter maximum number of bytes to read [1024]: 1024
                trying to read 1024 bytes from device...
                received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
                '
                Number of bytes read: 48
                gpib status is:
                ibsta = 0x2100 < END CMPL >
                iberr= 0

                gpib.conf:

                interface {
                minor = 0
                board_type = "ni_pci"
                name = "gpib"
                pad = 0
                master = yes

                / base = 0
                sad = 0
                irq = 0
                dma = 0
                with and without does not matter /
                }

                device {
                minor = 0
                name = "PS1"
                pad = 6

                eos = 0xa / EOS Byte /
                set-reos = no / Terminate read if EOS /
                set-bin = no / Compare EOS 8-bit /

                }

                device {
                minor = 0
                name = "SM1"
                pad = 11

                eos = 0xa / EOS Byte /
                set-reos = no / Terminate read if EOS /
                set-bin = no / Compare EOS 8-bit /

                }

                device {
                minor = 0
                name = "LA1"
                pad = 16

                eos = 0xa / EOS Byte /
                set-reos = no / Terminate read if EOS /
                set-bin = no / Compare EOS 8-bit /

                }

                Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

                To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/


                [support-requests:#31] communication with same instruments times out

                Status: open
                Group: v1.0 (example)
                Labels: timeout
                Created: Mon May 24, 2021 03:00 PM UTC by Robert
                Last Updated: Mon May 24, 2021 03:00 PM UTC
                Owner: nobody

                Hi,

                I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

                ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

                2460 Source meter is working flawlessly: write and read and query works well.
                I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

                Any suggestions how to resolve this issue?

                ibtest for 2420:

                enter maximum number of bytes to read [1024]: 1024
                trying to read 1024 bytes from device...
                received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
                Number of bytes read: 34
                gpib status is:
                ibsta = 0xc100 < ERR TIMO CMPL >
                iberr= 6
                EABO 6: Operation aborted

                ibtest for 2460:

                enter maximum number of bytes to read [1024]: 1024
                trying to read 1024 bytes from device...
                received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
                '
                Number of bytes read: 48
                gpib status is:
                ibsta = 0x2100 < END CMPL >
                iberr= 0

                gpib.conf:

                interface {
                minor = 0
                board_type = "ni_pci"
                name = "gpib"
                pad = 0
                master = yes

                / base = 0
                sad = 0
                irq = 0
                dma = 0
                with and without does not matter /
                }

                device {
                minor = 0
                name = "PS1"
                pad = 6

                eos = 0xa       /* EOS Byte */
                set-reos = no /* Terminate read if EOS */
                set-bin = no /* Compare EOS 8-bit */
                

                }

                device {
                minor = 0
                name = "SM1"
                pad = 11

                eos = 0xa       /* EOS Byte */
                set-reos = no /* Terminate read if EOS */
                set-bin = no /* Compare EOS 8-bit */
                

                }

                device {
                minor = 0
                name = "LA1"
                pad = 16

                eos = 0xa       /* EOS Byte */
                set-reos = no /* Terminate read if EOS */
                set-bin = no /* Compare EOS 8-bit */
                

                }


                Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

                To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

                --
                Frank

                 

                Related

                Support Requests: #31

                • Robert

                  Robert - 2021-05-26

                  I rebooted to be sure.

                  Writing is going well and fast just the response is not. Dang.

                  Cheers,
                  Robert

                  On May 25, 2021, at 18:12, Frank Mori Hess fmhess@users.sourceforge.net wrote:

                  
                  Did you rmmod the old modules, or reboot? If it is something else,
                  you'll probably have to debug tnt4882_accel_read() in tnt4882_read.c
                  yourself and figure out why/where it is getting stuck to make
                  progress.

                  On Tue, May 25, 2021 at 3:40 PM Robert robertst@users.sourceforge.net wrote:

                  I changed the code. Cleaned and remade installed it (kernel only). Nothing changed :/

                  Cheers,
                  Robert

                  On May 25, 2021, at 15:29, Frank Mori Hess fmhess@users.sourceforge.net wrote:

                  
                  Well, you could just edit the code you have with the 2 line changes shown here:

                  https://sourceforge.net/p/linux-gpib/code/1985/

                  Or you could checkout the svn trunk. Then rebuild/reinstall/reload
                  the linux-gpib-kernel modules.

                  [support-requests:#31] communication with same instruments times out

                  Status: open
                  Group: v1.0 (example)
                  Labels: timeout
                  Created: Mon May 24, 2021 03:00 PM UTC by Robert
                  Last Updated: Mon May 24, 2021 03:00 PM UTC
                  Owner: nobody

                  Hi,

                  I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

                  ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

                  2460 Source meter is working flawlessly: write and read and query works well.
                  I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

                  Any suggestions how to resolve this issue?

                  ibtest for 2420:

                  enter maximum number of bytes to read [1024]: 1024
                  trying to read 1024 bytes from device...
                  received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
                  Number of bytes read: 34
                  gpib status is:
                  ibsta = 0xc100 < ERR TIMO CMPL >
                  iberr= 6
                  EABO 6: Operation aborted

                  ibtest for 2460:

                  enter maximum number of bytes to read [1024]: 1024
                  trying to read 1024 bytes from device...
                  received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
                  '
                  Number of bytes read: 48
                  gpib status is:
                  ibsta = 0x2100 < END CMPL >
                  iberr= 0

                  gpib.conf:

                  interface {
                  minor = 0
                  board_type = "ni_pci"
                  name = "gpib"
                  pad = 0
                  master = yes

                  / base = 0
                  sad = 0
                  irq = 0
                  dma = 0
                  with and without does not matter /
                  }

                  device {
                  minor = 0
                  name = "PS1"
                  pad = 6

                  eos = 0xa / EOS Byte /
                  set-reos = no / Terminate read if EOS /
                  set-bin = no / Compare EOS 8-bit /

                  }

                  device {
                  minor = 0
                  name = "SM1"
                  pad = 11

                  eos = 0xa / EOS Byte /
                  set-reos = no / Terminate read if EOS /
                  set-bin = no / Compare EOS 8-bit /

                  }

                  device {
                  minor = 0
                  name = "LA1"
                  pad = 16

                  eos = 0xa / EOS Byte /
                  set-reos = no / Terminate read if EOS /
                  set-bin = no / Compare EOS 8-bit /

                  }

                  Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

                  To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

                  [support-requests:#31] communication with same instruments times out

                  Status: open
                  Group: v1.0 (example)
                  Labels: timeout
                  Created: Mon May 24, 2021 03:00 PM UTC by Robert
                  Last Updated: Mon May 24, 2021 03:00 PM UTC
                  Owner: nobody

                  Hi,

                  I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

                  ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

                  2460 Source meter is working flawlessly: write and read and query works well.
                  I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

                  Any suggestions how to resolve this issue?

                  ibtest for 2420:

                  enter maximum number of bytes to read [1024]: 1024
                  trying to read 1024 bytes from device...
                  received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
                  Number of bytes read: 34
                  gpib status is:
                  ibsta = 0xc100 < ERR TIMO CMPL >
                  iberr= 6
                  EABO 6: Operation aborted

                  ibtest for 2460:

                  enter maximum number of bytes to read [1024]: 1024
                  trying to read 1024 bytes from device...
                  received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
                  '
                  Number of bytes read: 48
                  gpib status is:
                  ibsta = 0x2100 < END CMPL >
                  iberr= 0

                  gpib.conf:

                  interface {
                  minor = 0
                  board_type = "ni_pci"
                  name = "gpib"
                  pad = 0
                  master = yes

                  / base = 0
                  sad = 0
                  irq = 0
                  dma = 0
                  with and without does not matter /
                  }

                  device {
                  minor = 0
                  name = "PS1"
                  pad = 6

                  eos = 0xa / EOS Byte /
                  set-reos = no / Terminate read if EOS /
                  set-bin = no / Compare EOS 8-bit /
                  }

                  device {
                  minor = 0
                  name = "SM1"
                  pad = 11

                  eos = 0xa / EOS Byte /
                  set-reos = no / Terminate read if EOS /
                  set-bin = no / Compare EOS 8-bit /
                  }

                  device {
                  minor = 0
                  name = "LA1"
                  pad = 16

                  eos = 0xa / EOS Byte /
                  set-reos = no / Terminate read if EOS /
                  set-bin = no / Compare EOS 8-bit /
                  }

                  Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

                  To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

                  --
                  Frank

                  [support-requests:#31] communication with same instruments times out

                  Status: open
                  Group: v1.0 (example)
                  Labels: timeout
                  Created: Mon May 24, 2021 03:00 PM UTC by Robert
                  Last Updated: Mon May 24, 2021 03:00 PM UTC
                  Owner: nobody

                  Hi,

                  I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

                  ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

                  2460 Source meter is working flawlessly: write and read and query works well.
                  I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

                  Any suggestions how to resolve this issue?

                  ibtest for 2420:

                  enter maximum number of bytes to read [1024]: 1024
                  trying to read 1024 bytes from device...
                  received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
                  Number of bytes read: 34
                  gpib status is:
                  ibsta = 0xc100 < ERR TIMO CMPL >
                  iberr= 6
                  EABO 6: Operation aborted

                  ibtest for 2460:

                  enter maximum number of bytes to read [1024]: 1024
                  trying to read 1024 bytes from device...
                  received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
                  '
                  Number of bytes read: 48
                  gpib status is:
                  ibsta = 0x2100 < END CMPL >
                  iberr= 0

                  gpib.conf:

                  interface {
                  minor = 0
                  board_type = "ni_pci"
                  name = "gpib"
                  pad = 0
                  master = yes

                  / base = 0
                  sad = 0
                  irq = 0
                  dma = 0
                  with and without does not matter /
                  }

                  device {
                  minor = 0
                  name = "PS1"
                  pad = 6

                  eos = 0xa       /* EOS Byte */
                  set-reos = no /* Terminate read if EOS */
                  set-bin = no /* Compare EOS 8-bit */
                  

                  }

                  device {
                  minor = 0
                  name = "SM1"
                  pad = 11

                  eos = 0xa       /* EOS Byte */
                  set-reos = no /* Terminate read if EOS */
                  set-bin = no /* Compare EOS 8-bit */
                  

                  }

                  device {
                  minor = 0
                  name = "LA1"
                  pad = 16

                  eos = 0xa       /* EOS Byte */
                  set-reos = no /* Terminate read if EOS */
                  set-bin = no /* Compare EOS 8-bit */
                  

                  }

                  Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

                  To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

                   

                  Related

                  Support Requests: #31

                  • DaveP

                    DaveP - 2021-05-26

                    Hi Robert,
                    Have you tried setting set-reos = yes in gpib.conf for the 2420 ?
                    From the 2400 manual: "Response message terminator (RMT) Each response
                    is terminated with an LF (line feed) and EOI (end or identify)."

                    On Wed, 26 May 2021 at 03:01, Robert robertst@users.sourceforge.net wrote:

                    I rebooted to be sure.

                    Writing is going well and fast just the response is not. Dang.

                    Cheers,
                    Robert

                    On May 25, 2021, at 18:12, Frank Mori Hess fmhess@users.sourceforge.net wrote:

                    
                    Did you rmmod the old modules, or reboot? If it is something else,
                    you'll probably have to debug tnt4882_accel_read() in tnt4882_read.c
                    yourself and figure out why/where it is getting stuck to make
                    progress.

                    On Tue, May 25, 2021 at 3:40 PM Robert robertst@users.sourceforge.net wrote:

                    I changed the code. Cleaned and remade installed it (kernel only). Nothing changed :/

                    Cheers,
                    Robert

                    On May 25, 2021, at 15:29, Frank Mori Hess fmhess@users.sourceforge.net wrote:

                    
                    Well, you could just edit the code you have with the 2 line changes shown here:

                    https://sourceforge.net/p/linux-gpib/code/1985/

                    Or you could checkout the svn trunk. Then rebuild/reinstall/reload
                    the linux-gpib-kernel modules.

                    [support-requests:#31] communication with same instruments times out

                    Status: open
                    Group: v1.0 (example)
                    Labels: timeout
                    Created: Mon May 24, 2021 03:00 PM UTC by Robert
                    Last Updated: Mon May 24, 2021 03:00 PM UTC
                    Owner: nobody

                    Hi,

                    I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

                    ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

                    2460 Source meter is working flawlessly: write and read and query works well.
                    I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

                    Any suggestions how to resolve this issue?

                    ibtest for 2420:

                    enter maximum number of bytes to read [1024]: 1024
                    trying to read 1024 bytes from device...
                    received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
                    Number of bytes read: 34
                    gpib status is:
                    ibsta = 0xc100 < ERR TIMO CMPL >
                    iberr= 6
                    EABO 6: Operation aborted

                    ibtest for 2460:

                    enter maximum number of bytes to read [1024]: 1024
                    trying to read 1024 bytes from device...
                    received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
                    '
                    Number of bytes read: 48
                    gpib status is:
                    ibsta = 0x2100 < END CMPL >
                    iberr= 0

                    gpib.conf:

                    interface {
                    minor = 0
                    board_type = "ni_pci"
                    name = "gpib"
                    pad = 0
                    master = yes

                    / base = 0
                    sad = 0
                    irq = 0
                    dma = 0
                    with and without does not matter /
                    }

                    device {
                    minor = 0
                    name = "PS1"
                    pad = 6

                    eos = 0xa / EOS Byte /
                    set-reos = no / Terminate read if EOS /
                    set-bin = no / Compare EOS 8-bit /

                    }

                    device {
                    minor = 0
                    name = "SM1"
                    pad = 11

                    eos = 0xa / EOS Byte /
                    set-reos = no / Terminate read if EOS /
                    set-bin = no / Compare EOS 8-bit /

                    }

                    device {
                    minor = 0
                    name = "LA1"
                    pad = 16

                    eos = 0xa / EOS Byte /
                    set-reos = no / Terminate read if EOS /
                    set-bin = no / Compare EOS 8-bit /

                    }

                    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

                    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

                    [support-requests:#31] communication with same instruments times out

                    Status: open
                    Group: v1.0 (example)
                    Labels: timeout
                    Created: Mon May 24, 2021 03:00 PM UTC by Robert
                    Last Updated: Mon May 24, 2021 03:00 PM UTC
                    Owner: nobody

                    Hi,

                    I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

                    ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

                    2460 Source meter is working flawlessly: write and read and query works well.
                    I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

                    Any suggestions how to resolve this issue?

                    ibtest for 2420:

                    enter maximum number of bytes to read [1024]: 1024
                    trying to read 1024 bytes from device...
                    received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
                    Number of bytes read: 34
                    gpib status is:
                    ibsta = 0xc100 < ERR TIMO CMPL >
                    iberr= 6
                    EABO 6: Operation aborted

                    ibtest for 2460:

                    enter maximum number of bytes to read [1024]: 1024
                    trying to read 1024 bytes from device...
                    received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
                    '
                    Number of bytes read: 48
                    gpib status is:
                    ibsta = 0x2100 < END CMPL >
                    iberr= 0

                    gpib.conf:

                    interface {
                    minor = 0
                    board_type = "ni_pci"
                    name = "gpib"
                    pad = 0
                    master = yes

                    / base = 0
                    sad = 0
                    irq = 0
                    dma = 0
                    with and without does not matter /
                    }

                    device {
                    minor = 0
                    name = "PS1"
                    pad = 6

                    eos = 0xa / EOS Byte /
                    set-reos = no / Terminate read if EOS /
                    set-bin = no / Compare EOS 8-bit /
                    }

                    device {
                    minor = 0
                    name = "SM1"
                    pad = 11

                    eos = 0xa / EOS Byte /
                    set-reos = no / Terminate read if EOS /
                    set-bin = no / Compare EOS 8-bit /
                    }

                    device {
                    minor = 0
                    name = "LA1"
                    pad = 16

                    eos = 0xa / EOS Byte /
                    set-reos = no / Terminate read if EOS /
                    set-bin = no / Compare EOS 8-bit /
                    }

                    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

                    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

                    --
                    Frank

                    [support-requests:#31] communication with same instruments times out

                    Status: open
                    Group: v1.0 (example)
                    Labels: timeout
                    Created: Mon May 24, 2021 03:00 PM UTC by Robert
                    Last Updated: Mon May 24, 2021 03:00 PM UTC
                    Owner: nobody

                    Hi,

                    I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

                    ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

                    2460 Source meter is working flawlessly: write and read and query works well.
                    I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

                    Any suggestions how to resolve this issue?

                    ibtest for 2420:

                    enter maximum number of bytes to read [1024]: 1024
                    trying to read 1024 bytes from device...
                    received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
                    Number of bytes read: 34
                    gpib status is:
                    ibsta = 0xc100 < ERR TIMO CMPL >
                    iberr= 6
                    EABO 6: Operation aborted

                    ibtest for 2460:

                    enter maximum number of bytes to read [1024]: 1024
                    trying to read 1024 bytes from device...
                    received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
                    '
                    Number of bytes read: 48
                    gpib status is:
                    ibsta = 0x2100 < END CMPL >
                    iberr= 0

                    gpib.conf:

                    interface {
                    minor = 0
                    board_type = "ni_pci"
                    name = "gpib"
                    pad = 0
                    master = yes

                    / base = 0
                    sad = 0
                    irq = 0
                    dma = 0
                    with and without does not matter /
                    }

                    device {
                    minor = 0
                    name = "PS1"
                    pad = 6

                    eos = 0xa / EOS Byte /
                    set-reos = no / Terminate read if EOS /
                    set-bin = no / Compare EOS 8-bit /

                    }

                    device {
                    minor = 0
                    name = "SM1"
                    pad = 11

                    eos = 0xa / EOS Byte /
                    set-reos = no / Terminate read if EOS /
                    set-bin = no / Compare EOS 8-bit /

                    }

                    device {
                    minor = 0
                    name = "LA1"
                    pad = 16

                    eos = 0xa / EOS Byte /
                    set-reos = no / Terminate read if EOS /
                    set-bin = no / Compare EOS 8-bit /

                    }

                    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

                    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/


                    [support-requests:#31] communication with same instruments times out

                    Status: open
                    Group: v1.0 (example)
                    Labels: timeout
                    Created: Mon May 24, 2021 03:00 PM UTC by Robert
                    Last Updated: Mon May 24, 2021 03:00 PM UTC
                    Owner: nobody

                    Hi,

                    I installed linux gpib on Ubuntu 21.04 and installed and configured pyvisa etc.

                    ibtest is working and I can also use pyvisa and/or gpib. I have currently three devices hooked up.

                    2460 Source meter is working flawlessly: write and read and query works well.
                    I am having trouble with 2420 Source meter and SR844 Lockin. I can write and configure the instruments but the read and query time out. I have no idea why this is :/

                    Any suggestions how to resolve this issue?

                    ibtest for 2420:

                    enter maximum number of bytes to read [1024]: 1024
                    trying to read 1024 bytes from device...
                    received string: 'KEITHLEY INSTRUMENTS INC.,MODEL 24'
                    Number of bytes read: 34
                    gpib status is:
                    ibsta = 0xc100 < ERR TIMO CMPL >
                    iberr= 6
                    EABO 6: Operation aborted

                    ibtest for 2460:

                    enter maximum number of bytes to read [1024]: 1024
                    trying to read 1024 bytes from device...
                    received string: 'KEITHLEY INSTRUMENTS,MODEL 2460,04480133,1.7.3c
                    '
                    Number of bytes read: 48
                    gpib status is:
                    ibsta = 0x2100 < END CMPL >
                    iberr= 0

                    gpib.conf:

                    interface {
                    minor = 0
                    board_type = "ni_pci"
                    name = "gpib"
                    pad = 0
                    master = yes

                    / base = 0
                    sad = 0
                    irq = 0
                    dma = 0
                    with and without does not matter /
                    }

                    device {
                    minor = 0
                    name = "PS1"
                    pad = 6

                    eos = 0xa       /* EOS Byte */
                    set-reos = no /* Terminate read if EOS */
                    set-bin = no /* Compare EOS 8-bit */
                    

                    }

                    device {
                    minor = 0
                    name = "SM1"
                    pad = 11

                    eos = 0xa       /* EOS Byte */
                    set-reos = no /* Terminate read if EOS */
                    set-bin = no /* Compare EOS 8-bit */
                    

                    }

                    device {
                    minor = 0
                    name = "LA1"
                    pad = 16

                    eos = 0xa       /* EOS Byte */
                    set-reos = no /* Terminate read if EOS */
                    set-bin = no /* Compare EOS 8-bit */
                    

                    }


                    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linux-gpib/support-requests/31/

                    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

                     

                    Related

                    Support Requests: #31


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.