Jul-31-2021, 04:48 AM
Thanks everyone for your help! Your push-back caused me to cut the code (not the one shown here, but the bit-banger code) to a minimum.
The problem was a coding error associated with the following statement (not sure what the problem is here, but I can research that tomorrow):
print("adcnum: {0:d}, commandWord: {0:b}, channel: {0:d}".format(adcnum, commandWord, channel))
For some reason, the channel was being printed with the commandWord value.
Thanks again!
The problem was a coding error associated with the following statement (not sure what the problem is here, but I can research that tomorrow):
print("adcnum: {0:d}, commandWord: {0:b}, channel: {0:d}".format(adcnum, commandWord, channel))
For some reason, the channel was being printed with the commandWord value.
Thanks again!