Jump to content

Travis Hunter

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Travis Hunter

  1. I am trying to write a value to a pin on my 96-pin MCCDAQ device, but it fails, giving error number 11, which means that the digital port number used in the d_bit_out command was invalid or does not exist. I supplied the number 22, which refers to 4th port A, according to the MCCULW documentation, which should be the proper port number associated with the specific pin I am trying to write to. Why is the software saying that port number 22 is invalid?
  2. i can use this when configuring the ports but that port also needs to be provided in d_bit_in and d_bit_out calls though using DigitalPortType.FIRSTPORTA doesnt give a valid port number.
  3. I am trying to assign half of the DAQ to input and half to output. it seems as though i could choose port A and port CL as input and Port B and port CH as outputs. i saw on another question that all ports are port number 10 yet in the documentation it says they follow the normal 10=A 11=B 12=CL and 13=CH so in python i used these numbers to assign each port but then on use it seems as though i need to use 10 on all pins 0-23. how do i correctly assign different functions to the pins if they use the same port number?
×
×
  • Create New...