Raise event for sending chunks of bytes

Options
Hi,

How can I execute a Raise event while inside a Loop? I am sending an image in packages and it only triggers once. Many thanks in advance for the help!

EDIT: there was a tiny mistake in the code, Raise Event was working fine. Sorry for the inconveniences
This discussion has been closed.