| Author |
Topic  |
|
|
fgemmerich
Brazil
3 Posts |
Posted - 10/03/2018 : 12:10:05 PM
|
Origin Ver. and Service Release (Select Help-->About Origin): 2018b 64 bit Operating System: Windows 10
Hello to all,
I have a signal of position (x) as a function of time (t). From the values of x, I have calculated velocity (v) and acceleration (a) and a function of t.
I have constructed three different Graphs(1. x =f1(t), 2. v=f2(t) and 3.=f3(t)).
I have used a FFT Gadget in each one of these 3 Graphs.
However, I am obtaining just one book (worksheet) of FFT Tool Data (and not three separate FFT Tool Data) with Long name: FFT Tool Data; Short name: QkFFT
In this way: when I update the FFT Gadget of x, I am erasing the FFT Tool Data of v or a; when I update the FFT Gadget of v, I am erasing the FFT Tool Data of x or a; when I update the FFT Gadget of a, I am erasing the FFT Tool Data of v or x;
I did not find a way to solve this problem.
Therefore, my question is:
How can I have three different FFT Tool Data worksheets (with short names such as QkFFT1, QkFFT2 and QkFFT3) in my Origin project?
Best regards,
Francisco
FGE |
|
|
Hideo Fujii
USA
1582 Posts |
Posted - 10/03/2018 : 5:53:07 PM
|
Hi Francisco,
Before getting the FFT result of other curve's window, or closing the FFT gadget, you can duplicate the current sheet of QkFFT window by right-clicking the "Result" sheet tab, and selecting the "Duplicate" fly-out.
Hope this is an acceptable work-around.
--Hideo Fujii OriginLab
P.S. To get the x range of the yellow box in e.g., Graph1, you can type the following in Script window: Graph1!rect.x1=; Graph1!rect.x2=; |
Edited by - Hideo Fujii on 10/03/2018 5:57:02 PM |
 |
|
|
fgemmerich
Brazil
3 Posts |
Posted - 10/03/2018 : 10:56:29 PM
|
Hi Hideo,
Thank you for your suggestion. However, your suggestion does not solve the problem completely, because every time that I have to perform an update in a certain FFT Gadget, I have to look at carefully where is the active sheet of the FFT Tool Data worksheet.
Because the FFT Gadgets does not respect the name of the sheet, after an update the data are simply recorded in the active sheet, and the name of the sheet is changed to “Results”.
The best solution would be if I could manage to get 3 separate FFT Tool Data worksheets.
Other solution would be if the FFT Gadgets in different sheets could respect the name of the sheet that is recorded for the first time.
Indeed, I have to say that one month ago I was able (probably by accident) of obtaining 2 separate FFT Tool Data (one of them has a Short name of QkFFT and the other QkFFT1). But I am not being able now to obtain a third FFT Tool Data.
Concerning the “PS”, I confess that I am do not know how to insert the suggested “Script”. In the FFT Gadget: I am not an expert in Origin and I did not find a place to insert the Script.
I think the Programmers of Origin should place a certain field (or window) in the FFT Gadget to show and direct the worksheet where the data is being recorded.
This suggestion would help a lot the users.
Thank you again for your prompt attention.
Best regards,
Francisco
FGE |
 |
|
|
Hideo Fujii
USA
1582 Posts |
Posted - 10/04/2018 : 10:21:42 AM
|
Hi Francisco,
I understand your points, and my suggestion is just a work-around for now. I will suggest your issue to our developers to improve it in future release.
Another work-around may be to run multiple instances as follows: 1) Run Differentiate tool to get the curves of original, 1st derivative (Graph2),and 2nd derivative(Graph3). 2) For Graph2, choose "File: Save Window As" to make a graph window file, Graph2.oggu . Do the same for Graph3. (Files are saved in your User Files Folder. To open it, choose "Help: Open Folder: User Files Folder". 3) Open two extra Origin instances, and drag-and-drop each .oggu file onto the Origin instance. 4) Now, you can run FFT gadgets independently. If you need result data in the original Origin file, just copy-and-paste the data between instances.
By the way, to run the suggested 2-line script, open Script window ("Window: Script Window" menu), paste these two commands there, highlight two lines, then press ENTER key. Anyway, the same information is displayed in the Data Display window (Green text on Black background), and you can right-click, and choose "Copy Text" fly-out to grab it.
Thank you again for pointing out the issue.
Best,
--Hideo Fujii OriginLab |
Edited by - Hideo Fujii on 10/04/2018 10:33:21 AM |
 |
|
|
fgemmerich
Brazil
3 Posts |
Posted - 10/06/2018 : 09:48:18 AM
|
Hi Hideo
Thank you for your answer.
I was able to do your suggested steps 1 and 2 (I have created Graph2.oggu and Graph3.oggu).
I was able to able one extra Origin instance, but I had some difficulties to drag-and-drop each .oggu file onto the Origin instance.
I was able to copy and paste the Graph2.oggu and Graph3.oggu from the User Files Folder, but the FFT gadgets did not run independently.
Therefore, I decided to use your first suggestion to work-around. I have created two additional sheets in the FFT Tool Data worksheet, and every time that I have to perform an update in a certain FFT Gadget, I will look at carefully where is the active sheet of the FFT Tool Data worksheet.
Thank you very much for saying that you will suggest the issue that I raised to your developers to improve it in future release.
I will look forward to seeing it in Origin.
Best regards,
Francisco
FGE |
 |
|
| |
Topic  |
|
|
|