Trying the command as below:
But I always got 20K data length , not 50K that I set.
I have looked for the programming manual P.439.
In the manual, it could be use “DATa: STARt and DATa: STOP” command to determine what range I want to save.
But in real, it not so.
Or what command could change the attachment - red block value?
- 1.png (44.14 KiB) Viewed 7712 times
- scope.jpg (251.84 KiB) Viewed 7712 times
The DATa:STARt and DATa:STOP commands are supposed to set the saved waveform range but this is a bug that was found after the scope was discontinued. A work around is to use the CURVe? command. The difference between "SAVe:WAVEform" and "CURVe?" is that SAVe:WAVEform will save the file to the scope while CURVe? will return the values to the PC. Then the PC running the script will have to save the results as a csv. Below is an example of the commands to send
values = CURVe?
fid = fopen('Results.csv', 'w+');
for i=1:size(values, 1)
fprintf(fid, '%s ', values(i,:));
Who is online
Users browsing this forum: Bing [Bot] and 5 guests