LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt about the storing one dimensional array

Solved!
Go to solution
Highlighted

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
(561 Views)
Highlighted
Solution
Accepted by topic author 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
(554 Views)
Highlighted

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
(505 Views)
Highlighted

@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. 🙂

 

 


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 4 of 8
(493 Views)
Highlighted

@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
(477 Views)
Highlighted

@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
(472 Views)
Highlighted

yes i did!

0 Kudos
Message 7 of 8
(463 Views)
Highlighted

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


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 8 of 8
(455 Views)