def char_waveform(length):
    """
    Helper function for creating a char waveform PV.

    Args:
        length: The length of the array.

    Return:
        The dictionary to add to the PVDB.
    """
    return {'type': 'char', 'count': length, 'value': [0]}