GetBrixData

You can use the GetBrixData function in Brix workflows to retrieve Brix-related data from the FSBRIX database table based on the industry type.

When to use

You can use this function to retrieve Brix values for Brix calculations in beverage or food formulas.

Syntax

DataTable GetBrixData(string industryType);

Parameters

Parameter Type Required Description
industryType string Yes The type of the industry.

Return Value

The application returns a unique code as a String.

Examples

Example 1
Retrieve and Set Brix Property.
public long wf_start()
{
    // Get Brix property value
    var value = ObjProperty("BRIX.BRIX", "BRIX", "1", "10", "LINE_ID");
    
    // Set apparent specific gravity property
    ObjPropertySet("10", 0, "APPARENT_SPECIFIC_GRAVITY.BRIX", "BRIX", "1", "2", "LINE_ID");
    
    // Display Brix value
    MessageList("Brix :" + value);
    
    return 1;
}