im having a few issues and spent forever looking through threads but still cant figure out why my graph or chart wont show more than one plot line?
can anyone suggest what i might be doing wrong?
tearing my hair out at this stage, still very much a beginner
any help greatly appreciated
Why do you use "cluster to array"? Wire the cluster directly to the chart. (Despite your subject title, charts and graphs are very different. Make sure you know the difference!)
(If you need help in the future, please attach the VI instead of showing an oversized, truncated picture with overlapping wires going in all directions.)
There are many more things wrong with your code, for example converting a scalar to an array with one elements does not make a lot of sense. You can compare two scalar with "min&max". Your "array" never has more than two elements and I doubt that's what you want. Start with a few simple LabVIEW tutorials. Also have a look at the ptbypt functions.
The best thing to do is to be certain you understand the difference between Charts and Graphs in LabVIEW. You also want to consider whether you are plotting data at a fixed point in time or time-varying data.
You seem to be new to the Forum, so probably don't know that it is minimally helpful to attach a mere picture of part of your Block Diagram -- attaching the VI itself (or, better, a compressed Folder holding the entire LabVIEW Project) makes it much easier for us to (a) understand what you are doing, (b) make constructive suggestions, (c) try your code and "find the errors", and (d) many other advantages.
It's also useful to have an understanding of the purpose of your code. In this case, you seem to be dealing with data, so why don't you describe the data, how you are acquiring it, whether it is "static" or "evolving over time", etc. Knowing the context is important in recommending techniques.
When you write a Reply, at the bottom of the Window you write in is a button called "Choose File" (left side -- the right side has the Cancel and Post buttons). Click "Choose File", you'll get a File Explorer window, find your VI, and click it to choose it. You can attach up to three files this way, or you can compress a folder of files (creating a .ZIP file on your disk) and attach the .zip (most of us know how to open these).
what is the best method to use if i want to replace the chart with a graph??
Replacing a chart with a graph is easy, just "right-click...replace...", but it won't make sense here. The best method requires you to understand the difference and chose what is correct for the task.
Please attach the entire code so we can get a better understanding of the problem.