Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Display a Signal from an Instrument in a Waveform Graph?

Hi all,

I'm fairly new to LabVIEW and I am creating a HAL to control a spectrum analyser through VISA.

I can control all the settings of the instrument from the HAL, but I want to display the signal that the instrument is showing in a digital waveform graph on the front panel (mirroring the signal that is on the instrument's screen).

I have tried using the Simulate Signal VI but it does not create a signal that looks like the one on the spectrum analyser.

Any help is much appreciated!

0 Kudos
Message 1 of 2
(2,780 Views)

Hi there!

 

Do you think you could share a bit more of details on what you are trying to accomplish? Sharing a simple version of your code and maybe an image of what you would like to get would be useful. 

 

I am a bit confused on whether you are getting a digital or an analog signal from the device, Are you receiving a spectrum or a digital pulses train? If your goal is to show a signal similar to what is shown in the instrument's screen, we should probably get the data you are receiving from the instrument and display it directly instead of simulating a separated signal. Are you being able to receive data points from the device already?

 

WenR

0 Kudos
Message 2 of 2
(2,710 Views)