03-06-2023 05:06 PM
03-06-2023 07:17 PM
I see poor, hard-to-read, impossible to understand pictures of a screen that may be showing some LabVIEW code. There is no question asked (except, maybe, by the title of the Post). Please attach all of the LabVIEW code (which are files that you write with the extension .vi or .ctl) and explain what you are trying to do. If data are involved, be sure to attach the data in some useable form.
Bob Schor
03-07-2023 12:18 AM
Flat code without a top level loop and just a 20 (!!) frame stacked sequence is not something that can be analyzed from a few photographs of a monitor. Modern code should not have any stacked sequence.
Attach a simplified version of the code related to the question, provide some input data (two strings?), and explain what you want to get out of it.
03-07-2023 06:08 AM
Hi, I actually I post brief about the question. Unfortunately I found it’s not posted.
I want to get output 2D array from this string indicator output data (as in image 1 & 2). Image 2 block diagram I have used to connect block diagram of image 1 & 2. As you can see (image 5) I have get some output in string indicator (freq) and string indicator 2(Ampl). Now want to convert these output from string to 2 D array. So I have tried this block diagram(in image 4) but I did not got any output data you can see in image 6.
Mainly I want to know how can I receive output data of those two string indicator and convert those data in 2 D array. So that finally can plot Amplitude vs frequency (x vs y) graph using those two data obtained in string output.
I will really appreciate your responses.
Thank you.
03-07-2023 06:25 AM
Upload your code, the pictures don't give the full story
03-07-2023 08:21 AM
You won't get any helpful advice until you upload your VI like LHarris suggested.
03-07-2023 08:59 AM - edited 03-07-2023 09:01 AM
Your string indicator seems to be a comma delimited table of floating point values, but we cannot tell if there are any linefeeds, so it is either a 1D (no linefeeds) or 2D DBL array.
Simply wire it to "spreadsheet string to array", set the delimiter to comma, the format to %f, and the type to either a 1D or 2D DBL array.
If you need more help, run your VI until that string indicator has data as shown in your picture. Then stop the VI and right-click the string terminal and "create constant". Copy that constant to a new VI and attach it here.
03-07-2023 01:03 PM - edited 03-07-2023 01:42 PM
Hi all,
Thank you for your response as well as suggestions.
Actually I have used “stacked sequence structure” which have total 16 case structure. In between each case structure I have added wait time of 30 sec. I have attached the drive link for stacked sequence herewith.
“Repetition of the question”
I want to get output 2D array from this string indicator output data. As you can see (in front panel) I have get some output in string indicator (freq) and string indicator (Amp). Now want to convert these output from string to 2 D array. So I have tried this block diagram (16 on sequence) but I did not got any output data you can see in array and graph of “front panel”.
Mainly I want to know how can I receive output data of those two string indicator and convert those data in 2 D array. I am unable to receive that two string output data to get data in 2D array. So that finally I can plot Amplitude vs frequency (x vs y) graph as well as extract numerical data in .csv.
Please find the attached link of google drive which have the .VI file as well as some images.
Thank you all for your time.
https://drive.google.com/file/d/1LFh3ViKGXrDbgEPeM6m6mojJCmHIy6bY/view?usp=share_link
03-07-2023 01:06 PM
You really (really!!!) need to stop posting endless numbers of blurry photographs! They are completely useless for us and just clutter the forum.
03-07-2023 02:26 PM - edited 03-07-2023 02:27 PM
What is your purpose for not uploading a VI? You have been told multiple times by other forum members that blurry images to not help in solving your question.
PLEASE upload your VI so we may help solve your problem.