moralyan Posted December 8, 2011 Report Share Posted December 8, 2011 hellow everybody does anyone know how to build vi that calculates the rate of data transfer and indicates it on a monitor. i want to build an application to exchange files and i want to display the rate of data transfer. thank you Quote Link to comment
Tim_S Posted December 8, 2011 Report Share Posted December 8, 2011 Data transfer would be bytes per second. Bytes would be number of U8s or length of string. Seconds would be the dt between reads. It's pretty trivial from there. 1 Quote Link to comment
MarkCG Posted December 9, 2011 Report Share Posted December 9, 2011 What protocol are you using to transfer files? I would also be interested in this but more to see how much data is being transferred back and forth to view a remote panel. That's not something you can easily access AFAIK. 1 Quote Link to comment
moralyan Posted December 9, 2011 Author Report Share Posted December 9, 2011 i am using the TCP/IP transfer protocol, i have tried to build a timer that counts the time required for this problem, but it didn't work well. Quote Link to comment
JamesMc86 Posted December 12, 2011 Report Share Posted December 12, 2011 Commonly this would require you breaking your transfer down into chunks. You can then easily time each chunk as you would benchmark any VI (check the example finder) and knowing the size get to the bytes/second This chunking is going to happen in the tpc stack anyway so don't think it would add much overhead. Not aware of a way to time it whilst in the TCP write function. Cheers, James (null) 1 Quote Link to comment
Phillip Brooks Posted December 13, 2011 Report Share Posted December 13, 2011 If you are using FTP, transfer progress is buried inside the Internet Toolkit. If you want to be able to monitor progress, please consider voting for this Idea Exchange suggestion - Add progress functionality to Internet Toolkit FTP library. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.