le 03-01-2019 02:34 AM
Bonjour,
j'ai besoin de votre aide s'il vous plait.je veux prendre certaines informations d'un décodeur(Récepteur de TV) c'est à dire ces identifications.
Ficher log: interaction entre PC et STB
Lecture SNCIE..
[13:24:20:853] [PC > STB]
FLASH_Read CIE_SN CIE_INDICE CIE_CODE
[13:24:21:163] [PC < STB]
FLASH_Read CIE_SN CIE_INDICE CIE_CODE
CIE_SN = 70739058025170
CIE_INDICE = G1
CIE_CODE = 25377178-6
je veux traduire tous ça avec Labview et je veux l,'affichage sur Labview.
Ce code labview m'affiche warning:
Cordialement,
03-01-2019 02:43 AM - modifié 03-01-2019 02:45 AM
Hi fez,
that's only a warning.
Most probably because of your wrong usage of BytesAtPort!
When you configure the serial connection to use a TermChar then just request more bytes than your largest message will have. (With the devices I use "99" is a good number to request.)
Btw. in the English LabVIEW forum you should write English messages. Otherwise there is a French community…
le 03-01-2019 03:03 AM
Hi GerdW,
j'ai essayé avec 99 bit mais ça m'affiche une erreur.
Thanks for your feedback
Best regards,
le 03-01-2019 03:49 AM
Hi fez,
you still failed in writing an English message in this board…
I don't know which device you are talking to. All I see from your image: you configure the serial port to use the default TermChar (LF aka 0x0A) and you enable that TermChar. Apparently your device doesn't answer within the timeout time with a message of atleast 99 bytes or sending that TermChar.
So either your serial port configuration is wrong (again: which device? Which protocol?) - or your device doesn't answer in the expected way (again: which device? Which protocol?)…
le 03-06-2019 02:42 AM
Hi GerdW?
I work in a company that manufactures TV receivers and I am worth every time and every product to determine these identifications SN / INDEX / CODE.
for this I want to send a read command of SN / INDEX / CODE as it is shown in the interactions between PC and STB and I get these identifications.
interaction entre PC et STB
Lecture SNCIE..
[13:24:20:853] [PC > STB]
FLASH_Read CIE_SN CIE_INDICE CIE_CODE
[13:24:21:163] [PC < STB]
FLASH_Read CIE_SN CIE_INDICE CIE_CODE
CIE_SN = 70739058025170
CIE_INDICE = G1
CIE_CODE = 25377178-6
Best regards,