Bronkhorst mass flow controller _Lab View Using LJ U3 | LabJack
 

Bronkhorst mass flow controller _Lab View Using LJ U3

5 posts / 0 new
Last post
Shahab Mollah
Shahab_06's picture
Bronkhorst mass flow controller _Lab View Using LJ U3

Hi All,

I want to create a Lab View program to control a Bronkhorst mass flow controller (Model F201c) using Lab Jack U3 model. Can anyone please help me with Lab View Program??

Thank You

LabJack Support
labjack support's picture
As a getting started point,

As a getting started point, take a look at our LabVIEW UD Driver examples available for the U3.  There are optional configurations for the Bronkhorst mass flow controller that output analog signals.  I recommend that you use the 0-5V DC version if you want to read the data with a U3.  Be aware that the majority of the U3's analog inputs are 0-2.4 or 0-3.6V and not 0-5V.  

If you are using a U3-LV you should probably get the 4-20mA version of the Bronkhorst mass flow controller and a LJTick-CurrentShunt to create an analog voltage that can be read by the U3.

If you are using a U3-HV you can use the 0-10V version and get more precise readings when using the high voltage analog inputs.

Either way, look through our examples for "Analog Input" related examples to get started using the U3.

Shahab Mollah
Shahab_06's picture
Thanks for your reply.

Thanks for your reply.

Can you please say how to detect voltage (read) from external device and how to give input to that device (write)?? I've already installed the driver for Lab Jack on my computer but can't understand how to use it.

Thank You.

LabJack Support
labjack support's picture
First use the test panel in

First use the test panel in LJControlPanel to verify that your analog input (AIN) and analog output (DAC) are working as expected.

Now on to LabVIEW.  As mentioned in post #2 you want to start on the LabVIEW_LJUD page:

https://labjack.com/support/software/examples/ud/labview

Go through steps 1-6 on that page.

In step 3, it has you read through Section 4 of the U3 User's Guide which is the documentation for the UD library.  LabVIEW is just making calls to the UD library so you need to know about the UD library.  For your application you just need to call OpenLabJack, eAIN, and eDAC, so focus on the following sections:

https://labjack.com/support/datasheets/u3/high-level-driver/Function-ref...
https://labjack.com/support/datasheets/u3/high-level-driver/function-ref...
https://labjack.com/support/datasheets/u3/high-level-driver/function-ref...
https://labjack.com/support/datasheets/u3/high-level-driver/example-pseu...
https://labjack.com/support/datasheets/u3/high-level-driver/example-pseu...

Then go through steps 4-6 from the LabVIEW_LJUD page.

Finally, I would look at "U3 Efunction Loop Example.vi".  This is likely quite close to what you need.

Shahab Mollah
Shahab_06's picture
Thanks for your great help.

Thanks for your great help. It's working now. Now I'm able to read/write from/to Labjack.