How to fix undeclared Identifier

Hi All,
Can anyone help with error 1302. I’m creating a simple LCMS method using Smart Steps

The analyzed file contains HSL syntax errors:

Step at row 3 column 1: error 1302: ‘PTL::Pipette3’ undeclared identifier
Step at row 5 column 1: error 1302: ‘PTL::Pipette3’ undeclared identifier
Step at row 9 column 1: error 1302: ‘PTL::Pipette3’ undeclared identifier

Have you imported the PTL library?

I recalled this error. I believe it does not affect the method in run control, and your method will run fine. The error comes from extra PTL libraries in the method folder that comes during the method import step. Deleting them usually fixes the error, but somehow this error harmless.

That function was added in VENUS 4 so if you have recently imported methods written in VENUS 3 into your VENUS 4 and selected Overwrite all, it probably overwrote the HSLPTL libraries with an older version.

HSLPTL_Pipette3.jpg

Here are the default HSLPTL library files from VENUS 4. You can try overwriting those in your HAMILTON\Library folder.

Also, as Starrif2263 mentions, double-check that you don´t have any HSLPTL library files imported in your HAMILTON\Methods folder. If in the method there no specific path defined for a library file, VENUS looks for that file in this order:

​1) In the current directory.
2) In the directory that is listed under the registry key Methods.
3) In the directory that is listed under the registry key Library.
4) In the directories that are listed in the PATH environment variable.

I hope this helps!

4 Likes

Thanks

ran into the same problem
thank you so much Eric, you help so many people around the world!
it is much appreciated

2 Likes