<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear Brian,
<div class=""><br class="">
</div>
<div class="">thank you so much for setting this up for us. I tested the interface and it works exactly as advertised. However, I do have one question: How does this new interface interact (or conflict!) with the standard “GUI.vi” we use to control both the
 target and the RTPC detector gas? At the least, the readback FROM the MFC104 in the “GUI.vi” does not seem to be affected by whatever I enter in “Target MFC.vi” and vice versa. For instance, if I enter “200.0” for the MFC104 “Setpoint” field, the “Setpoint”
 value in TargetMFC.vi. does not change (it stays at zero) *). Vice versa, the “Valve %” Readback for MFC104 in “GUI.vi” shows “100%”, no matter if I chose “Closed”, “Open” or “Normal” in the “Override” field on TargetMFC.vi. Are there specific rules about
 running the 2 interfaces simultaneously (or should that never be done in the first place)?</div>
<div class=""><br class="">
</div>
<div class="">Please advise! Thanks and have a good evening - Sebastian</div>
<div class=""><br class="">
</div>
<div class="">*) Curiously, sometimes when I stop and restart the GUI.vi, the “Setpoint” number on TargetMFC.vi fluctuates briefly (a few seconds) to 200, but goes back to zero immediately.</div>
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Mar 17, 2020, at 4:41 PM, Brian Eng <<a href="mailto:beng@jlab.org" class="">beng@jlab.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Ok, first go at this remotely ...<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Someone should test this locally on the computer and report back. I didn't exercise the valve any as I wasn't sure what the state of the system was in.</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
There should now be a file called 'Target MFC' (not sure if extensions are hidden or not) in the same folder where the GUI is.<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
If you double click on it to launch it you should get a screen like the following:<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span id="cid:4e3e6013-7f3e-4c24-a412-51a4060b8347"><running.PNG></span><br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
This means it's running, if somehow it isn't it will look like the screenshot below (notice the extra bar at the top with the run button[arrow]) as well as the icon text, if so click on the run button</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span id="cid:c86f98e7-86ef-4a20-a270-4721e9a0fd43"><not running.PNG></span><br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Now that we're sure it is running click on the 'Initalize MB' button which should connect to the MFC and start updating the values, i.e. it will look like the screenshot below</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span id="cid:4515a85a-e2bf-4c9c-a8af-f41e5be7ad4a"><connected.PNG></span><br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Namely the information box at the top is now populated and all the information on the right side is as well. Note that the information box and the indicators next to it is only populated once when first connecting while the plot and indicators next to it should
 always be updating (some more obvious than others).</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
The 'Override' selection drop down has three choices: Normal, Open, and Closed. Normal means the valve position is based on what the set point is, the other 2 are self-explanatory.</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span id="cid:6c0c884f-d365-4cb2-bc8e-f45d6270d46e"><override.PNG></span><br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
If you want to update the information box (i.e. to see what the current gas is or get a current temperature reading) you'll need to click on the 'Close MB' button twice (once to stop plotting and another to close the connection) then 'Initialize MB'</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
When you're finished with the program click the 'Stop' button and close the program.</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
P.S. There is also an update time in ms in the bottom left, you can change this to suit your needs (I don't think I'd go below 50ms). It was hard to tell remotely if this value was okay or not, but the higher/slower the better as far not causing performance
 issues.</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="background: var(--white);" class="">________________________________________</span><br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
From: Sebastian Kuhn <<a href="mailto:kuhn@jlab.org" class="">kuhn@jlab.org</a>><br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Sent: Tuesday, March 17, 2020 11:41 AM<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
To: Brian Eng<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Cc:<span class="Apple-converted-space"> </span><a href="mailto:dsg-rtpc@jlab.org" class="">dsg-rtpc@jlab.org</a>; Bob Miller; Eric Christy; JIWAN POUDEL; Mohammad Hattawy; Patrizia Rossi; Amrit Yegneswaran; Marc Mcmullen<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Subject: Re: [New Comment] MFC104 seems flaky<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Please go ahead. Nobody is using the system right now, and you can logout anyone who is still logged in (probably me).<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
On Mar 17, 2020, at 11:25 AM, Brian Eng <<a href="mailto:beng@jlab.org" class="">beng@jlab.org</a><<a href="mailto:beng@jlab.org" class="">mailto:beng@jlab.org</a>>> wrote:<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
I will start on setting up something that can from the same computer that has been used to control the target gas from. I'll need to login to test at some point, so if someone is logged in they'll temporarily be disconnected.</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>