Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Rigol DS1104Z scope to capture X-Y made data to labview

Hello All, 

Long time reader, first time poster. 

I am trying to capture X-Y mode (V-I data sometimes called I think) from Rigol DS1104Z scope. I can set the scope up to enter XY mode in the Timebase config.vi, set the levels for Chan1 and Chan2, get the right waveform on the scope display BUT cannot get the data to exist in a meaningful and useful way in LabView. I have tried so many things I think I have probably missed the obvious solution at this point. 

Like I said the scope shows exactly what I want to capture but my attempts have been less than useful and I have no idea right now how to simply get the data from the scope for x, y and pot it in the XY graph or waveform graph in the vi I am trying to finish. I've checked the help/examples in labview lissajous example. When I use bits of that after setting up the scope and initiating the capture its a flat line in my vi, but the scope is showing the image perfectly. 

I am reasonably new to Labview and I am learning as I go at work (thankfully), any pointers to more info or any experience with Rigol scopes very appreciated. 

Thank You! 

 

0 Kudos
Message 1 of 2
(402 Views)

Post you code and we can help you debug it. 

 

I assume you are using the Rigol NI driver from here - https://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=88AF154718E95366E04400144FB7D...

Rigol also has other LabVIEW examples of how to use their scopes here - https://www.rigolna.com/support/software/?srsltid=AfmBOorZsfoWub2ZlVUyVDLBrdlx-k5cxagnNAhbG6pwW8_ZPr...

 

Generally scope drivers help you obtain the amplitude of your signal (Y) and you need to build the timebase (X) yourself based on the settings which you can then use in an X-Y plot.  It sounds like you aren't handling the timebase properly, or aren't scaling the plot to actually see the signal correctly.  Run your code, capture data, used the menu option Edit - Make Current Values Default, save your VI and post it here.

 

Craig

 

cstorey_0-1779382043590.png

 

0 Kudos
Message 2 of 2
(359 Views)