Added ttl_to_ttl_nidaq