Millisecond Forums

Item values must specificy exactly 8 bits error on an 8 bit item

https://forums.millisecond.com/Topic16577.aspx

By peterandrewbaldwin - 6/23/2015

I am getting the following error message: "Item values must specificy exactly 8 bits: '0111001'."

Using the following code:

<port baseline3end>
/ port = lpt1
/ subport = data
/ items = ("01110100")
</port>

There are 20 other port elements in the script that are coded exactly the same way that are working fine.
To my eyes the above port element does specify an item value of exactly 8 bits. Has anyone encountered this? I may I have just completely missed something?
By Dave - 6/23/2015

> I am getting the following error message: "Item values must specificy exactly 8 bits: '01 11 00 1'."

/items = ("01 11 01 00")

Adding some spacing to the error message you reported as well as the provided <port> element's item, I think you may be looking at the wrong port element. The item detailed in the error message is clearly only 7 bits and doesn't appear to match the one in that <port> element.