LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about assign 1d clusters of array with 8 elements to 8 double [64-bit real(~15digit precision)]

Hi,

I have no idea that how to assign 1d clusters of array with 8 elements to 8 single numeric constants.

Could you give me some suggestions on the methods and what widgets should I use in block diagram to do this.

Any help will be appreciated and thanks in advance.

0 Kudos
Message 1 of 5
(2,924 Views)

It's hard to say without seeing specifically how you data is set up.

 

Attach a VI that contains the data you have, and an indicator that is setup to what you want.  (8 double, is that 8 scalars?  an 8 element array?)

0 Kudos
Message 2 of 5
(2,908 Views)

I have attatched two files in the attatchment. One is test.vi(the block diagram), another is VI that contains the data (niScope Multi Fetch Array Measurement Cluster.vi) 

I want 8 double scalars from 1d clusters of array with 8 elements in wfm info contained the data in NI scope multi fetch array measurement cluster.vi.

Thanks.

Download All
0 Kudos
Message 3 of 5
(2,900 Views)

Use Index Array to get the 1st cluster element out of the array.  (What do you want to do with all the other elements in that array?)

 

Unbundle by Name to get each element of that cluster.

0 Kudos
Message 4 of 5
(2,890 Views)

Now it works, I am new learner in labview and just as practice purposes.

Thank you very much.

0 Kudos
Message 5 of 5
(2,872 Views)