Skilagig,
You posted this under the PXI forum, but I am assuming here that you are using CVI. Yes, you have to type in the callback function that is called. Make sure you prototype it at the top as well.
Daniel McChane
Application Engineer
National Instruments