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?