SetLiquidClass parameter definition

Hi,

I was wondering where I can find the parameters and values for LiquidClassLib::SetLiquidClassAspirateParameter

Looking to test a lot of mixing and set the mixing speed on the fly! Is there a dictionary somewhere?

Hi @cwehrhan ,

I would suggest installing this version of the Liquid Class Library. It is a lot easier to work with and the parameters are not as generic.

Get/Set all parameters at one time…

Or individual settings for a single liquid class…
image

4 Likes

Not sure if my version is the same as yours, but for me the library defined constant variables for the various parameters
image

Lol I didn’t even look in the drop down.

Going to use Brandon’s solution, as it is easier to work with!

Is there a copy of this library that will work with Venus 4.5? @BrandonBare_Hamilton

@cbcbcbc ,

The Liquid Class Library is compatible with VENUS 4. I actually installed it on a VENUS 4 computer today.

@BrandonBare_Hamilton I tried installing on a VM and am getting this message as it’s importing liquid classes. It looks like the libraries installed, though. Anything special in these liquid classes that I’m missing?

Did you select the check box to install the LiquidClassLibraryWhiPip? If so, that is likely your problem.

image

WhipPip is used only by MagPip channels which require a Vantage Venus 6 install. For your installation, you would need to keep that unchecked.

2 Likes

That I did. Thanks!

1 Like

Is it possible that there is a delay until the Liquid Class is actually manipulated by the SetLiquidClassXxxxParameters functions? I wrote a method that adapts the liquid class parameters and immediately performs pipetting 10 times. It looks like the first transfer always uses the previous conditions. Any suggestions?

Hey Martin,
you could insert a pause timer to grant the liquid class database some seconds to update and check if this resolves your issue.
I can totally imagine that updating the database takes some seconds to save and become active.

I will try that, but it might be challenging to wait “some” seconds. What if sometimes the changes applied and some other times not? Is there something like “WaitForTadmUpload” or is it even possible to use exactly this function?

In simulation mode, liquid class parameters are stored immediately. At least, using “GetLiquidClassParameters_XXXX” immediately after adapting the liquid class results in the new value.

I will test soon in physical mode using extreme aspiration / dispensation flow rates.

Maybe make an infinite loop and keep checking the parameters with GetLiquidClassParameters as you described and break the loop when the parameter is set to what you set it to?

1 Like

thats what I did in simulation mode, but using GetLiquidClassParameters instantly returned the new values. Not sure, if there could be a difference in physical mode, so I will test.

This is a fair point. I didn’t think of different lag times.
But @Gareth has a neat solution for that, I think.