Page 1 of 1

Code for Canning

Posted: Mon Aug 28, 2017 6:29 am
by lowstock
Need to edit Phidgit code in Visual Studio (or otherwise). Not a programmer but commercial brewery using Phidgit sensors to show weight in beer cans as they fill so we can stop before overflow.

I will gladly ship you beer if you can help me out with this ASAP (barter is good :D )

This is what I need:

1) I have 4 sensors - I need big numbers on computer screen so operator can see weight as cans filling up (16 oz. cans)

2) Need to set each sensor to zero and show it getting heavier as cans fill so operator can stop flow

Sensors work with Phidgit generic control panel just need to tailor to what I need.

Here is code as is (Voltage Ratio example provided by Phidgets)::

void ratio_change(
object sender,
Phidget22.Events.VoltageRatioInputVoltageRatioChangeEventArgs e)
{
if (ratio.ChannelSubclass == ChannelSubclass.VoltageRatioInputBridge)
voltageTxt.Text = e.VoltageRatio.ToString("E3") + " V/V Test";
else
voltageTxt.Text = e.VoltageRatio.ToString("F3") + " V/V Test";
}

Please remember I have 4 sensors so need code to take care of all of them. Maybe something on desktop I can click on to run program?

Need to figure out ASAP because canning this week.

Thank you!