Information

MEVIEDA

Middle East Virtual Instrumentation Engineering Developers Association is an attempt to integrate discrete development projects and to put the emerging Virtual Instrumentation technology as an essential core in engineering education.

Website: http://www.mevieda.com
Location: Egypt
Members: 3
Latest Activity: Apr 19

Building an Application for Measuring Impedance Under Controlled Temperature

Project published at NI Arabia Developers site
http://digital.ni.com/worldwide/arabia.nsf/webcustsol/C6A1FC38C7935CF0862572D1006BF8AE?OpenDocument&node=160320_us
Building an application for measuring impedance under controlled temperature
Author: Eng. Tarek El Afandy (SW Developer), Title Operation Manager, Physics Department, American University in Cairo, Egypt

Products Used:
1-NI GPIB 488.2 USB Hardware
2-NI Measurement Studio /Visual C++ 6.0 Software
3-Fluke PM6306 Impedance meter
4-Lakeshore 331 Temperature Controller

The Challenge:
The Measurement Studio for Visual C++ 6 is used to create the application which has
A-User Interface(Front-End)
Front End, two exclusive dialog box designed for Displaying the following :
· The Fluke RLC meter :
1- The Frequency set at which the measurement occurs.
2- The Resistance , Capacitance, Inductance, Phase, Quality, Impedance and the Dissipation of the sample being measured.
· The Lakeshore Temperature Controller:
1- The sample temperature read values.
2- The control to set the point at which the temperature reaches.
3- The control the Heater Range
4- The control to set the Heating Ramp Rate.
· The Application sampling rate

Using a PC Timer of 1000 ms as default and up to 60000 ms ( minute).
B-Business Problem Solving Logic (Middle-ware)
To analyze the sample, we need to control the temperature of the environment and the frequency too. Then we read the variables at the sampling rate and let store the results in a file for later Processing. The GPIB Interface enables the communication between the PC and the two instruments (Fluke and LakeShore) to take place .
C- Storing Experiment Data Results (Back-End)
The data collected during the experiment run including the set data (control) and the captured data (read) all are stored in temporary arrays then saved into text file for later manipulation and processing . Excel is a perfect choice to import the data and view its values in table or graph format. This gives greater flexibility for any one who wants to view the data stored in a text file in his perspective and make it portable for further manipulation.

The Solution:
NI supplied a very unique middle-ware above the Operating System (windows) ,ActiveX interface component named CWINSTR.OCX which communicates with any installed GPIB interface detected by NI Max explorer. Any Instrument attached, holds an instance object named (GPIB1,2,..n) where each object has two variables :
o A control variable that processes commands like read, write,.. etc
o A text member variable that holds text strings returned by the GPIB object query.
Two instruments means two objects instantiated, each will hold a unique address and a different communication pattern, pertains to the instrument.
The programmer must first study the GPIB proprietary instrument commands then decide what the user interface must include to display and control the instrument.
Programming skills help the developer in writing the proper code to match between what the user interface dialog is showing and the equivalent C code handling the instrument GPIB Language.


Discussion Forum

This group does not have any discussions yet.

Comment Wall

Comment

You need to be a member of MEVIEDA to add comments!

Comment by Tarek El Afandy on November 19, 2010 at 10:31pm
Virtual Instrumentation Group VIEgypt is intended to support The Interfacing of Hardware like DAC, GPIB, Sensors,.. and Softwares like NI LabVIEW , Measurement Studio , Visual Studio (Visual Basic , Visual C++)
 

Members (3)

 
 
 

Members

Welcome

Welcome! Nanopaprika was cooked up by Hungarian chemistry PhD student in 2007. The main idea was to create something more personal than the other nano networks already on the Internet. Community is open to everyone from post-doctorial researchers and professors to students everywhere.

There is only one important assumption: you have to be interested in nano!

Dr. András Paszternák, founder of Nanopaprika

Next partner events of TINC

We are Media Sponsor of:

 

Past partner events

Advertisement

Buy fiber optic products from www.optical-products.com Buy HP motherboard from www.hpmotherboard.net Buy 40G transceiver from www.40gtransceiver.com

Made-in-China.com 

We offer LC patch cord, SC patch cord, FC patch cords,buy fiber optic patch cord at www.fiberopticpatchcord.com

The invertion of 10G optical transceiver has greatly increase the networking speed, for the science behind the transceiver, please check website and learn about CWDM SFP transceiver, www.fiberoptictransceiver.net

For information of DWDM sfp, please go to http://www.fiberoptictransceiver.net/dwdm-sfp/

The XFP (10 Gigabit Small Form Factor Pluggable) is a standard for transceivers for high-speed computer network and telecommunication links that use optical fiber.please visit www.xfptransceiver.com for more info

Find the best places to play Texas Holdem online at www.texasholdemonline.com # Casino en ligne