Is it a recent signal generator which has LabView drivers available? And do you have a GPIB card & cable? If so, it is better to start with GPIB.
Usually, when drivers are available, it includes an example. That's a good place to start.
The other place to start is to use MAX (Measurement & Automation Explorer). Under "Devices & Interfaces" you should be able to see your GPIB card (usually GPIB0) and your ports (serial & parallel). You can also send commands to your instrument to verify the communication path.
However, if you do not have a GPIB card, you can rely on the serial port. I think most instrument still have that.
In either case, you will need the set of instructions (commands), or better a driver...
As I mentionned, the best w
ay to communicate with an instrument is through GPIB.
Have fun!!
-JLV-