Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: too many indices for array #33

Open
lavachemist opened this issue Apr 28, 2020 · 0 comments
Open

IndexError: too many indices for array #33

lavachemist opened this issue Apr 28, 2020 · 0 comments

Comments

@lavachemist
Copy link

I get an Index error when I run 'p.write_block(0, layer)'

"Traceback (most recent call last):
File "", line 1, in
File "c:\openfl-master\OpenFL\Printer.py", line 327, in write_block
return self.write_block_flp(block, data)
File "c:\openfl-master\OpenFL\Printer.py", line 350, in write_block_flp
self.audit_laser_power_flp(flp)
File "c:\openfl-master\OpenFL\Printer.py", line 299, in audit_laser_power_flp
self.check_laser_ticks(p.power)
File "c:\openfl-master\OpenFL\Printer.py", line 304, in check_laser_ticks
mW = self.ticks_to_mW(power)
File "c:\openfl-master\OpenFL\Printer.py", line 513, in ticks_to_mW
self._laser_table[:,0] * float(0xffff) / 3.3,
IndexError: too many indices for array"

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant