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


Author
Message
peterandrewbaldwin
peterandrewbaldwin
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 8, Visits: 17
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?
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
> 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.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search