Jump to content

linuxrocks

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by linuxrocks

  1. E-1608 Ethernet DAQ device, Ethernet-based, with 8 SE/4 DIFF analog inputs, 16-bit resolution, 250 kS/s sample rate, 2 analog outputs, 8 digital I/O, and 1 counter input Have a couple USB versions as well that have a similar configuration.
  2. Any chance the firmware will get updated to retain these settings? Yeah, an inverter works, but this is not what the McDaq requires. Hardware setup was made for that. McDaq was out of stock, so went with the Pi Hat approach. Didn't realize it would work differently.
  3. Also tried 255 for the PULL_ENABLE as this is a port write. Still get 255 for all three even after a graceful SHUTDOWN -h 0 and power-up.
  4. Further, if I read the DIRECTION, PULL_CONFIG, PULL_ENABLE configurations back after setting (0,0,1) before I cycle power, they match the settings. After I cycle power, I get 255 instead for all three. I even tried using daqhats_read_eeproms.
  5. I tried this and it still comes up as all on... Confirmed the port was off before cycling power. from daqhats import hat_list, HatIDs, mcc128, mcc152 from daqhats import DIOConfigItem,AnalogInputMode,AnalogInputRange,OptionFlags a = mcc152(0) values=0 a.dio_output_write_port(values) a.dio_config_write_port(DIOConfigItem.DIRECTION,0) a.dio_config_write_port(DIOConfigItem.PULL_CONFIG,0) a.dio_config_write_port(DIOConfigItem.PULL_ENABLE,1)
  6. Can you program the pulldown function so it is there instead of pullup at powerup? Do configuration changes such as pull-up/pull-down/disabled get saved in the eeprom?
  7. Can Pi hats 128 and 152 be used at the same time as a Pi Camera 2.0 or other Pi cameras using the camera connector? \
×
×
  • Create New...