is there a difference in sending a serial command at setup and during loop?

PaulS:

serialport = serial.Serial("/dev/ttyAMA0",115200);

serialport.write("^Power&\n");




No open? Opening the serial port resets the Arduino.

I forgot to mention that the arduino is powered externally. Serial3 is connected to the PI via GPIO

PaulS:

        response = serialport.readline(None);

response = response[0:2]



But, the Arduino sent a carriage return and line feed. What does None cause readline() to do?

None was part of an example I used. According to http://pyserial.sourceforge.net/shortintro.html the "None" parameter isn't listed as necessary. Its been removed and the python script still behaves the same.

I'll try and be more thorough in my posts in the future.