Jump to content

Redzed

Members
  • Posts

    10
  • Joined

  • Last visited

Redzed's Achievements

Member

Member (2/4)

0

Reputation

  1. Some testing was performed to demonstrate that either the documentation for d_bit_out is inaccurate or there is information missing to configure the port for digital output. "For devices with both types of digital ports, set PortType to either DigitalPortType.FIRSTPORTA or DigitalPortType.AUXPORT, depending on which digital inputs you wish to read." DigitalPortType.FIRSTPORTA was set to configure the port according to the above statement. ul.d_config_port(self.board_num, self.port.type, DigitalIODirection.OUT) and Bits 0 to 7 were successfully operated by: ul.d_bit_out(self.board_num, self.port.type, bit_num, bit_value) to change the state of the bit. Going beyond bit 7 to bit 8 generates an error. ->The port type was still configured to FIRSTPORTA which should allow bits 0 to 95 to be operated by ul.d_bit_out(). The next step was to attempt to control bit 8 with the port configured for FIRSTPORTB and bit_num was set to 0 and run a second time set to 8. This also generates errors. Each bit was tested individually and the port information was also verified by: print(self.port.type.name) The available ports were also scanned. There is no AUXPORT to validate the DigitalPortType.AUXPORT portion of the statement. 0 FIRSTPORTA 1 FIRSTPORTB 2 FIRSTPORTC 3 FIRSTPORTCH 4 SECONDPORTA 5 SECONDPORTB 6 SECONDPORTCL 7 SECONDPORTCH 8 THIRDPORTA 9 THIRDPORTB 10 THIRDPORTCL 11 THIRDPORTCH 12 FOURTHPORTA 13 FOURTHPORTB 14 FOURTHPORTCL 15 FOURTHPORTCH Below is the UL Help page: So without knowing additional information the 96 channel data logger is reduced to 8 channels of output instead of the advertised 96 channels of DIO. tKinter was not mentioned. This inquiry is in scope. One additional note: If you refer to the list of ports above FIRSTPORTC should be FIRSTPORTCL.
  2. tKinter is not part of my original question. The scope of my question pertains to the Measurement Computing Hardware accessed by a Measurement Computing provided Example ULDO02.py. The basis of my inquiry is for an example ( a UI example) that accesses a different port other than the first port. If this is an impossible ask then that needs to be stated. Deflecting the discussion is not desirable.
  3. Can the same thing be accomplished using the example ULDO02.py? The UI app? That is the question. Thank you.
  4. In the example ULDO02.py what would you change if bit 90 was to be an output? If the port to configure is all FIRSTPORTA then the only update would be to change the value of bit_num. When the bit is changed to 90 an exception occurs.
  5. Has anyone gone beyond the first 8 bits for digital outputs in Python? I currently can only get the first port to operate without generating an exception. I am using a USB-DIO96H. Thanks.
  6. That is the point actually. It cannot be fully evaluated without digital I/O. If my first question was answered directly I would have had my answer. But Hey, who reads nowadays?
  7. It appears that I have to purchase a DIO logger to test any of the digital functions in DAQami. This is because there is no support for digital I/O on the DEMO BOARD. Is there an actual USB-1408FS-Plus unit plugged into your PC for you to provide the above screenshot?
  8. Looking to use the USB-DIO96H. I am hoping to explore what DAQami offers and make sure it works. I can write my own interface if needed. I'm more focused on how DAQami operates and is presented. Ideally the USB-DIO96H could be selected as a board. At first glance the DEMO BOARD doesn't allow for configuring all features of DAQami. There are no simulated outputs and no digital. Is that accurate?
  9. Yeah. Is there a way to see how counters or timing works?
  10. There a digital board or mixed I/O board that is available to demo? It seems that the functionality I would like to try is for digital inputs and digital outputs. Unless there is something I missed. Help would be appreciated.
×
×
  • Create New...