def kei_instrument_query(instrument_object, command_to_send):
    """
        Purpose: Used to send commands to the instrument referenced via instrument_object and
                 obtain an information string from the instrument. Note that the information
                 received will depend on the command sent.

        Parameters:
            instrument_object - The instrument object variable that is used for instrument connection.

            command_to_send - The command string issued to the instrument in order to perform
                              an action.

        Returns:
            The string obtained from the instrument.

        Revisions:
            2019-06-03    JJB    Quick cleanup and documentation preparation for sharing.
    """
    received_string = instrument_object.query(command_to_send)
    return received_string