LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to speed up the data flow?

I am rather new to labview. Trying to build a groundstation. I communicate with a nanosatellite(made by students)via a rs232 cable for simulation and want a lot of data back to me. Voltage, current and temperatures over solarpanels, battery, satellite body etc. My problem is that it takes to long to get the values back via the cable. I get values only every third minute to my graphs. For instance if I want measurement result every twenty second, how do I do then? The blockdiagram is rather large and the data flow takes to long. The responding part is a ATMEL-processor(8bit).
0 Kudos
Message 1 of 3
(2,472 Views)
Without looking at your code, it's impossible to tell, BUT... on a modern PC, any operation which isn't EXTREMELY complex should not take 3 minutes. The most likely thing is that you have something artificially filling the time, like wait functions, timeout settings or the other party (your device). For example, the default timeout for the serial functions you're using is 10 secs. Even if there is something that's really taking that long, the nice thing about LV is that you can have parallel code simply by making parellel loops. You can have the data read constantly and moved to another loop where the lengthy calculations will take place. I suggest you post your code and let everyone have a look. Maybe someone will spot an obvious reason for this.

___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,464 Views)
Test response time for serial comms in Hyperterminal as a sanity check.
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 3 of 3
(2,443 Views)