Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JIRA

SUMMARY

DESCRIPTION

DETAILS

ORG-25792

Support listing StringArray on LabTalk Variables and Functions dialog

Show StringArray variable in the LabTalk Variables and Functions dialog

In Script Window, select menu Tools: Variables to open the LabTalk Variables and Functions dialog. A new checkbox “StringArray” is added, select it can show available StringArray variable in current project.

ORG-26063

LabTalk script to set Colormap Transparency

Add a new command to set colormap transparency

Syntax: layer.cmap.transparency

ORG-25853

LabTalk countif function support simpler condition

Improve countif etc. function to support simpler condition

In previous builds, user need to provider condition with input range like countif(col(A), "col(A)>10"), now it can be simpler, just write as countif(col(A), ">10"). It’s also supported for other if function, includes sumif, averageif, maxifs, minifs.

Code Block
countif(col(A), "boston")=;
countif(A, 2)=;
countif(A, "!=2")=;

ORG-25837

LabTalk time function supports elapsed time period

Time function add optional argument to return elapsed time period

New optional argument adds to time functions to return elapsed time period, includes Hour(d[,n]), Minute(d[,n]), Second(d[,n1,n2]).

Code Block
double dTime = Time(25:30:21);
Hour(dTime, 1)= ; //25
Minute(dTime,1) =; //1530
Second(dTime,1,1) =; //91821

ORG-26293

LabTalk Doc method to find a page

LabTalk doc method to return page short name from long name

A new method is added to Doc object to return page short name from it’s long name.

Syntax: doc.FindLN(strRegister, strLN, windowtype)

  • Return number of page windows that match the long name string

  • strRegister: output to which string register

  • strLN: Long name to search

  • windowtype: 2 = workbook, 3 = graph, 5 = matrix book

Example: int nFound = doc.FindLN(A, "some name", 2);

Python

JIRA

SUMMARY

DESCRIPTION

DETAILS

ORG-25929

Upgrade embedded Python to latest version 3.11 for Origin 2023b

Upgrade embedded python to latest version 3.11.

Upgrade embedded python to latest version 3.11 which can not be used on Windows 7 or earlier. So when try to use embedded python in Windows 7 or earlier, will show prompt message.

...