def get_analog_latch_data(self, pin):
with self.pymata.data_lock:<EOL><INDENT>pin_data = self.analog_latch_table[pin]<EOL>current_latch_data = [pin,<EOL>pin_data[self.LATCH_STATE],<EOL>pin_data[self.ANALOG_LATCHED_DATA],<EOL>pin_data[self.ANALOG_TIME_STAMP],<EOL>pin_data[self.ANALOG_LATCH_CALLBACK]]<EOL>if pin_data[self.LATCH_STATE] == self.LATCH_LATCHED:<EOL><INDENT>self.analog_latch_table[pin] = [<NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>, None]<EOL><DEDENT><DEDENT>return current_latch_data<EOL>
This method reads the analog latch table for the specified pin and returns a list that contains:
[latch_state, latched_data, and time_stamp].
If the latch state is latched, the entry in the table is cleared

:param pin:  pin number

:return: [latch_state, latched_data, and time_stamp]