The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Use Values of a column as extract filter
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JimThieser

10 Posts

Posted - 04/09/2022 :  2:23:31 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:
Hi,
i would like to extract several data in a new datasheet.
We are for example a colum with the number of measurement..
And for each measurement we have several measurement points...
So it looks like

measurement Operatrionpoint
1 1
1 2
1 3
2 1
2 2
2 3
3 1
.
.
.

And now I would like to extract each Measurement in a new datasheet.
but I don't know how to get the right column indexs because the numer of operations point varies so i have no aquidistant difference between the measurements...

Any ideas???

Thanks

aplotnikov

Germany
169 Posts

Posted - 04/09/2022 :  4:43:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi JimThieser,

there are at least two possibilities - you can use either the wxt-X-function or the worksheet filtering.

In the first case you will get the list of indexes, in the second case you can simply read the filtered data to a string array and then assign the values (after conversion to numeric format) to a dataset. If you try to assign the filtered data directly to a (numeric) dataset you will get an array of the filtered numeric values but with empty entries for hidden rows, that is very inconvenient. If you use string array, you do not need to know indexes at all. And it works relatively fast.
This difference in assignment of filtered values exists in the most recent version, I have not checked previous ones.

Alexei
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000