09-27-2023 02:03 AM
Hello all,
I have actually downloaded a code on how to plot the S11 vs freq data from excel sheet in Labview. I am not able to understand what blocks have been used in the uploaded code (only glimpse of code have been uploaded). I am beginner to Labview. Help me understand how to code this. Especially the block in which "Value" is mentioned and also the "double boxed blocks"
Thanks,
Tejas R
09-27-2023 02:21 AM
Hi Tejas,
tejas87.g@gmail.com wrote:
I am beginner to Labview. Help me understand how to code this. Especially the block in which "Value" is mentioned and also the "double boxed blocks"
Those "double boxed blocks" are local variables - in a very old version of LabVIEW. Nowadays they have a more compact look. The same applies to the boolean constant, which got improved look ~10 years ago. (It's a TRUE constant in the image.)
The code in your image is just some initialization of a frontpanel items using their property nodes and locals.
Btw. "value" properties are the same as local variables!
I don't see how the code in this image will help you to plot data from an Excel worksheet in LabVIEW…
09-27-2023 04:15 AM
Hi GerdW,
Thanks for your reply.
I uploaded a glimpse of the code. Actually, I am facing issue in plotting the graph. To be specific, I have an excel sheet which contains only one column data, which was acquired from serial port. It is an S11 (reflected power) parameter data in dBm. Now I want to plot the same data with respect to frequency. Frequency is arbitrary.
I read the data from the excel file in Labview. But unable to plot the same data wrt frequency. How to achieve this?
Thanks
09-27-2023 04:24 AM
Hi Tejas,
tejas87.g@gmail.com wrote:
I have an excel sheet which contains only one column data,
Now I want to plot the same data with respect to frequency.
Frequency is arbitrary.
I read the data from the excel file in Labview.But unable to plot the same data wrt frequency. How to achieve this?
So frequency is "arbitrary", but you want to plot "with respect to frequency"???
Please define your requirements…
09-27-2023 04:26 AM
@GerdW wrote:Btw. "value" properties are the same as local variables!
Except the "data copy" (locals) vs sync'd with refresh rate (value property) difference of course 😋.
09-27-2023 04:27 AM
As mentioned, that's just some reset/initalization of controls and indicators. It'd be easier to call one Reset values to default.