03-13-2011 06:41 PM
elapsed time :
i have to get transmitrates, frequency, allocated time for hash and signature, # of retransmissions
i found
Transmitrates 128bits
frequency 628 HZ
i got ( x-y ) = 102-105msec i think this is for hash and signature
can any one tell me how to calculate # of retransmission
03-13-2011 07:10 PM
Zero. You VI only runs once and you have no code to even request a resend. Please don't say your are using the run continuous button.
Your overall time is for the entire VI. I don't see how you can it does not include any of the other functions you have there. Did you run the profiler?
03-13-2011 07:18 PM
can you tell me how to resend, i dont know exactly how to resend it
03-13-2011 08:24 PM
To start with, you would need a while loop. I would then recomend state machine instead of that silly sequence structure. In a state that checks the data, set the next state to be either resend or send new. You would keep the last data sent in a shift register.
03-13-2011 11:42 PM
i dont know much about state machine
can you tell me how to resend
03-14-2011 06:27 PM
For retransmission i ran the vi twice, i got the elapsed time 205msec
03-15-2011 03:12 PM
Here is a KB on State Machines
http://zone.ni.com/devzone/cda/tut/p/id/3024
03-15-2011 03:45 PM
@naveen bhogadi wrote:
For retransmission i ran the vi twice, i got the elapsed time 205msec
Well, it's obviously not the same thing as doing a retransmit but if you want to call it that, that would be up to you. In another post of yours you also say you are using cryptography but of course you aren't encrypting the data at all so I guess your terms are different than mine.
03-15-2011 06:34 PM
i dont know how to retransmit . what to do for retransmission. Can you explain me
03-16-2011 09:43 AM
I did explain. In a state machine, you would keep the last packet sent in a shift register and just send that. Going back to the beginning an creating a new signal, converting it to digital, etc. is NOT a retransmit. Because you are not really sending anything anywhere, your retransmit time is going to be next to impossible to actually measure.