LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Framing Issue

Hello,

I have been working to transmit signal on serial port the data is 000 001 002 and so on.

The problem occurs that on 001(for a case) it sometimes make it 100 or 010.

So pls tell me how could I solve this problem and what is the actual reason for this.

Regards

0 Kudos
Message 1 of 4
(2,489 Views)

And even sometimes starts giving output as ASCII Codes. instead of Numeric values.

0 Kudos
Message 2 of 4
(2,484 Views)

Hi, are you sending the right amount off byte?

 

for example, if you send 000 001 002, you need 11 bytes (2 used for the space)

 

if you send only 8 bytes for example, you will send

000 001 , then 002000 0, then 00 001 0 and so on.

 

It is not sure that the issue is there, but it's a possibility. Having the code would make things easier.

Giuliano Franchetto
Student at the l'Ecole Nationale Supérieure des Mines de Saint-Etienne, cycle ISMIN (FRANCE)
0 Kudos
Message 3 of 4
(2,472 Views)

Thanks Giuliano Franchetto

The data is coming as 001 i.e for a value of 0 and the location of 1 changes from the most right to center and left.

The code is the advance serial r/w present in the example, just i have added a waveform chart on the output stage.

Regards 

0 Kudos
Message 4 of 4
(2,462 Views)