SDK for Masshunter and how can I code

Hello,

is there a possibility to coding by SDK extensions for masshunter software?

I want to code a little AddOn/AddIn for Compund at-a-glance in Masshunter.

We have a lot of parameters in our methods. For some paremeters we have exceptions cases.

I would like if an employee meet a certain parameter that a "tool tip" with a text like "attention" is displayed in the right corner of the first pane in the window "Compound at-a-glance" of masshunter.

Is this possible?

Parents Reply
  • Hello  ,

    There are two options for doing this in CAG. First, if you right click on any compound in CAG you can choose the option to Navigate to Batch Table... and it will take you to that compound and sample in the batch table.

    The other option is found in the Properties... dialog for a compound. If you enable Synchronize Navigation then if you click in CAG it will take you to the entry in the batch table, or if you click in the batch table it will navigate to the compound in CAG.

    If you have multiple monitors or an ultrawide monitor this can be very useful for reviewing a batch. 

Children
  • Hello,

    yes, I know these functions. Does the option "Synchronize Navigation" hide a function that I can use by SDK?

    I mean, if I were to create an additional window that holds informations about each parameter in my method and I would choose randomly a parameter (when the "Synchronize Navigation" is actived) in the parameter list in main window, can masshunter tries to navigate automatically to the parameter in my additional window (like in the way in CAG)?

    In my additional window, I will use a xml database with the same parameters like in the analyze method.

    Kind regards

  • Hello  ,

    I'm not seeing anything in the scripting guide that addresses this specifically. What you are describing sounds like the browse by outlier option that is available in current revisions on quant. I'm not certain you'd be able to have some link between a warning dialog or display and this, but you may be able to use the warning dialog to direct the user to which outliers to investigate. 

  • Hi Howard,

    I'm not certain you'd be able to have some link between a warning dialog or display and this, but you may be able to use the warning dialog to direct the user to which outliers to investigate. 

    I guess you are meaning the outlier "menu" in "Setup Graphics", right? But I need a linked information to each parameter.

    Can I use the option "Costum calculation" there for this? May I can create a "calculation" (without a calculation and use the result event for my warning dialog)

    Otherwise I can use column (like User Defined 1) in the table view and put my information there. Then I code my warn dialog and extract the informations from "User Defined 1" into my warn dialog.

  • Hello  ,

    You can utilize the Custom Calculation or User Defined fields to store extra information for the compound or sample. Custom Calculation does have an outlier you can set, but you have to check and trigger the outlier within your code. Quant does not automatically set this outlier. 

Was this helpful?