AD5254 Command Format

Could someone show an example of connecting to an AD5254 digital pot?
The interface I’m using (VB.NET over Ethernet) works fine with a different piece of hardware. I have a 24-relay board (PR60-83) and I can read and write bytes without issue. The AD5254 docs (p.15) indicate I need to send three bytes, the first addresses the I2C, the second addresses the individual pot, and the last is the command to set the resistance. I’ve tried sending these bytes. I’ve tried sending the inverse of these bytes, and I’ve tried sending both in various ways, but the resistance doesn’t change on any of the pots.
I’m measuring between the wiper and an end terminal, but the resistance doesn’t change off of 5kΩ. In all cases the device returns -1 as its only response to a ReadByte() call. I’m using the WriteBytesAPI() method so that should handle the overhead for me.
Any suggestions?

hi,
did you test with any i2c ?

I did, and it worked! Thanks.

The AnyI2C form only allows for individual addressing of pots. Are there any examples of consecutive reads, writes, or the quick commands?