Create a while loop that contains the Bytes At Port function. When the function returns a number greater than zero, exit the loop and call the VISA Serial Read function to read the bytes. Put all this in an outer loop to repeat over and over until a stop button is pressed or some other stopping action.