A possible solution to this (one I would use anyway) would be to use the synchronization functions (Functions/Advanced/Synchronization in LabVIEW 6i) for Semaphores, Notifications, or Occurences.
Setup the buffer output and port checking in seperate while loops. Then setup a semaphore to send a message from one loop to another (use the "Get Semaphore Status" vi).
Alternatively, you could setup a global variable that both loops would check periodically.