Discussions au sujet de NI LabVIEW

annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

Recevoir de donner d'un instrument

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:

alooooooooo.PNG

alooooooooooooooooooooooo.PNG

 

Cordialement,

 

0 Compliments
Message 1 sur 5
2 968 Visites

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

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Compliments
Message 2 sur 5
2 965 Visites

Hi GerdW,

j'ai essayé avec 99 bit mais ça m'affiche une erreur.

1.PNG

CaptureAAA.PNG

 

Thanks for your feedback

Best regards,

0 Compliments
Message 3 sur 5
2 952 Visites

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?)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Compliments
Message 4 sur 5
2 945 Visites

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,

0 Compliments
Message 5 sur 5
2 923 Visites