LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating 1-D array of type double

Solved!
Go to solution

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.

 

0 Kudos
Message 1 of 7
(4,069 Views)

You are trying to connect a 1D array with a double value.

Basicly you are connecting a table from 1x? to a single value.

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 2 of 7
(4,065 Views)

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.

0 Kudos
Message 3 of 7
(4,062 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 7
(4,061 Views)
Solution
Accepted by topic author stefan57
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.
-Please check this also http://www.ni.com/white-paper/7571/en/
Thanks
uday
0 Kudos
Message 5 of 7
(4,037 Views)

Pleas post your VI so we can see what you've done.  Then we can offer helpful suggestions.

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
0 Kudos
Message 6 of 7
(4,014 Views)

Hi udka thanks,

It is workign now.

0 Kudos
Message 7 of 7
(3,977 Views)