Jump to content

ntallen

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by ntallen

  1. We have a USB-PDISO8, which we hope to use to control a couple motors and read status from mechanical switches.

    I am using libuldaq-1.2.1 under Ubuntu 22.04.3

    I am testing with examples/DOut and DIn. DOut behaves as I would expect. The summary info is:

    ------------------------
    Found 1 DAQ device(s)
      [0] USB-PDISO8: (0228D830)

    Connecting to device USB-PDISO8 - please wait ...

    USB-PDISO8 ready
        Function demonstrated: ulDOut()
        Port: AUXPORT0
        Port I/O type: DPIOT_OUT
    -----------------------

    and writing values out controls the relays as expected.

    DIn, on the other hand, always reports 0. It's summary looks like this:

    ------------------------
    Found 1 DAQ device(s)
      [0] USB-PDISO8: (0228D830)

    Connecting to device USB-PDISO8 - please wait ...

    USB-PDISO8 ready
        Function demonstrated: ulDIn()
        Port: AUXPORT0
        Port I/O type: DPIOT_OUT
    ------------------------

    Note that it appears to be addressing the same port as DOut, with Port type: DPIOT_OUT, which doesn't sound like an input port. How is this supposed to work?

     

×
×
  • Create New...