09-16-2013 06:17 AM - edited 09-16-2013 06:19 AM
Hi,
I'm trying to visualize a waveform from the oscilloscope (Rigol DS1064B) into the labview. The VI I am using is the example of Rigol (is attached). I do not know what can be the problem, all I do is choose the correct VISA resource name and click run continously?? I have to do something else?
More information in case it is useful:The signal input in the oscilloscope is 1000,000MHz and 5Vpp. And the scale of the oscilloscope is 500us and 1V. In the beggining of the VI the scales are -0,5 to 1 for amplitude (y axis) and 0 to 0,004 for time (x axis). But when I run the VI scales change to -1 to 1 for amplitude (y axis) and 0 to 1100 for time (x axis) and only see a horizontal line on the 0.
Anyone know what could be the problem?
Tanks in advance.
09-16-2013 06:30 AM
You are running you while loop in 100ms delay, How you will recognize the new updated data?
09-16-2013 07:35 AM
@Ranjeet_Singh wrote:
You are running you while loop in 100ms delay, How you will recognize the new updated data?
???? What is the relevance of this?
perikillo,
As you can see, the VI issues an autoset. The graph is also set to autoscale on the x and y axis as well as loose fit so the initial x and y values are not relevant.
What do you actuall see on the scope's screen?
p.s. Never, ever use Run Continuously until you know what it does. It is a special debug mode.
09-17-2013 05:13 AM
On the oscilloscope I see a correct sinusoid, which comes from the generator. But in the VI I see only a horizontal line.
09-17-2013 05:34 AM
The Read can be executed by itself. Open that and run it.
09-17-2013 05:45 AM
Do you mean run the attached file (to this post), right? And what result would give me the VI? I should see the waveform in the graph of the Read VI?
09-17-2013 05:48 AM
Of course you should see the waveform. You just need to select the VISA Resource Name.
09-17-2013 05:55 AM
Ok, thanks a lot. Tomorrow I will try it (today I have not the scope) and post the results.
09-17-2013 06:40 AM
@Dennis_Knutson wrote:
@Ranjeet_Singh wrote:
You are running you while loop in 100ms delay, How you will recognize the new updated data?
???? What is the relevance of this?
perikillo,
As you can see, the VI issues an autoset. The graph is also set to autoscale on the x and y axis as well as loose fit so the initial x and y values are not relevant.
What do you actuall see on the scope's screen?
p.s. Never, ever use Run Continuously until you know what it does. It is a special debug mode.
He is updating the waveform in 100 ms. If any new changes comes then how he will recognize it? May after 200ms old data may appear and stays till 2 sec hence looks like old datas still there
09-18-2013 05:21 AM
I tried using the VI Read and the result is the same, a horizontal line, nothing changes. I don't understand because doesn't work if it is only an Rigol's example. What do you think could be the problem. By the way the communication is USB.