12-17-2013 09:09 AM
Hello,
I am not that good with the labview and when I was trying to build some example I got a error as in the attached image.
Can some help me in creating a simple 1-d array of type double in labview2011.
Thanks.
Solved! Go to Solution.
12-17-2013 09:11 AM
You are trying to connect a 1D array with a double value.
Basicly you are connecting a table from 1x? to a single value.
12-17-2013 09:12 AM
Your array is fine.
The wiring error lets you know that you've wired an array into a sink that expects a scalar.
Are you trying to operate on the array or on the scalar?
You may need to index the array if you intend to operate on the scalar.
12-17-2013 09:12 AM
This context help entry doesnt help much in understanding your issue.
OK, we see your source is an 1D double array, the sink is a scalar double value. But what are source and sink? Control and Indicator?
I think you best walk throught the initial LV training steps provided as "Getting started".
hope this helps,
Norbert
12-17-2013 09:46 AM - last edited on 08-12-2024 05:58 PM by Content Cleaner
Go to Help>>Find Examples>> search for array>>open Build Array example.
-In the example they are using integer numeric control.
-If you want array of double type please change data type to double instead of I32.
12-17-2013 10:32 AM
Pleas post your VI so we can see what you've done. Then we can offer helpful suggestions.
12-17-2013 03:53 PM
Hi udka thanks,
It is workign now.