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

Error with examples ln1 and ln2 #13

Open
larry104 opened this issue Apr 21, 2020 · 5 comments
Open

Error with examples ln1 and ln2 #13

larry104 opened this issue Apr 21, 2020 · 5 comments

Comments

@larry104
Copy link

larry104 commented Apr 21, 2020

Hi there,

when running the ln1/2 examples I get the following error after a few seconds:
`2020/04/21 11:22:17 Listening...
2020/04/21 11:22:17 Found DAC at 10.20.22.70:7654
Begin: Light engine: state 0, flags 0x0
Playback: state 2, flags 0x1170
Buffer: 800 points
Playback: 24000 pps, 0 points playedSource: 0, flags 0x0

ERROR: Expected ACK, got I
`
Any idea where this is coming from? I have the etherdream2 with the latest firmware r310-4288429.

@tgreiser
Copy link
Owner

I haven't tried it with ether dream 2. I just updated master with some extended protocol debugging info in place of that error message. Want to try again?

@larry104
Copy link
Author

This is what I get now ...

2020/04/21 12:32:05 Listening...
2020/04/21 12:32:06 Found DAC at 10.20.22.70:7654
Begin: Light engine: state 0, flags 0x0
Playback: state 2, flags 0x1170
Buffer: 800 points
Playback: 24000 pps, 0 points playedSource: 0, flags 0x0

ERROR: Expected ACK, got d Resp=I
Light engine: state 0, flags 0x0
Playback: state 0, flags 0x1172
Buffer: 0 points
Playback: 0 pps, 0 points playedSource: 0, flags 0x0
ERROR: Expected ACK, got d Resp=I
Light engine: state 0, flags 0x0
Playback: state 0, flags 0x1172
Buffer: 0 points

@larry104
Copy link
Author

Laser was not tuned on ... here ln1 - that seems to run now - a static cube
2020/04/21 12:38:10 Listening...
2020/04/21 12:38:11 Found DAC at 10.20.22.70:7654
Begin: Light engine: state 0, flags 0x0
Playback: state 2, flags 0x11c0
Buffer: 799 points
Playback: 24000 pps, 1 points playedSource: 0, flags 0x0

ln2 errors out.

2020/04/21 12:40:06 Listening...
2020/04/21 12:40:07 Found DAC at 10.20.22.70:7654
Begin: Light engine: state 0, flags 0x0
Playback: state 2, flags 0x11c0
Buffer: 800 points
Playback: 24000 pps, 0 points playedSource: 0, flags 0x0

ERROR: Expected ACK, got d Resp=I
Light engine: state 0, flags 0x0
Playback: state 0, flags 0x11c2
Buffer: 0 points
Playback: 0 pps, 0 points playedSource: 0, flags 0x0
ERROR: Expected ACK, got d Resp=I
Light engine: state 0, flags 0x0
Playback: state 0, flags 0x11c2
Buffer: 0 points

@tgreiser
Copy link
Owner

I'm not really sure. You might need to do some protocol debugging. You can get a little more info by running ln2 with -debug and there are protocol docs here. https://ether-dream.com/protocol.html

This project should be considered semi-abandoned and for mostly educational purposes.

@larry104
Copy link
Author

ok then - I will play with it. Thanks!

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

2 participants