02-02-2024 01:05 PM
Hello,
I am trying to read and record a signal displayed on my oscilloscope to LabVIEW. I am trying to use a read VISA to read data and try to output the raw data and output a waveform chart on the VI. I am a beginner and still learning. The end goal is to measure current from a circuit and I want the data transferred from the oscilloscope to Lab VIEW through a waveform or values if possible. Any help would be greatly appreciated!
02-02-2024 01:16 PM
Tektronix has published a driver you can try out here: https://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=6E23DB10D9FC2B05E04400144FB7D...
02-02-2024 01:25 PM
I installed the drives and tried to use them with the oscilloscope, but there were too many errors. So I tried to make a simple program to read the data. But I am not sure if I'm using the VISA read correctly. Is there a way to correct my current program to work?
(I am getting timeout errors)
02-02-2024 01:33 PM
The VI you uploaded contains only a Read VI, not a Write VI. You need to use Write to send a command first, then interpret the data you get back.
I would also recommend using the VIs Gregory mentioned. If you get "too many errors" then you should post what those errors are here.
02-02-2024 01:50 PM
So I can't use a VISA read by itself to receive data from an oscilloscope? I have to first write a command then read that command? Where would the data from the oscilloscope come into play?
02-02-2024 02:16 PM
The instrument doesn't know to send anything unless you tell it that you want something. In this case, there is a command to specifically ask for the waveform data. You must write that and then you can read the data from the instrument. You then have to interpret the data accordingly.
OR
You can just use the supplied drivers that should do all of this for you. There are usually examples with the drivers to show how to do something. If you are getting errors, show us the VI you have written and tell us what errors you are running into.