03-25-2008 07:16 PM
03-26-2008
08:24 AM
- last edited on
06-03-2024
06:01 PM
by
Content Cleaner
Good Morning Andy,
The first thing I would do is look on idnet to see if there is already a driver for your particular instrument model. You can also look at this document for more detailed help on finding and installing instrument drivers.
Since these two instruments seem to have totally different command sets, you will need to have seperate code for each. Therefore, I think your "higher level shell" idea is probably the best way to create your project.
In any case, I think this may be a point to start. Let me know if you need more help. Have a great day.
03-26-2008
10:08 AM
- last edited on
06-03-2024
06:01 PM
by
Content Cleaner
Hello Andy,
What you are looking for is known as a Hardware Abstraction Layer (HAL). I recommend that you and your team sit down and decide which instrument functions your Top-Level ATE application will need. This will be your Class Application Program Interface (API). It is very important for the whole team to work on the Class API and agree on it. We generally use a spreadsheet to prototype APIs for LabVIEW Plug and Play Instrument Drivers. Since you are using LabVIEW, I recommend that you base your API on the General Instrument Driver Template that ships with LabVIEW and is available through the Instrument Driver Project Wizard.
It is important to identify any feature/performance differences between the different instruments in the same class and decide how you will handle them (and how your driver will handle them) and any new instruments in the future.
As far as actually developing the Class driver to call the instrument driver, the idea of using the ID Query to ID the instrument is not a bad idea. I recommend taking it a step further and using VISA User Data through a VISA property node to pass the instrument model throughout the application.
This sounds like a cool project.
Let us know how it goes,
NathanT