LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial Send speed

Isn't it easier to set 255 as termination char?

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 11 of 24
(1,263 Views)

He / she needs to start reading when 255 encountered

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 12 of 24
(1,257 Views)

I did that but the transfer rate didn't change... (3 or four sets per seccond).

 

0 Kudos
Message 13 of 24
(1,251 Views)

Well how big is a set? How much data is discarded? How much data do you actually recieve?

2MB ~ 200kb of text.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 14 of 24
(1,247 Views)

I added a little information, how does this work?

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 15 of 24
(1,237 Views)

I attached an image from the front pannel when the program is running.

as you see the "bit/sec" indicator shows 188717 but it sometimes changes to 188008 bit/sec.

0 Kudos
Message 16 of 24
(1,222 Views)
What is the problem? You are successfully communicating at 2Mbaud. You don't get any errors. You don't get a buffer overflow so it would appear you are keeping up with whatever is transmitting.

What is actually transmitting? How big is each packet? How often is each packet sent?
0 Kudos
Message 17 of 24
(1,217 Views)

It's supposed to recieve 2,000,000 bit in every seccond but as you see in the JPG file the transfer rate is 188717bit/sec not 2mb/sec!!!

The transmeter sends data in a row continusly and the VI should start to read 5000bytes after recieving a "FF" byte and then after recieving consequent "FF" it recieves another 5000bytes and so on....

0 Kudos
Message 18 of 24
(1,202 Views)

No.  Your indicator is showing BYTES per second.

 

It looks like you should have about 11 bits per byte based on having 1 start bit, 8 data bits, and 2 stop bits.

0 Kudos
Message 19 of 24
(1,197 Views)

In other words ~2,000,000 bits/sec, or ~188717 bytes, with start and stop bits.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 20 of 24
(1,191 Views)