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.

Location: Egypt
Members: 3
Latest Activity: Apr 19, 2013

Building an Application for Measuring Impedance Under Controlled Temperature

Project published at NI Arabia Developers site
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


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

Full member
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++)

Welcome - about us

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!

Nanopaprika is always looking for new partners, if you have any idea, contact me at

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

Publications by A. Paszternák:

Smartphone-Based Extension of the Curcumin/Cellophane pH Sensing Method

Pd/Ni Synergestic Activity for Hydrogen Oxidation Reaction in Alkaline Conditions

The potential use of cellophane test strips for the quick determination of food colours

pH and CO2 Sensing by Curcumin-Coloured Cellophane Test Strip

Polymeric Honeycombs Decorated by Nickel Nanoparticles

Directed Deposition of Nickel Nanoparticles Using Self-Assembled Organic Template,

Organometallic deposition of ultrasmooth nanoscale Ni film,

Zigzag-shaped nickel nanowires via organometallic template-free route

Surface analytical characterization of passive iron surface modified by alkyl-phosphonic acid layers

Atomic Force Microscopy Studies of Alkyl-Phosphonate SAMs on Mica

Amorphous iron formation due to low energy heavy ion implantation in evaporated 57Fe thin films

Surface modification of passive iron by alkylphosphonic acid layers

Formation and structure of alkylphosphonic acid layers on passive iron

Structure of the nonionic surfactant triethoxy monooctylether C8E3 adsorbed at the free water surface, as seen from surface tension measurements and Monte Carlo simulations

Next partner events of TINC

We are Media Partner of: