LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help whith my program

Hi,
I am making a program that communicates with my VNA MS46122B, the program in question should not be difficult but I can't find any documentation regarding the driver of the instrument (MS46XXX).
The objective of the program is to measure the parameter S12 "n" times and save the values in a .txt file, can you help me to see if what I did is right?

 

Jufraka_0-1706102231452.png

 

On the other hand I would like to be able to make a variable to change the frequency or the range of frequencies to be measured.



0 Kudos
Message 1 of 3
(738 Views)

You have connected output value to COM Ref Shift Register which is not the correct method.

 

Connect the Reference to Shift register other end and Use Indexing or String Concatenation to capture all the output values.

 

Range of frequencies, Is it fixed now? where it is handled?

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 3
(716 Views)

As has been mentioned, you are making glaring wiring mistakes, so you should probably start with some basic tutorials.

 

  • A proper program has a toplevel loop and some kind of architecture
  • I don't think you need to initialize the device with every iteration of the FOR loop
  • Your ms constant has he wrong representation
  • LabVIEW does not have "variables". Do you want a control to change the frequency range? Do you know the instrument commands for that?
  • Saving an instrument resource is probably not a reasonable operation for what you are trying to do.
  • Maybe you want to open the file before the loop and append data as it arrives.

If you want help, you need to attach your VI. images of a diagram are relatively useless.

0 Kudos
Message 3 of 3
(672 Views)