File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11
22VSVersionInfo(
33 ffi=FixedFileInfo(
4- filevers=(1,0 ,0,0),
5- prodvers=(1,0 ,0,0),
4+ filevers=(1,1 ,0,0),
5+ prodvers=(1,1 ,0,0),
66 mask=0x3f,
77 flags=0x0,
88 OS=0x4,
@@ -19,7 +19,7 @@ VSVersionInfo(
1919 StringStruct('InternalName', 'OsciFootswitch'),
2020 StringStruct('OriginalFilename', 'OsciFootswitch.exe'),
2121 StringStruct('ProductName', 'OsciFootswitch'),
22- StringStruct('ProductVersion', '1.0 ')]
22+ StringStruct('ProductVersion', '1.1 ')]
2323 )
2424 ]),
2525 VarFileInfo([VarStruct('Translation', [0x0409, 1200])])
Original file line number Diff line number Diff line change 2626# Version
2727# ----------------------------
2828
29- APP_VERSION = "1.0 "
29+ APP_VERSION = "1.1 "
3030
3131def get_git_version ():
3232 try :
Original file line number Diff line number Diff line change 11from .base import BaseScope
2+ import pyvisa
23
34
45# ----------------------------
@@ -110,6 +111,7 @@ def write_setup_data(self, data: bytes) -> bool:
110111 self .scope .write_termination = ''
111112 self .scope .read_termination = ''
112113 self .scope .write_raw (b":SYSTem:SETup " + payload )
114+ self .scope .flush (pyvisa .constants .VI_WRITE_BUF )
113115
114116 self .scope .write_termination = '\n '
115117 self .scope .read_termination = '\n '
Original file line number Diff line number Diff line change 11from .base import BaseScope
2+ import pyvisa
23from PIL import Image
34import io
45
@@ -81,6 +82,7 @@ def write_setup_data(self, data: bytes) -> bool:
8182
8283 # Send direct to device without any processing, as the setup file is already in the correct binary format
8384 self .scope .write_raw (data )
85+ self .scope .flush (pyvisa .constants .VI_WRITE_BUF )
8486
8587 self .scope .write_termination = '\n '
8688 self .scope .read_termination = '\n '
You can’t perform that action at this time.
0 commit comments