LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt about the storing one dimensional array

Solved!
Go to solution

hey Guys,

 

I have been working on example problem from the book ( Hands -On Introduction Labview for scientist and engineers by John Essick). I have created the math script to generate the sinewave and other types of user difened wave using ENUM. 

the Program works fine as follow. 

practice.png

For 2nd step u need to open new VI and store the data in spreadsheet file.

as follow given in the book

2.png

Problem : Whenever I try to do that. it show the following error

3.png

I have attached the following file too

1. Waveform subvi (Imported into the new one)

2. VI having error in storing the data

 

Download All
0 Kudos
Message 1 of 8
(2,404 Views)
Solution
Accepted by skdubey

Do you mean you have a question about arrays?  Doubt mean you don't believe they exist.

 

Your problem is you are using unbundle by Name.  But in your subVI, your arrays don't have a name, so when you bundle them, you don't have a way of referencing them.

 

You have a couple options.

1.  Use Unbundle instead of Unbundle by Name.

2.  In your subVI, show the labels on the two arrays you have in  your cluster indicator and give each one of them a name.

 

Message 2 of 8
(2,397 Views)

thanks 

 

Unbundle works but still I cant see the name there. 

But i can see the file save. 

thanks

0 Kudos
Message 3 of 8
(2,348 Views)

@RavensFan wrote:

Doubt mean you don't believe they exist.


The word "doubt" for "question" is quite common. We typically see it from people that speak Portuguese, but maybe also others.

 


@skdubey wrote:

Unbundle works but still I cant see the name there. 


Did you really name the cluster elements as suggested.

 

Overall, it seems a total waste of resources to recruit matlab script for a few simple functions. I would recommend to try a pure g implementations. 🙂

 

 

0 Kudos
Message 4 of 8
(2,336 Views)

@altenbach wrote:

@RavensFan wrote:

Doubt mean you don't believe they exist.


The word "doubt" for "question" is quite common. We typically see it from people that speak Portuguese, but maybe also others.

 

I find it is very Indian.  Just because it is common doesn't make it right.  They have very different meanings underlying those two words.

 


@skdubey wrote:

Unbundle works but still I cant see the name there. 


Did you really name the cluster elements as suggested.

 

Overall, it seems a total waste of resources to recruit matlab script for a few simple functions. I would recommend to try a pure g implementations. 🙂

 

 


 

0 Kudos
Message 5 of 8
(2,320 Views)

@skdubey wrote:

thanks 

 

Unbundle works but still I cant see the name there. 

But i can see the file save. 

thanks


Then I "doubt" you did what I said.

 

Did you give names to the arrays inside the cluster inside the subVI?

0 Kudos
Message 6 of 8
(2,315 Views)

yes i did!

0 Kudos
Message 7 of 8
(2,306 Views)

Could it be you named the array elements instead of the two arrays (inside the cluster)

0 Kudos
Message 8 of 8
(2,298 Views)