09-29-2009 04:37 PM
i attached the example on the original post. i used the first file.
when i'm using it, i change the unitID to control two devices.
but for both instances, the numbers just don't show up when the two devices are connected to the COM1.
is there a way to put two instances into one vi so that i can control the flowrates simultaneously???
that will be actually really great if everything works fine.
09-30-2009 06:51 AM
springby,
I took a look at the vi in question. My first comment is that the vi's from Alicat are very crude and I'm not surprised that they don't work. I'll tied up the rest of the day and probably won't be able to do much more until tomorrow. Perhaps another forum regular can take a peek as well.
In the mean time it would be very helpful if you could post any info you have on communicating with the MFC's through the BB9.
09-30-2009 12:08 PM
Here is the info of the Alicat's BB9
|
09-30-2009 03:55 PM
springby,
What is the exact model of MFC you are using? There may be a better LV driver available from the NI website.
09-30-2009 04:01 PM
it's MC-10SCCM-D/5M, RIN, GAS: N2
10-01-2009 07:07 AM
springby,
I looked a bit more at the LV vi's you posted. There is no way they could ever work. Decided to check the NI Instrument Driver Network and found a driver that looks more complete and makes sense. Code is still crude and lacks good error handling but I think it will be a better starting point. You can find a driver ( NI lib ) for the MC series MFC here . Try it out. If it looks like it will work I'll explain what needs to be done to clean things up.
Just remember that because you will be reading both devices using the same COM port, you need to read one and then the other.
10-01-2009 01:08 PM
the new code definitely seems to work!!!!
i can see the values of two devices clearly on the "reading" file front panel.
so do i have to hook all things up so i can change the set point and then check the reading at once??
can you give me some tips on that? it looks like the new one doesn't have a complete program where i can input the setpoint and then check the changes.
thank you so much!!