11-30-2018 02:15 PM
Hello,
Using a black-box approach, I am trying to calculate the number of Bytes/Sec on the client-side of a TCP connection. Without knowing the server-side number of samples (in this case: 128000) I need to determine the number of samples from the client-side Byte Read. I think I have enough information - see attached zip file. I need some help finding/calculating the number of samples/sec and determining Bytes/sec (client-side) using only the information received.
Thank you in advance for your help.
12-03-2018 05:37 PM
Hi,
Could you further clarify your problem statement? It's unclear to me what your question is. I understand you'll be reiterating yourself a little bit by doing this, but it should clear the air a bit.
1. What are your given (known) values?
2. What are you trying to calculate?
3. How are you trying to calculate it?
4. What specifically are you asking? Are you trying to figure out an equation? are you changing your code? Or something else?
As an aside, thanks for including a picture of your VI. That's often helpful for us to see.
Best,
Ben
12-04-2018 08:13 PM
Hi Ben,
Thank you for getting back to me. I was able to figure out the problem that I was having! 🙂 I had modified the SimpleTCP.lvproj Server.vi with the attached ConversionSubVI. I needed this subvi to measure throughput. On the client.vi-side I had to divide the BytesRead/by 8 to calculate the number of Samples. I used this solution as the input to my subvi and divided the BytesRead by the output of the subvi...if that makes any sense. Anyway, it worked!
Merry Christmas! 🙂
John
12-05-2018 12:31 PM
Hello,
Great! I'm glad you were able to get this fixed!
Best,
Ben