09-02-2015 10:00 PM
I was given a project, where I need to use labview to save the waveform in the spectrum analyzer automatically.
My spectrum analyzer is MS2724B from Anritsu. It is connected to the labview in my laptop using LAN cable, so it is "ping".
1. How should I read the data (waveform) from the spectrum analyzer and then write it to labview, so that I can see the waveform in labview?
2. After finishing step 1, what are the codes I needed to write in labview so that the spectrum analyzer can save the waveform automatically?
please help to solve the above problem
09-02-2015 10:14 PM
You can ping a device. A device can't be ping. The ping is just done to see if you have a connection.
You need to send commands via ethernet, likely TCP/IP connections. You'll need to know what those messages are. Once you figure that out, question two is trivial. Just use the "write to measurement file" express VI.
09-02-2015 10:24 PM
okay... we can use that vi to write, but I need to read the data from the spectrum analyzer in the first place. How to read the data then?
09-02-2015 10:26 PM
And where should I add the "write to measurement.vi"?
09-02-2015 10:32 PM
You need to read the communication manual for the device to see what command or commands you need to send, and how to parse the data out of any response it sends back.
Then you can write that to the Write to Measurement file within the same loop if you have enough time, or sent to a separate loop through queues in a producer/consumer architecture if you don't want the file writes to slow down the communication with the instrument.
09-02-2015 10:38 PM
I have zero knowledge in programming and does not know about programming. this is the first time I am doing it. Can you kindly teach me step by step?
I am using labview 2014
09-02-2015 11:08 PM
09-04-2015 09:35 AM
Several free links can be found at the bottom of this document.
https://decibel.ni.com/content/docs/DOC-40451
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord