From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Too slow

Hello !

What is the best way to collect data from serial port. I have a bitstream
that
has the data and channel number from four devices in two byte packets.
It seems that the data acquisition and plotting can't be in the same loop
because
splitting the bitstream is so slow. At this moment I cant't figure out how
to handle this problem.
Any hints ? Examples ....
0 Kudos
Message 1 of 2
(2,217 Views)
Clearly, the limiting factor in your application is the serial port throughput (which includes both the data transfer times and the turn-around times of the devices you're talking to). Still if you are plotting the data to say a stripchart, the speed shouldn't be a problem.

Can you describe the interface a little more? How exactly does the serial interface to the instruments work? What is the format of the data coming back? What are you needing to do with the data after you've captured it?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,217 Views)