Jump to content

Recommended Posts

Posted

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

Posted

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.

  • Like 1
Posted

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.

  • Like 1
Posted

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)

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.