06-04-2015 11:49 PM
i'm new to lab view.I have entered my code in formula node(which I built already) and want array to given as input to node.But don't know how to proceed
Solved! Go to Solution.
06-04-2015 11:54 PM
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
06-05-2015 12:43 AM
Hi vinomurthy.
When you connect the array to the input of the Formula node , input automatically switches to the array .
06-05-2015 06:28 AM
No actually I did that but showing 'Polymorphic terminal' error
06-05-2015 07:03 AM
Take the Introductory courses. Do the simple examples. Experiment with block diagrams, see how the various Structures work. Where possible, do not use Formula nodes -- almost anything you can do in a Formula node can be done with LabVIEW functions (you might need to look on some other palettes if you want some functions, such as sine or erf -- try the Mathematics palette).
BS
06-05-2015 07:22 AM
@vinomurthy wrote:
No actually I did that but showing 'Polymorphic terminal' error
When I add an input to the formula node and wire an array to it, I don't see any errors. I've never heard the error you describe.
Attach your VI.
06-05-2015 09:41 AM - edited 06-05-2015 09:47 AM
You have never told us what datatype the array elements are.
Numeric array will work fine. String arrays will not work, for example.
To get useful help, please provide all relevant information.
06-06-2015 03:38 AM
My aim is to get graph between columns in lab view if I upload csc file.If I plot graph in excel I'll get waveform for any no of cycles..In each cycle the data increases for particular time after reaching peak value it decreases,likewise it continues.I have tried this concept in lab view and have attached 2 files.One using formula node.Please anyone help me to proceed further.(Note:I will get 'time' data as ''05/08/2015 11:29:56:690'' so need only time neglecting date.here I have taken 15 min duration for each cycle)
06-06-2015 09:41 AM
It is exactly whata Altenbach said.
In your formula node, you defined array "a" as a float. You are wiring in a string array.
Try converting your string array to numbers then wiring that into the "a" terminal.
06-06-2015 11:00 AM
@vinomurthy wrote:
My aim is to get graph between columns in lab view if I upload csc file.If I plot graph in excel I'll get waveform for any no of cycles..In each cycle the data increases for particular time after reaching peak value it decreases,likewise it continues.I have tried this concept in lab view and have attached 2 files.One using formula node.Please anyone help me to proceed further.(Note:I will get 'time' data as ''05/08/2015 11:29:56:690'' so need only time neglecting date.here I have taken 15 min duration for each cycle)
WWell, these snippets are just one big mess. Can you at least attach a typical data file?