Communication between Arduino and another device (I'm assuming a PC here) is simplest (and easiest to debug) if you use a text-based interface. For example:
void setup() {
Serial.begin(9600);
}
void loop() {
for (int i = 0; i < 6; i++) {
Serial.print(i);
Serial.print(":");
Serial.println(analogRead(i));
}
}
This will continuously read values from the analog ports and send them (as text) like this:
0:456
1:26
2:0
3:1023
4:321
5:1010
Ports are numbered from 0 to 5, then a colon (:) character is sent as a delimiter, then the analog value (from 0 to 1023).
This will repeat indefinitely, but you mention only sending data if there is activity. If you need something more sophisticated please expand on what you consider 'activity' (for example maybe you only want to send data if the analog value has changed since it was last read?).