LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

elpased time

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

Download All
0 Kudos
Message 1 of 13
(3,412 Views)

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?

0 Kudos
Message 2 of 13
(3,406 Views)

can you tell me how to resend, i dont know exactly how to resend it

0 Kudos
Message 3 of 13
(3,402 Views)

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.

0 Kudos
Message 4 of 13
(3,389 Views)

i dont know much about state machine 

can you tell me how to resend

0 Kudos
Message 5 of 13
(3,374 Views)

For retransmission i ran the vi twice, i got the elapsed time 205msec

0 Kudos
Message 6 of 13
(3,338 Views)

Here is a KB on State Machines

http://zone.ni.com/devzone/cda/tut/p/id/3024

Applications Engineer
National Instruments
0 Kudos
Message 7 of 13
(3,311 Views)

 


@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.

 

0 Kudos
Message 8 of 13
(3,300 Views)

i dont know how to retransmit . what to do for retransmission. Can you explain me 

0 Kudos
Message 9 of 13
(3,286 Views)

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.

0 Kudos
Message 10 of 13
(3,226 Views)