LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to design loop or counter for measuring the data...

Solved!
Go to solution

Sorry for dimension..Its 3 column.

How to do that??

1) I want to make table for voltage, capacitance and force on front penal.

2) then I want to draw xy graph for capacitance vs. force.

These two task I want to do.

Thank you very much...

 

0 Kudos
Message 21 of 33
(1,147 Views)

An array with 3 columns is just an 2d array with more data. 

 

do you realize that the array for the graph only contains the last mesured value?

 

I have added your VI with a 3 column 2d array added and added a methode for creating a graph for capacitance vs. force.


Learning LabVIEW since January 2013
Message 22 of 33
(1,133 Views)

Thank you very much for reply its look fine.

I have one question that if I want to draw graph between voltage and capacitance or any other combinations then what should I have to do??

from where we can denot this axis ?

Please guide me.

Thank you very much once again for solution.

0 Kudos
Message 23 of 33
(1,128 Views)

Got it...

0 Kudos
Message 24 of 33
(1,126 Views)

Hello,

if I want to add array cluster to data sheet then what should I have to do.

And I also want to add columns title in the data spread sheet for example in my case voltage and one column title is capacitance and one title is force.

Please guide me.

Thank you very much.

0 Kudos
Message 25 of 33
(1,115 Views)

What you can do is use the spreadsheet to string and then add the column title from a different string. (see example)

 

some cleanup is requierd ( also of your code )

 

 


Learning LabVIEW since January 2013
Message 26 of 33
(1,100 Views)

Thank you very much for help.

I want to know about how can I select particular element form the table.

For example Here in attachment I have attached screen shot of my vi. In that one table is there I want to select first and last element which I have marked,how can I select that particular element.

I want to do so because I want to measure difference between first and last measured value.

Please guide me.

Thank you very much in advance.

0 Kudos
Message 27 of 33
(1,082 Views)

for this you can use "Index Array" give it the index of the array ( zero based ) and it will give you the data on the given index.

 

hope it helps. 


Learning LabVIEW since January 2013
0 Kudos
Message 28 of 33
(1,078 Views)

Thank you very much for your help.

That I got it but I don't know that how to select last element of the same column means I have to use some logic over there that when I press Stop button then the last value will be automatic detected and will  be displayed on front penal.

Here I tried to implement same logic means I have given the while loop counter state direct to the input of index array but the thing is in last when I press stop button then last detected element goes to  0 other wise everything is working fine.

How to do so.??

Please guide me.

Thank you very much once again.

0 Kudos
Message 29 of 33
(1,075 Views)
Solution
Accepted by topic author AnkitRamani

Like this.

final_BD.png

First one determent's the array size and the second one gives the correct dimension. The -1 is for the different between size and index.


Learning LabVIEW since January 2013
0 Kudos
Message 30 of 33
(1,063 Views)