- Messages : 22
- Remerciements reçus 1
Résolution de problème : merci de consulter la FAQ et le Wiki
Aidez-nous à améliorer le contenu du Wiki et de la FAQ en les consultant. Le Wiki est mis à jour régulièrement et la FAQ permet une résolution rapide des principales embûches rencontrées. N'hésitez pas à nous faire parvenir vos suggestions d'amélioration sur le forum ou à éditer directement le Wiki ou la FAQ .
Serial Communication Enttec
- p.leijstra
- Auteur du sujet
- Hors Ligne
Moins
Plus d'informations
il y a 13 ans 2 mois #5705
par p.leijstra
Serial Communication Enttec a été créé par p.leijstra
Hi,
I have a simple question, and also hope there is a simple answer. But maybe someone can help me with some simple knowledge:
How does
:light communicate with the Enttec? I know it's serial communication via the libusbx driver, but what kind of data is send? Is it just an bytearray with DMX values?
Hope someone can clear this up.
Thanks in advance.
Piet
I have a simple question, and also hope there is a simple answer. But maybe someone can help me with some simple knowledge:
How does
:light communicate with the Enttec? I know it's serial communication via the libusbx driver, but what kind of data is send? Is it just an bytearray with DMX values?Hope someone can clear this up.
Thanks in advance.
Piet
Connexion pour participer à la conversation.
- sl1200mk2
-
- Hors Ligne
Moins
Plus d'informations
- Messages : 11491
- Remerciements reçus 1057
il y a 13 ans 2 mois #5713
par sl1200mk2
nicolas
Réponse de sl1200mk2 sur le sujet Serial Communication Enttec
Hi Piet,
the array is prepended with start code, label and some length info, and at the end, the End code is appended
hope this helps,
++
exactly, at the end of Sub/channel/curve/grandMaster/everything merge, I fill an unsigned char arry with dmx values I want to send to the usbPro (or everything that is usb/dmx).How does
:light communicate with the Enttec? I know it's serial communication via the libusbx driver, but what kind of data is send? Is it just an bytearray with DMX values?
the array is prepended with start code, label and some length info, and at the end, the End code is appended
hope this helps,
++
nicolas
Connexion pour participer à la conversation.
- p.leijstra
- Auteur du sujet
- Hors Ligne
Moins
Plus d'informations
- Messages : 22
- Remerciements reçus 1
il y a 13 ans 2 mois #5718
par p.leijstra
Réponse de p.leijstra sur le sujet Serial Communication Enttec
Hi,
Yess this really helps! Could you explain more about the start/end code and the label? is start and end that hex e7 used in the Enttec document? What label number do you use to send dmx values?
thanks allot!
Yess this really helps! Could you explain more about the start/end code and the label? is start and end that hex e7 used in the Enttec document? What label number do you use to send dmx values?
thanks allot!
Connexion pour participer à la conversation.
- sl1200mk2
-
- Hors Ligne
Moins
Plus d'informations
- Messages : 11491
- Remerciements reçus 1057
il y a 13 ans 2 mois #5724
par sl1200mk2
nicolas
Réponse de sl1200mk2 sur le sujet Serial Communication Enttec
start is 0x7E
end is 0xE7
label for sending is 6 (SET_DMX_TX_MODE)
++
end is 0xE7
label for sending is 6 (SET_DMX_TX_MODE)
++
nicolas
Connexion pour participer à la conversation.
- p.leijstra
- Auteur du sujet
- Hors Ligne
Moins
Plus d'informations
- Messages : 22
- Remerciements reçus 1
il y a 13 ans 2 mois #5725
par p.leijstra
Réponse de p.leijstra sur le sujet Serial Communication Enttec
HI, Thnx allot! I used a serial monitor to what a packet looks like (from d::light to enttec) this is wat i get:
7E 06 01 02 00 66 00 00 00 00 00 00 00 00 00 00 00 FE 7F
00 00 7F FE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 E7
The 7e and e7 are the start and end, the 06 is the label. Are the 01 and 02 the length info?
So if I would like to send commands from flash to the dongle, this is what i have to send right?
Your a really great help!
Thnx,
Piet
7E 06 01 02 00 66 00 00 00 00 00 00 00 00 00 00 00 FE 7F
00 00 7F FE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 E7
The 7e and e7 are the start and end, the 06 is the label. Are the 01 and 02 the length info?
So if I would like to send commands from flash to the dongle, this is what i have to send right?
Your a really great help!
Thnx,
Piet
Les utilisateur(s) suivant ont remercié: colinc
Connexion pour participer à la conversation.
- sl1200mk2
-
- Hors Ligne
Moins
Plus d'informations
- Messages : 11491
- Remerciements reçus 1057
Temps de génération de la page : 0.159 secondes
Français
English