LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I do not see the waveform correctly in the VI

With the waveform actually visible on the scope, I'm not sure what could be wrong. The VI is simply doing an Initiate and a Fetch. Is there any error indicated?

0 Kudos
Message 11 of 21
(1,356 Views)

Apparently there is no error. When I click Run, the VI doesn't tell any error. I only see the mentioned horizontal line.

0 Kudos
Message 12 of 21
(1,347 Views)
By default, the fetch is done on only channel 1. Are you sure this is the channel you have connected to the signal?
0 Kudos
Message 13 of 21
(1,342 Views)
Yes, I'm sufre of that. I am using the channel 1.
0 Kudos
Message 14 of 21
(1,334 Views)
I'm running out of ideas. Instead of using the autoset function, perhaps you will have better luck specifying the horizontal, vertical, and trigger parameters.
0 Kudos
Message 15 of 21
(1,324 Views)

Do you mean use the autoset of the oscilloscope or any autoset in labview (I don't know any autoset function in the labview). And in the other hand, can you tell me more about how to specify the horizontal, vertical, and trigger parameters,please?

0 Kudos
Message 16 of 21
(1,312 Views)
Yes, try using the scope without calling the scope autoset function.

There are functions in the driver to specifically set the vertical, horizontal, etc. Just like manually setting the parameters with the knobs on the front panel.
0 Kudos
Message 17 of 21
(1,307 Views)

Do you refer to the autoset in the scope? I don't use it, I just turn on the scope and connect the cable from generator and the usb cable.

 

I see in the driver folder called "Public" some VIs called Configure Trigger ... I guess you refer to these VIs. I didn't know that these VIs modify the behavior of the principal example. Is this so?

0 Kudos
Message 18 of 21
(1,297 Views)

Every time you ran the top level example you did an autoset. Did you even look at the block diagram?

 

You have an entire palette of scope functions - Instrument I/O>Instrument Drivers>Rigol DS1000 Series. All of those functions are for you to write your own code to control the scope. The examples are just that - a starting place. Since the example you are using relies on the autoset function, it's not even a very good example, imho. Try the Acquire Multiple Waveforms and see how the vertical and horizontal are set. Go to the main instrument driver network page and review the information on drivers, especially on how to use one.

0 Kudos
Message 19 of 21
(1,287 Views)

Ok, I will try it without the block called "autosetup.vi" and I'll post the result.

0 Kudos
Message 20 of 21
(1,278 Views)