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
 Forum for Origin C
 LabTalk script in Origin C
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

olsy

29 Posts

Posted - 09/21/2011 :  05:24:39 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8.5Pro
Operating System:Win7

Hi!
got into troubles with implementing LabTalk script in Origin C.
Just don´t understand how to do it. Tried LT_Obj but it doesn´t work like this...Maybe someone have an idea?

q=page.nLayers-2;
	for(laynum = 2 ; laynum <= page.nlayers; laynum++ )
	{
 		page.active = laynum; // Set the Sheet/Layer as active
 		ty layer.name$ // Demonstrate next sheet is now active
 		colstats irng:= col(6):col(11) n:=<none>;
 	}

Penn

China
644 Posts

Posted - 09/21/2011 :  9:13:02 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please use LT_execute function.

Penn
Go to Top of Page

olsy

29 Posts

Posted - 09/22/2011 :  08:19:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
thanks Penn!
Figured out how to do it )
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