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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Naming Conventions

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
kemeyer Posted - 09/04/2009 : 10:21:26 AM
Origin Ver. 7 and Service Release (Select Help-->About Origin):
Operating System: XP

Hi,

I am having a lot of problems with my program. I am using a software called SynerJY that uses Origin C and Labtalk in it. When I collected information from a spectrometer, SynerJY/Origin created a graph of my data, a note to store experiment info in, and a worksheet with the data collected.

From what I could see, it named these with the name I had decided to use and then a number for an identifier. So for example, if I decided I wanted these runs to be MyRun, the files generated would be a graph-MyRun1, a note-MyRunn1, and a worksheet-MyRund1. It puts an n between the name I chose and the identifier for notes, and put a d in between for the data so that 3 files with the same name aren't made.

This was fine, I created a program that anticipated this nomenclature. However, I have found that two probelms occur:

When I use file names that contain enough characters so that the automatically generated filenames are greater than 9 characters, it truncates them-but only with the worksheet and note. The graph is named as anticipated.
(This I didn't feel was too much of a problem because the programs I developed look at the graph selected and the dataset plotted in it-so as long as the worksheet and note were truncated the same and had the same identifier number, it was okay)

The next thing is that I found when I got to runs of numbers over 10, the note page would not be named MyRunn10, but rather MyRundn0. A 'd' was added to it, and the numeric identifier was not 10 as is should be. The worksheet however was named as I had anticipated.

Lastly, when I went to 20 runs, something very strange happened. I would have to notes with the same name. I would have MyRundn0 (which should have been MyRunn10) and MyRundn0 (which was MyRunn20). From this point, whichever I click was renamed to MyRundn10.

Is this something within Origin or SynerJY, and is there any way that this can be altered? I think the program can support longer names because when I right click and rename it, it allows me to put a name without being limited to 9 chars.

Please help me, I am really growing frustrated with this. I have no way to anticipate what it will name my notes and worksheets in order to write an effective program. (To execute most of the buttons I made, I need to be able to know the three files that 'go together'-The graph, note, and worksheet generated from that run. When they are being nammed in unpredictable ways like this, I am not sure how I can do that.
2   L A T E S T    R E P L I E S    (Newest First)
martinjp Posted - 09/08/2009 : 09:11:38 AM
Hi,

As Easwar stated, we (HORIBA) added the SynerJY extensions to the Origin product. You can contact me directly at Jay.Martin@Horiba.com and I'll do my best to help with this issue.

Best regards,

Jay Martin
Software Engineering Mgr.
HORIBA Scientific
easwar Posted - 09/06/2009 : 9:55:42 PM
Hi,

If the Synergy application is creating incorrect/inconsistent window names, then you need to contact them and report the problem. We did not write the code for them, so they need to look into the problem.

Easwar
OriginLab

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000