01-02-2014 11:23 AM
Hi,
the waveform is transfered from oscilloscope to graph with GPIB. if time/division and volt/division values of oscilloscope are changed, x and y axis's values of the waveform in the graph are not the same values of the waveform in the oscilloscope. I want that these values is the same. for this, What can I do?
have nice work
01-02-2014 11:55 AM
You have not provided nearly enough information. What make and model of scope? Are you using a driver from NI (Help>Find Instrument Drivers)? Are you creating a cluster with x0, dx, and y array or are you creating a waveform data type?
01-02-2014 01:55 PM
You could use a property node to change the scales of the graph when you change the scales on the scope. Use a property node.
01-03-2014 03:18 AM
the driver of oscilloscope is download from NI. to transfer the waveform, I use the driver(DSO function). in my code, I create y array and dx. waveform data type is DBL. to change the graph axes's values, I create time/division for x axis and volt/division for y axis. but when time/division and volt/division values of the oscilloscope are different from time/division and volt/division in the code, these axes'values are not the same. I want that these values are the same. What can I do?
01-03-2014 07:26 AM
@1085 wrote:
the driver of oscilloscope is download from NI. to transfer the waveform, I use the driver(DSO function). in my code, I create y array and dx. waveform data type is DBL. to change the graph axes's values, I create time/division for x axis and volt/division for y axis. but when time/division and volt/division values of the oscilloscope are different from time/division and volt/division in the code, these axes'values are not the same. I want that these values are the same. What can I do?
When you set the time/division and volt/division for the scope, you need to do the same to your graph. Or you can store the settings somewhere and only update the graph when you get the waveform.
01-03-2014 08:37 AM
Most, if not all scope drivers read the scope's x increment setting and the x axis is automatically set. Since you still have not provided the make and model or the driver you are using, it is impossible to say where the problem is.
01-08-2014 02:06 AM
model of the oscilloscope is Gw instek GDS-2204. if you want the driver function, I can send it.
01-08-2014 08:54 AM
If it's the driver from GWInstek's web site, then it appears to read the scopes horizontal position and sampling period to set the x0 and delta x. Do you see a problem when you run one of the examples? Since you are the one with the instrument, you may have to probe some of the values being used to set the waveform or contact GWInstek.
01-09-2014 02:13 AM
When I run the example VI, the waveform isnot transfer to graph.
01-09-2014 08:27 AM
Which example? What error do you get?