I am sending this sequence of commands in order to get waveform data:
':STOP'
':WAVeform:SOURce CHAN1'
':WAVeform:POINts 500'
':WAVeform:FORMat ASC'
xincrement = send_and_readline(':WAVeform:XINCrement?')
signal = send_and_readline(':WAVeform:DATA?')
but I am able to get 500 points only when both channels are on, when only channel 1 is on then I got always only 496 points, why?
Hi Guys,
i have found that problem is when ACQuire:TYPE is Normal. When I have used Averaging then everything is ok.
Why there is a problem in Normal type?
Working example:
self.send_and_sync(":ACQuire:TYPE AVERage")
self.send_and_sync(":ACQuire:COMPlete 100")
self.send_and_sync(":ACQuire:COUNt 2")
self.send_and_sync(":DIGitize CHAN{}".format(channel))
self.send_and_sync(':WAVeform:SOURce CHAN{}'.format(channel))
self.send_and_sync(':WAVeform:POINts {}'.format(points))
self.send_and_sync(':WAVeform:FORMat ASC')
xincrement = self.send_and_readline(':WAVeform:XINCrement?')
signal = self.send_and_readline(':WAVeform:DATA?')