The answer to this question has more to do with the scope than anything else. Basically, you will most likely use LabVIEW to send the scope textual commands via TCP, if the scope does in fact have this functionality. I say this because generally, GPIB is used to interface with instrumentation rather than Ethernet.
LabVIEW comes with several excellent examples including those which illustrate using TCP to send and receive text messages. Please review these LabVIEW examples and apply them to the information in your scope's documentation.
If you ahve futher inquiries, please direct them to the Developer Exchange > LabVIEW General discussion forum rather than the Industrial Networks forum.