Skip to content

LeCroy WaveSurfer 3054z - Crash on acquisition #996

Description

@rfdonnelly

When trying to acquire waveforms on the WaveSurfer 3054z, ngscopeclient crashes with:

terminate called after throwing an instance of 'std: : invalid_argument'
     what():  stoi
Aborted (core dumped)

And the scope reports several errors. I suspect ngscopeclient needs some tweaks to add support for this scope but I'm unsure how to proceed. Any pointers would be appreciated.

First scope error message:

 597.10.2025  20:20:17ErrorAS Interpretererror: command <VBS? app.Acquisition.Horizontal.SampleRate = 2000000> at token <>: parameter cannot be interpreted by this commandcommand <VBS? app.Acquisition.Horizontal.SampleRate = 2000000> at token <>: parameter cannot be interpreted by this command
Full scope log
07.10.2025  20:19:14InformationalRemote NetConnection accepted from: 169.254.201.128
 17.10.2025  20:19:14InformationalAS Interpreterreceived: *IDN?	
 27.10.2025  20:19:14InformationalAS Interpretersent: LECROY,WS3054Z,LCRY3710N45420,11.1.0
 37.10.2025  20:19:14InformationalAS Interpreterreceived: CHDR OFF
 47.10.2025  20:19:14InformationalAS Interpreterreceived: *IDN?	
 57.10.2025  20:19:14InformationalAS Interpretersent: LECROY,WS3054Z,LCRY3710N45420,11.1.0
 67.10.2025  20:19:14InformationalAS Interpreterreceived: COMM_FORMAT DEF9,BYTE,BIN
 77.10.2025  20:19:14InformationalAS Interpreterreceived: INR?	
 87.10.2025  20:19:14InformationalAS Interpretersent: 0
 97.10.2025  20:19:14InformationalAS Interpreterreceived: *OPT?	
 107.10.2025  20:19:14InformationalAS Interpretersent: I2C,SPI,UART,AFG
 117.10.2025  20:19:14InformationalAS Interpreterreceived: COMM_FORMAT DEF9,WORD,BIN
 127.10.2025  20:19:14InformationalAS Interpreterreceived: C1:TRACE?	
 137.10.2025  20:19:14InformationalAS Interpretersent: ON
 147.10.2025  20:19:14InformationalAS Interpreterreceived: C2:TRACE?	
 157.10.2025  20:19:14InformationalAS Interpretersent: OFF
 167.10.2025  20:19:15InformationalAS Interpreterreceived: C3:TRACE?	
 177.10.2025  20:19:15InformationalAS Interpretersent: OFF
 187.10.2025  20:19:15InformationalAS Interpreterreceived: C4:TRACE?	
 197.10.2025  20:19:15InformationalAS Interpretersent: OFF
 207.10.2025  20:19:15InformationalAS Interpreterreceived: C1:TRACE ON
 217.10.2025  20:19:15InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Trigger.Type'	VBS? 'return = app.Acquisition.Trigger.Type'
 227.10.2025  20:19:15InformationalAS Interpretersent: Edge
 237.10.2025  20:19:15InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Trigger.Edge.Level'	VBS? 'return = app.Acquisition.Trigger.Edge.Level'
 247.10.2025  20:19:15InformationalAS Interpretersent: -1.04
 257.10.2025  20:19:15InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Trigger.Edge.Slope'	VBS? 'return = app.Acquisition.Trigger.Edge.Slope'
 267.10.2025  20:19:15InformationalAS Interpretersent: Positive
 277.10.2025  20:19:15InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Trigger.Source'	VBS? 'return = app.Acquisition.Trigger.Source'
 287.10.2025  20:19:15InformationalAS Interpretersent: C1
 297.10.2025  20:19:15InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.C1.Invert'	VBS? 'return = app.Acquisition.C1.Invert'
 307.10.2025  20:19:15InformationalAS Interpretersent: 0
 317.10.2025  20:19:15InformationalAS Interpreterreceived: TRDL?	
 327.10.2025  20:19:15InformationalAS Interpretersent: 0E-3
 337.10.2025  20:19:16InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Horizontal.SamplingRate'	VBS? 'return = app.Acquisition.Horizontal.SamplingRate'
 347.10.2025  20:19:16InformationalAS Interpretersent: 1000000
 357.10.2025  20:19:16InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Horizontal.AcquisitionDuration'	VBS? 'return = app.Acquisition.Horizontal.AcquisitionDuration'
 367.10.2025  20:19:16InformationalAS Interpretersent: 0.1
 377.10.2025  20:19:16InformationalAS Interpreterreceived: C1:OFFSET?	
 387.10.2025  20:19:16InformationalAS Interpretersent: -2.41
 397.10.2025  20:19:16InformationalAS Interpreterreceived: C1:VOLT_DIV?	
 407.10.2025  20:19:16InformationalAS Interpretersent: 1
 417.10.2025  20:19:16InformationalAS Interpreterreceived: INR?	
 427.10.2025  20:19:16InformationalAS Interpretersent: 0
 437.10.2025  20:19:16InformationalAS Interpreterreceived: VBS? 'return = app.WaveSource.enable'	
 447.10.2025  20:19:16InformationalAS Interpretersent: 0
 457.10.2025  20:19:16InformationalAS Interpreterreceived: VBS? 'return = app.WaveSource.Amplitude'	VBS? 'return = app.WaveSource.Amplitude'
 467.10.2025  20:19:16InformationalAS Interpretersent: 0.1
 477.10.2025  20:19:16InformationalAS Interpreterreceived: VBS? 'return = app.WaveSource.Offset'	
 487.10.2025  20:19:16InformationalAS Interpretersent: 0
 497.10.2025  20:19:16InformationalAS Interpreterreceived: VBS? 'return = app.WaveSource.Frequency'	VBS? 'return = app.WaveSource.Frequency'
 507.10.2025  20:19:16InformationalAS Interpretersent: 1000
 517.10.2025  20:19:16InformationalAS Interpreterreceived: VBS? 'return = app.WaveSource.shape'	
 527.10.2025  20:19:17InformationalAS Interpretersent: Sine
 537.10.2025  20:19:17InformationalAS Interpreterreceived: VBS? 'return = app.WaveSource.load'	
 547.10.2025  20:19:17InformationalAS Interpretersent: HiZ
 557.10.2025  20:19:17InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Horizontal.SampleMode'	VBS? 'return = app.Acquisition.Horizontal.SampleMode'
 567.10.2025  20:19:17InformationalAS Interpretersent: RealTime
 577.10.2025  20:19:17InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Horizontal.SampleMode'	VBS? 'return = app.Acquisition.Horizontal.SampleMode'
 587.10.2025  20:19:17InformationalAS Interpretersent: RealTime
 597.10.2025  20:20:17ErrorAS Interpretererror: command <VBS? app.Acquisition.Horizontal.SampleRate = 2000000> at token <>: parameter cannot be interpreted by this commandcommand <VBS? app.Acquisition.Horizontal.SampleRate = 2000000> at token <>: parameter cannot be interpreted by this command
 607.10.2025  20:20:17InformationalAS Interpreterreceived: VBS? 'app.Acquisition.Horizontal.SampleRate = 2000000'	VBS? 'app.Acquisition.Horizontal.SampleRate = 2000000'
 617.10.2025  20:20:17InformationalAS Interpretersent: Permission denied
 627.10.2025  20:20:17InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Horizontal.SampleMode'	VBS? 'return = app.Acquisition.Horizontal.SampleMode'
 637.10.2025  20:20:17InformationalAS Interpretersent: RealTime
 647.10.2025  20:20:17InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Horizontal.SampleMode'	VBS? 'return = app.Acquisition.Horizontal.SampleMode'
 657.10.2025  20:20:17InformationalAS Interpretersent: RealTime
 667.10.2025  20:20:18InformationalAS Interpreterreceived: TRDL?	
 677.10.2025  20:20:18InformationalAS Interpretersent: 0E-3
 687.10.2025  20:20:24ErrorAS Interpretererror: command <VBS? app.Acquisition.Horizontal.SampleRate = 1000000> at token <>: parameter cannot be interpreted by this commandcommand <VBS? app.Acquisition.Horizontal.SampleRate = 1000000> at token <>: parameter cannot be interpreted by this command
 697.10.2025  20:20:24InformationalAS Interpreterreceived: VBS? 'app.Acquisition.Horizontal.SampleRate = 1000000'	VBS? 'app.Acquisition.Horizontal.SampleRate = 1000000'
 707.10.2025  20:20:24InformationalAS Interpretersent: Permission denied
 717.10.2025  20:20:24InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Horizontal.SampleMode'	VBS? 'return = app.Acquisition.Horizontal.SampleMode'
 727.10.2025  20:20:24InformationalAS Interpretersent: RealTime
 737.10.2025  20:20:24InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Horizontal.SampleMode'	VBS? 'return = app.Acquisition.Horizontal.SampleMode'
 747.10.2025  20:20:24InformationalAS Interpretersent: RealTime
 757.10.2025  20:20:24InformationalAS Interpreterreceived: TRDL?	
 767.10.2025  20:20:24InformationalAS Interpretersent: 0E-3
 777.10.2025  20:22:11InformationalAS Interpreterreceived: C1:ATTENUATION?	
 787.10.2025  20:22:11InformationalAS Interpretersent: 10
 797.10.2025  20:22:11InformationalAS Interpreterreceived: C1:COUPLING?	
 807.10.2025  20:22:11InformationalAS Interpretersent: D1M
 817.10.2025  20:22:11ErrorAS Interpretererror: command <VBS? return = app.Acquisition.C1.ActiveInput> at token <>: parameter cannot be interpreted by this commandcommand <VBS? return = app.Acquisition.C1.ActiveInput> at token <>: parameter cannot be interpreted by this command
 827.10.2025  20:22:12InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.C1.ActiveInput'	VBS? 'return = app.Acquisition.C1.ActiveInput'
 837.10.2025  20:22:12InformationalAS Interpretersent: Object doesn't support this property or method: 'app.Acquisition.C1.ActiveInput'	Object doesn't support this property or method: 'app.Acquisition.C1.ActiveInput'
 847.10.2025  20:22:12ErrorAS Interpretererror: command <VBS? return = app.Acquisition.C1.10.ProbeName> at token <>: parameter cannot be interpreted by this commandcommand <VBS? return = app.Acquisition.C1.10.ProbeName> at token <>: parameter cannot be interpreted by this command
 857.10.2025  20:22:12InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.C1.10.ProbeName'	VBS? 'return = app.Acquisition.C1.10.ProbeName'
 867.10.2025  20:22:12InformationalAS Interpretersent: Expected end of statement
 877.10.2025  20:22:12InformationalAS Interpreterreceived: BANDWIDTH_LIMIT?	
 887.10.2025  20:22:12InformationalAS Interpretersent: C1,OFF,C2,OFF,C3,OFF,C4,OFF
 897.10.2025  20:22:12ErrorAS Interpretererror: command <VBS? return = app.Acquisition.C1.ActiveInput> at token <>: parameter cannot be interpreted by this commandcommand <VBS? return = app.Acquisition.C1.ActiveInput> at token <>: parameter cannot be interpreted by this command
 907.10.2025  20:22:12InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.C1.ActiveInput'	VBS? 'return = app.Acquisition.C1.ActiveInput'
 917.10.2025  20:22:12InformationalAS Interpretersent: Object doesn't support this property or method: 'app.Acquisition.C1.ActiveInput'	Object doesn't support this property or method: 'app.Acquisition.C1.ActiveInput'
 927.10.2025  20:22:12ErrorAS Interpretererror: command <VBS? return = app.Acquisition.C1.Expected end of statement.ProbeName> at token <>: parameter cannot be interpreted by this ccommand <VBS? return = app.Acquisition.C1.Expected end of statement.ProbeName> at token <>: parameter cannot be interpreted by this command
 937.10.2025  20:22:12InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.C1.Expected end of statement.ProbeName'	VBS? 'return = app.Acquisition.C1.Expected end of statement.ProbeName'
 947.10.2025  20:22:12InformationalAS Interpretersent: Expected 'Function'	
 957.10.2025  20:22:12ErrorAS Interpretererror: command <VBS? return = app.Acquisition.C1.ActiveInput> at token <>: parameter cannot be interpreted by this commandcommand <VBS? return = app.Acquisition.C1.ActiveInput> at token <>: parameter cannot be interpreted by this command
 967.10.2025  20:22:12InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.C1.ActiveInput'	VBS? 'return = app.Acquisition.C1.ActiveInput'
 977.10.2025  20:22:12InformationalAS Interpretersent: Object doesn't support this property or method: 'app.Acquisition.C1.ActiveInput'	Object doesn't support this property or method: 'app.Acquisition.C1.ActiveInput'
 987.10.2025  20:22:12ErrorAS Interpretererror: command <VBS? return = app.Acquisition.C1.Object doesnt support this property or method: 'app.Acquisition.C1.ActiveInput'.ProbeName'>	command <VBS? return = app.Acquisition.C1.Object doesnt support this property or method: 'app.Acquisition.C1.ActiveInput'.ProbeName'> at token <>: parameter cannot be interpreted by this command
 997.10.2025  20:22:12InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.C1.Object doesn't support this property or method: 'app.Acquisition.C1.ActiveInput'.ProbeName'	VBS? 'return = app.Acquisition.C1.Object doesn't support this property or method: 'app.Acquisition.C1.ActiveInput'.ProbeName'
 1007.10.2025  20:22:12InformationalAS Interpretersent: Expected end of statement
 1017.10.2025  20:22:12ErrorAS Interpretererror: command <VBS? return = app.Acquisition.C1.AverageSweeps> at token <>: parameter cannot be interpreted by this commandcommand <VBS? return = app.Acquisition.C1.AverageSweeps> at token <>: parameter cannot be interpreted by this command
 1027.10.2025  20:22:12InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.C1.AverageSweeps'	VBS? 'return = app.Acquisition.C1.AverageSweeps'
 1037.10.2025  20:22:12InformationalAS Interpretersent: Object doesn't support this property or method: 'app.Acquisition.C1.AverageSweeps'	Object doesn't support this property or method: 'app.Acquisition.C1.AverageSweeps'
 1047.10.2025  20:22:13InformationalRemote NetDisconnecting
 1057.10.2025  20:22:25InformationalRemote NetConnection accepted from: 169.254.201.128
 1067.10.2025  20:22:25InformationalAS Interpreterreceived: *IDN?	
 1077.10.2025  20:22:25InformationalAS Interpretersent: LECROY,WS3054Z,LCRY3710N45420,11.1.0
 1087.10.2025  20:22:25InformationalAS Interpreterreceived: CHDR OFF
 1097.10.2025  20:22:25InformationalAS Interpreterreceived: *IDN?	
 1107.10.2025  20:22:25InformationalAS Interpretersent: LECROY,WS3054Z,LCRY3710N45420,11.1.0
 1117.10.2025  20:22:25InformationalAS Interpreterreceived: COMM_FORMAT DEF9,BYTE,BIN
 1127.10.2025  20:22:25InformationalAS Interpreterreceived: INR?	
 1137.10.2025  20:22:25InformationalAS Interpretersent: 0
 1147.10.2025  20:22:25InformationalAS Interpreterreceived: *OPT?	
 1157.10.2025  20:22:25InformationalAS Interpretersent: I2C,SPI,UART,AFG
 1167.10.2025  20:22:25InformationalAS Interpreterreceived: COMM_FORMAT DEF9,WORD,BIN
 1177.10.2025  20:22:25InformationalAS Interpreterreceived: C1:TRACE?	
 1187.10.2025  20:22:25InformationalAS Interpretersent: ON
 1197.10.2025  20:22:25InformationalAS Interpreterreceived: C2:TRACE?	
 1207.10.2025  20:22:25InformationalAS Interpretersent: OFF
 1217.10.2025  20:22:25InformationalAS Interpreterreceived: C3:TRACE?	
 1227.10.2025  20:22:25InformationalAS Interpretersent: OFF
 1237.10.2025  20:22:25InformationalAS Interpreterreceived: C4:TRACE?	
 1247.10.2025  20:22:25InformationalAS Interpretersent: OFF
 1257.10.2025  20:22:25InformationalAS Interpreterreceived: C1:TRACE ON
 1267.10.2025  20:22:25InformationalAS Interpreterreceived: INR?	
 1277.10.2025  20:22:25InformationalAS Interpretersent: 0
 1287.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.WaveSource.enable'	
 1297.10.2025  20:22:25InformationalAS Interpretersent: 0
 1307.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.WaveSource.Amplitude'	VBS? 'return = app.WaveSource.Amplitude'
 1317.10.2025  20:22:25InformationalAS Interpretersent: 0.1
 1327.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.WaveSource.Offset'	
 1337.10.2025  20:22:25InformationalAS Interpretersent: 0
 1347.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.WaveSource.Frequency'	VBS? 'return = app.WaveSource.Frequency'
 1357.10.2025  20:22:25InformationalAS Interpretersent: 1000
 1367.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.WaveSource.shape'	
 1377.10.2025  20:22:25InformationalAS Interpretersent: Sine
 1387.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.WaveSource.load'	
 1397.10.2025  20:22:25InformationalAS Interpretersent: HiZ
 1407.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Trigger.Type'	VBS? 'return = app.Acquisition.Trigger.Type'
 1417.10.2025  20:22:25InformationalAS Interpretersent: Edge
 1427.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Trigger.Edge.Level'	VBS? 'return = app.Acquisition.Trigger.Edge.Level'
 1437.10.2025  20:22:25InformationalAS Interpretersent: -1.04
 1447.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Trigger.Edge.Slope'	VBS? 'return = app.Acquisition.Trigger.Edge.Slope'
 1457.10.2025  20:22:25InformationalAS Interpretersent: Positive
 1467.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Trigger.Source'	VBS? 'return = app.Acquisition.Trigger.Source'
 1477.10.2025  20:22:25InformationalAS Interpretersent: C1
 1487.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.C1.Invert'	VBS? 'return = app.Acquisition.C1.Invert'
 1497.10.2025  20:22:25InformationalAS Interpretersent: 0
 1507.10.2025  20:22:25InformationalAS Interpreterreceived: TRDL?	
 1517.10.2025  20:22:25InformationalAS Interpretersent: 0E-3
 1527.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Horizontal.SamplingRate'	VBS? 'return = app.Acquisition.Horizontal.SamplingRate'
 1537.10.2025  20:22:25InformationalAS Interpretersent: 1000000
 1547.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Horizontal.AcquisitionDuration'	VBS? 'return = app.Acquisition.Horizontal.AcquisitionDuration'
 1557.10.2025  20:22:25InformationalAS Interpretersent: 0.1
 1567.10.2025  20:22:25InformationalAS Interpreterreceived: C1:OFFSET?	
 1577.10.2025  20:22:25InformationalAS Interpretersent: -2.41
 1587.10.2025  20:22:25InformationalAS Interpreterreceived: C1:VOLT_DIV?	
 1597.10.2025  20:22:25InformationalAS Interpretersent: 1
 1607.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Horizontal.SampleMode'	VBS? 'return = app.Acquisition.Horizontal.SampleMode'
 1617.10.2025  20:22:25InformationalAS Interpretersent: RealTime
 1627.10.2025  20:22:25InformationalAS Interpreterreceived: VBS? 'return = app.Acquisition.Horizontal.SampleMode'	VBS? 'return = app.Acquisition.Horizontal.SampleMode'
 1637.10.2025  20:22:25InformationalAS Interpretersent: RealTime

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdriverHardware drivers

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions