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
 Help with ReportData Output
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

DTerraza

Chile
2 Posts

Posted - 07/02/2018 :  12:30:33 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 2018 and Service Release (Select Help-->About Origin):
Operating System:win 10

Hello friends

I need help with rd command.

i have a data set of 13 different columns with thousands of values, i have to integrate a part of this data for each of the columns, and then print the result of the integrate function in a different workbook, with one row per column for example:

Row1: integrate result from Col(A)
Row2: integrate result from Col(B)
Row3: integrate result from Col(C) and so...

For now this is the script that i have (is not finished), but i need to know how to set the row number for each integrate. (With this script i only get values in the first row of book4)

integ1 iy:=(,Col(A)[63909:89800]) rd:=[Book4]Sheet1!;
integ1 iy:=(,Col(B)[63909:89800]) rd:=[Book4]Sheet1!;
integ1 iy:=(,Col(C)[63909:89800]) rd:=[Book4]Sheet1!;

in rd:=[Book4]Sheet1!; what i have to write to set the row?

Thanks in advance!

Castiel

343 Posts

Posted - 07/02/2018 :  04:53:31 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by DTerraza

Origin Ver. 2018 and Service Release (Select Help-->About Origin):
Operating System:win 10

Hello friends

I need help with rd command.

i have a data set of 13 different columns with thousands of values, i have to integrate a part of this data for each of the columns, and then print the result of the integrate function in a different workbook, with one row per column for example:

Row1: integrate result from Col(A)
Row2: integrate result from Col(B)
Row3: integrate result from Col(C) and so...

For now this is the script that i have (is not finished), but i need to know how to set the row number for each integrate. (With this script i only get values in the first row of book4)

integ1 iy:=(,Col(A)[63909:89800]) rd:=[Book4]Sheet1!;
integ1 iy:=(,Col(B)[63909:89800]) rd:=[Book4]Sheet1!;
integ1 iy:=(,Col(C)[63909:89800]) rd:=[Book4]Sheet1!;

in rd:=[Book4]Sheet1!; what i have to write to set the row?

Thanks in advance!



Do not set the row but change your input data like as iy:=(?,1:13)[63909:89800]


     #####
    #### _\_  ________
    ##=-[.].]| \      
    #(    _\ |  |------|
     #   __| |  ||||||||
      \  _/  |  ||||||||
   .--'--'-. |  | ____ |
  / __      `|__|[o__o]|
_(____nm_______ /____\____ 
Go to Top of Page

DTerraza

Chile
2 Posts

Posted - 07/02/2018 :  11:08:46 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Castiel! Thanks so much for your quick answer!

it works perfectly...

Can you explain me the arguments of the code to understand what means?

integ1 iy:=(?,1:13)[63909:89800] rd:=[Book4]Sheet1!;

(?,1:13) =

Thanks Again!!
Go to Top of Page

Castiel

343 Posts

Posted - 07/02/2018 :  9:49:24 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by DTerraza

Castiel! Thanks so much for your quick answer!

it works perfectly...

Can you explain me the arguments of the code to understand what means?

integ1 iy:=(?,1:13)[63909:89800] rd:=[Book4]Sheet1!;

(?,1:13) =

Thanks Again!!



https://www.originlab.com/doc/LabTalk/guide/Range-Notation#XY_Range_using_.23_and_.3F_for_X


     #####
    #### _\_  ________
    ##=-[.].]| \      
    #(    _\ |  |------|
     #   __| |  ||||||||
      \  _/  |  ||||||||
   .--'--'-. |  | ____ |
  / __      `|__|[o__o]|
_(____nm_______ /____\____ 
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