01-27-2014 01:56 PM
Solved! Go to Solution.
01-28-2014 11:52 AM
Hello,
This seems to me like expected operation. The scope is rounding the desired value to the nearest allowed value and telling you that that is what it's set as.
What is the problem?
01-29-2014 01:01 AM
Hi Jim,
The problem is that I need a much better delay resolution than the 0.4us I get with CVI.
I know that with Labview at the same exact setting I can get resolution of 0.01us.
Also by running the same CVI code on other scopes (with same specs and setting) gives me the resolution I need.
Any idea how can I debug it?
01-29-2014 03:13 AM
What value is really sent to the scope ? You should see a VISA write with the lowlevel SCPI command string for that setting in SPY.
If this is allready the rounded value, you could look into the driver source code for the conditions for the rounding step width. To debug, you can use the Instrument-> Edit->Attach and edit source menu option. Then you can single step into the driver source.
If this is the unmodified value, you have to check the scopes manuals, why it is rounding.
In any case there may be another setting ( maybe the general time resolution), which influences the time resolution for that setting.
02-06-2014 02:39 AM
I found the reason...
The driver source code says:
/**************************************************************************************
* The resolution in old firmware version is 4ns, but 400ns in new
* firmware. So remove the old resolution from the driver source code.
checkErr( tkdpo4k_CoerceToResolution (vi, value, 4.0e-9, comparePrecision, &newValue));
***************************************************************************************/
checkErr( tkdpo4k_CoerceToResolution (vi, value, 400.0e-9, comparePrecision, &newValue));
Tektronix claim that this is not valid for my firmware...
Can someone help to complie new dll driver which is not limiting the resolution?
The source files and the original dll are attched.
02-06-2014 03:06 PM
01-08-2015 05:59 AM
Hi. I am using Tektronix MDO3014 scope and I have similar problem. When I am setting start time to 0 it is fine, but then it has resolution of 0.4us. So I can get values of 0 0.4us 0.8us and so on. The scope sampling frequency is 2.5 GS/s and it allows to move cursor with 40ns resolution. It has problem with resolution even if I am using tkdpo4k Example- Acq Wfm Edge Triggered. vi. How did you fix the driver?