Skip to content

Commit

Permalink
Update src/tm_devices/drivers/pi/scopes/tekscope_2k/tekscope_2k.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas Felt <[email protected]>
Signed-off-by: Joe <[email protected]>
  • Loading branch information
RoaCode and nfelt14 committed Oct 24, 2024
1 parent 672372a commit 2782f44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_available_data_sources(self) -> List[str]:
previous_header_state = self.query("HEADER?").split(" ")[-1] # Read previous header state
self.write("HEADER 1") # Turn on header state so SELECT query works correctly
source_string = self.query("SELECT?")
self.write("HEADER" + previous_header_state) # Return header state back to original
self.write(f"HEADER {previous_header_state}") # Return header state back to original

source_string = source_string.split(":")[-1] # Remove :SELECT: from beginning
source_list = source_string.split(";")
Expand Down

0 comments on commit 2782f44

Please sign in to comment.