The Origin Forum
File Exchange
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Automation Server/COM and LabVIEW
 New Worksheet (from Labview)

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 HyperlinkInsert EmailInsert 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
tklui Posted - 12/02/2008 : 11:13:01 PM
Origin Ver. 8 Pro and SR 4:
Operating System: Windows XP Pro SP3
Labview 8.2

Hello,

Question 1
Is there any way to create a new worksheet in the same book from Labview? I tried the provided "New Worksheet" VI but all it does is to create a new worksheet in a new book.

Question 2
I know I can execute Labtalk script in Labview. Can I used the Xfunctions and originC language as well?

Thanks for your help,

TK Lui
7   L A T E S T    R E P L I E S    (Newest First)
markcasias Posted - 04/14/2010 : 12:43:57 PM
hello if you don't mind what is the latest version currently?

Thank you...


http://www.augenlaser-femto-lasik.de
JSchoeck Posted - 03/31/2010 : 10:51:12 AM
Hello,

could you please also email me the latest version of the OriginApp_LV7.lib file?

I would very much appreciate it,
Johannes
eparent Posted - 12/11/2008 : 3:29:56 PM
quote:
Originally posted by tklui

Hello,

I saw the VIs you mentioned available on the Origin wiki (http://wiki.originlab.com/~originla/wiki/index.php?title=LabVIEW:AddWorksheet). But where could I obtain these VIs?

Thanks,

TK Lui



Hello,

I have asked Tech Support to email you the latest OriginApp_LV7.lib file. This updated palette contains both the FindWorkbook and the AddWorksheet SubVIs.
tklui Posted - 12/11/2008 : 12:08:53 AM
Hello,

I saw the VIs you mentioned available on the Origin wiki (http://wiki.originlab.com/~originla/wiki/index.php?title=LabVIEW:AddWorksheet). But where could I obtain these VIs?

Thanks,

TK Lui
eparent Posted - 12/05/2008 : 5:54:18 PM
quote:
Originally posted by tklui

CP,

Thanks for your prompt and detailed reply. Please let me know when the example is ready.

Thanks again,

TK Lui



Hello,

We have created two SubVIs. FindWorkbook and AddWorksheet. They will be included in SR5 and are available now upon request. Contact tech support.

You can also see the SubVI's block diagrams and an example using them now on our Wiki site.
http://wiki.originlab.com/~originla/wiki/index.php?title=LabVIEW:AddWorksheet

Thanks,
tklui Posted - 12/05/2008 : 04:52:07 AM
CP,

Thanks for your prompt and detailed reply. Please let me know when the example is ready.

Thanks again,

TK Lui
cpyang Posted - 12/04/2008 : 9:51:00 PM
quote:
Question 1
Is there any way to create a new worksheet in the same book from Labview? I tried the provided "New Worksheet" VI but all it does is to create a new worksheet in a new book.



We will provide an example on our wiki site, to show how to add a new sheet to an existing book.

quote:

Question 2
I know I can execute Labtalk script in Labview. Can I used the Xfunctions and originC language as well?



Since LabTalk script can call OC and XF, so sure, you can include OC and/or XF in the script. For OC, you typically need to use run.loadOC to make sure OC code is compile and link. For XF, it is simpler, you just use them in LT as you would normally do in Origin. The only trick is to add code to wait for Origin to fully finish startup compiling before you call an XF. You can find example of this in the

OA_PE_mkdir.vi

which simply make LabTalk script call to the pe_mkdir XFunction. To ensure that startup compiling is finish, this vi issue the labtalk script "sec -poc 3" to allow up to 3 sec (actually much less) to wait uncase Origin is not yet ready to make XF call.


CP



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