LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I control Sierra Instruments MFCs using LabVIEW without the needed drivers?

Solved!
Go to solution

I'm trying to program these MFCs with labview and it would be much easier with the drivers. I have chekced NI's Driver Network and can't find anything. If someone knows how to program the controllers without the drivers, or even better if someone knows where I can find the drivers, it would be much appreciated. Thanks in advance.

0 Kudos
Message 1 of 14
(3,547 Views)
What type of programming interface do they have? Is is serial, GPIB, Ethernet, etc? If you need to develop your own driver, that's the first step. Then, you would need programming information from the manual - what data to send to the instrument to control it, for example.
0 Kudos
Message 2 of 14
(3,538 Views)

These controllers have RS485 communication interfaces. We are looking to control them through a MODBUS Network since we need to control six of them and a master/slave network would be pretty straightforward (in my opinion).

 

I was hoping to avoid writting my own driver since I've heard it can become very tedious. Any information is helpful. Thanks.

0 Kudos
Message 3 of 14
(3,532 Views)

S.Garcia,

 

Hello! I did some poking around and wasn't able to find drivers for Sierra Instruments and MODBUS either. However, here are some documents on our website you might find helpful.

 

 

Introduction to MODBUS

Serial Communication Overview

Read Input Registers Using the Modbus Library for LabVIEW

Using Modbus I/O Servers 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 Kudos
Message 4 of 14
(3,488 Views)

Hey Ben:

 

What would you advise I should do to control these MFCs now that I know that the needed instrument drivers don't exist. Even though I have a good instructions LabVIEW book, I'm still a novice. What would you do?

 

I looked at the webpage links ou posted, but they don't really help regarding my problem with the drivers. Any suggestion is welcome. Thanks in advance.

 

-Sergio

0 Kudos
Message 5 of 14
(3,473 Views)
You will need to start looking at the manuals that Sierra Instruments provide.  Especially if they have an advanced manual or a communications manual with details like Modbus commands and registers if it uses Modbus.  Or if it is a simpler RS-232/RS-485 interface, they might have their own proprietary communication protocol where you send a command and perhaps an ID# and wait to read back the response.
0 Kudos
Message 6 of 14
(3,466 Views)

To my understanding, the purpose of the Modbus Networking was to communicate with the instruments in a master/slave protocol. This means that I would send a command to the instruments with an ID# and the instrument responds accordingly. Sierra Instruments does provide the specific commands needed to communicate with the MFCs, but my problem lies in that I don't really know how to get started as to writing the driver for the instrument. For example, I don't know where to insert the instrument commands provided in the VI (that's my main problem).

 

If there is an easier way to do this, please let me know. Thanks.

 

-Sergio

0 Kudos
Message 7 of 14
(3,460 Views)

Sergio,

 

Ravens Fan beat me to it! (and is correct). You'll need to look at the manuals for your Sierra Instruments devices.

 

If your device is ModBus then you'll most likley be able to communicate with your Device by setting up a ModBus I/O server and reading/writing to it's registers.

 

If your device has serial communication abilities, then you'll be able to VISA commands in LabVIEW to send/recieve information to and from your device.

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 Kudos
Message 8 of 14
(3,458 Views)
Solution
Accepted by topic author s.garcia

 Sergio,

 

Check out these documents:

 

Developing LabVIEW Plug and Play Instrument Drivers
Development Tools and Resources

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Message 9 of 14
(3,452 Views)

Ben:

Thanks for the link for the Instrument Drivers. I think this is going to work perfectly.

 

 -Sergio

0 Kudos
Message 10 of 14
(3,450 Views)