Hamilton Error: GetLabwareID() - The Parameter is incorrect

Hey!

Has anyone seen this issue before with Hamilton where the library for:

GetLabwareID() returns a ‘The parameter is incorrect.’?

2025-11-20 11:12:05> Microlab� STAR : Main - error; An error occurred while running Vector. The error description is: Cannot dispense before aspiration. One or more channels were not used in the previous aspiration. (0x28 - 0x2 - 0x80a)
2025-11-20 11:12:05> Microlab� STAR : 1000ul Channel Dispense (Single Step) - complete with error; An error occurred while running Vector. The error description is: Cannot dispense before aspiration. One or more channels were not used in the previous aspiration. (0x28 - 0x2 - 0x80a)

Thanks!!

Perhaps unrelated, but it appears you are ejecting a tip, then have a dispense step immediately after? Is that right?

For the StepReturn Library error, are you using the GetPositionFromNum function to get the index in the GetLabwareId command?

The reason this is important is not all channels will be inside the step return if the channels were not used. For example: If only 3 channels were used (1,3,4) the step return library will return with 3 on the GetNumberOfPositions. If you use the loop index for the num parameter it would throw this error on loop 2 because channel 2 was not used.

Using GetPositionFromNum would change that 2 to 3 because the second index in the step return is channel 3 which is used for the parser.

If you could include more of the trace, that could be used to determine the pipetting error. I’m guessing the channel pattern may be utilizing a channel that was ejected or was never aspirated prior.