Hello,
I have been using some python code that has been mentioned on previous related threads. Whilst attempting to perform a bitmap load onto the device I receive a USVTimeoutError: [Errno 10060] Operation timed out.
Interestingly, I was able to successfully load an image initially and have the the device function as normal (start the sequence). However, upon trying to load another image and repeat the process, I could never make it past the loading bitmap phase. Is there a solution to this problem. It appears from past threads, this may have been resolved, but the answer not published.
For reference, I can continue to run the "Pattern On-the-Fly Example" in the document DLPU018E Section 5.3).
Any help would be greatly appreciated,
K
---Current failure point of python code---
'
def bmpload(self,image,size):
packnum=size//30+1
counter=0
for i in range(packnum):
payload=[]
if i<packnum-1:
leng=convlen(30,16)
bits=30
else:
leng=convlen(size%30,16)
bits=size%30
leng=bitstobytes(leng)
for j in range(2):
payload.append(leng[j])
for j in range(bits):
payload.append(image[counter])
counter+=1
self.command('w',0x11,0x1a,0x2b,payload)
#print "package sent "+str(i+1)+"/"+str(packnum)
self.checkforerrors()
'