Arduino with Signal generator

How do I write codes for an arduino to receive inputs from a signal generator and output it in decimal?

'analogRead' and 'Serial.println' ?
Or does the sig gen have something like IEEE488?