Jump to content

Need Help with Origin Software

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
Tom03110

Tom03110

    Newbie

  • Members
  • Pip
  • 3 posts
I need help with programming in software called Origin 8. All of the programming appears to be text based, and I only have experience with Labveiw. Origin 8 says that the 2 languages it uses are Labtalk and OriginC. I'm going to hope that OriginC is the same as (or atleast almost the same as) C.

I am trying to write a program in the software that will import an ASCII file from a folder on my desktop, put it in a data table, convert the table to a matrix, transpose the matrix, make a contour plot of the matrix, change the scale on the x and y values, change that amount of colors it uses for the z values, and if possible relable the x and y axis.

Any help I can get would be greatly appreciated.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I haven't heard of any of the languages you mentioned (other than C). Do you have any resources on them? In particular, does it support matrix operations natively?

It sounds suspiciously like a custom scripting environment.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Tom03110

Tom03110

    Newbie

  • Members
  • Pip
  • 3 posts
Yeah, I'm pretty sure that it can support a matrix because you can do all of these things from the tools menu. The software is a lot like a beefed up version of excel with an added command window, and script writing window, and something called an "X-Function" window, which is apparently another way to write programs. I don't even wanna try to mess with the X-Function thing.

I really hope it isn't some random language that nobody would be able to help me with. :(

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
It sounds like it's something where we may be able to help if you can find some documentation on the language. However, it doesn't seem to be a standard programming language.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
ZekeDragon

ZekeDragon

    Writes binary right handed and hex left handed

  • Moderators
  • 2,103 posts
I did a little research, and yes, OriginC is apparently very much like C, except it introduces classes and has a few extra commands/data types, like the "string" data type. It's compilable, and according to them, can even include external C libraries. Here's the .chm document with it's documentation use, and the place I found it.
Wow I changed my sig!

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Given that...

What's the format of the ASCII file?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
Tom03110

Tom03110

    Newbie

  • Members
  • Pip
  • 3 posts
Documentation as in a description of what it is? Here is a link that describes what OriginC is like. originlab.com/index.aspx?s=8&lm=236

I'm going to browse their site and see if I can find a decent tutorial.


The acsii files are 30 columns by 8 rows, with the columns separated by tabs