cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Mac_d87
Level I

Custom alerts!

Hi,

 I'm trying to see whether I can script a custom alarm to tell me when X number of consecutive points go outside some predefined UCL/ LCL values. In this example I would like to get an alarm if 240 consecutive rows in the column "HELIUM_PRESSURE" goes either above or below the UCL (15) or LCL (3). But when I run the script I get the error message:

 

not enough arguments in access or evaluation of 'Local , Local/*###*/({count = 0, idxStart = 0, outOfControl = 0})

 

I'm not sure how to fix this or whether I'm approaching the problem in the right way? Any help would be appreciated! I'm brand new to JMP (hence attaching script as an image)!

 

thanks

 

 

 

 

 

 

1 REPLY 1
jthi
Super User

Re: Custom alerts!

That script looks a bit like it was created by some LLM (chatgpt perhaps?). This part is incorrect

jthi_0-1728405781096.png

It should be fine if you remove Local(). Example from scripting index to give an idea of the syntax for functions

jthi_2-1728405857054.png

Names Default To Here(1);
// y is an optional argument
exmul = Function({x, y = 3}, x * y);
a = exmul(5);
b = exmul(5, 10);
Show(a, b);

 

Also it is very helpful if you add your script as JSL block instead of image. Press

jthi_1-1728405799273.png

and paste your script

-Jarmo

Recommended Articles