You can place the Agilent oscilloscope vi that acquires measurements inside a while loop and continuously acquire data until a (or one of many) condition(s) is met.
If taking data continuously in "real-time" for a long period of time, you may be collecting a lot of data...
If many samples are taken for later review, you may want to place a "write to file" vi inside the same while loop and store the collected data to hard drive. Howver, since you want to be taking samples in real-time, you may want to store the values in a buffer (for instance, you can use a shift register and keep adding the values to an array). In that case, you could write to file outside the while loop.
If the data is collected over a long period, you could collect the data within a
loop, and write to file at regular intervals by placing a time-condition within the inner loop.
In short, yes, it is possible to collect data continuously.
Regards,
JLV