EEC Sources EEC8500 IVI Driver Getting Started User Guide

September 3, 2024
EEC Sources

**EEC Sources EEC8500 IVI Driver Getting Started User Guide

**

IVI Driver Setup

After downloading the IVI Driver, run the self-extracting setup file and you will see the installation wizard to start setup. Please follow the below instruction to complete the installation.

The setup will detect if IVI Shared Components are installed. If prompted with the following screen, click on Download, The IVI Foundation Website will open.

Please download the latest IVI Shared Components either 32-bit or 64-bit version. After downloading, install the shared components and continue the installation.

After the IVI Shared Components are installed, please follow the steps to complete installation.

There are options for installing the source code of the IVI Driver, if it is necessary.

The IVI driver would be installed under the path of “\IVI Foundation\IVI”. For the files of the *.dll file would be located in the “Bin” folder. And the necessary help documents will be in the folder of “..\Drivers\EEC8500”.

Getting Started with C

Introduction

This chapter describes the procedures of using the IVI-COM driver of Ikonix Group by C# programming language. In this exercise, the programmer could import the driver and complete a short program controlling the device step-by step.

The C# could use IVI-C driver, either. However, we suggest that an IVI-COM interop would be easier for you to develop the program.

Requirements

Download the Drivers

Please go to the website of the IKONIX to download the latest version of IVI drivers or contact the vendors. Follow the steps and instructions in Chapter 1 to complete the installation.

References

On the website of IVI Foundation, there are documentations you might be interested while implementing controlling the devices. You could find the resources of developing with an IVI driver, https://www.ivifoundation.org/resources/default.aspx. The IVI Shared Components could be download from https://www.ivifoundation.org/shared_components/Default.aspx. There are several documents on the website for understanding the IVI.

In the installed directory, there are several documents for your reference understanding the EEC8500 IVI Driver. A help file, EEC8500.chm, would be located at the path of \IVI Foundation\IVI\Drivers\EEC8500. In this help file, you could find all of the provided functions and their hierarchy.

There are four types of sample code for your reference which are located at the path of \IVI Foundation\IVI\Drivers\EEC8500\Examples, including C#, C++, Python and LabVIEW as well.

Development

  1. Create a C# project

  2. Open Visual Studio IDE and create a new C# console project.

  3. Import Libraries

  4. Right-click on the reference and select Add Reference in the solution explorer

  5. Click on the Browse button and go to the path of “\IVI Foundation\IVI\Bin\Primary Interop Assemblies” and choose Ikonix.EEC8500.Interop.dll, Ivi.Driver.Interop.dll and Ivi.ACPwr.Interop.dll.

  6. Declare to use the name spaces for the interop assemblies that are specified to reference in the previous section.
    using Ikonix.EEC8500.Interop;

  7. Start programming

  8. Create an object of the driver and use the initialize method to build up the connection.
    For more detail for the parameters of the Initialize() method, please refer to the help document, EEC8500.chm, which is located at “\IVI Foundation\IVI\Drivers\EEC8500”.
    The first parameter ResourceName is a string type and indicates the interfaces type and address of the connection. The resource name,”ASRL5::INSTR”, represents a serial port with address 5. For example, a GPIB connection could be “GPIB0::8::INSTR”. For TCP/IP connection, it will be in the format of “TCPIP0::192.168.0.1::10001::SOCKET”. The 10001 is the TCP/IP connection port of EEC8500.
    If you use serial port to connect to device, please follow the above example, “DriverSetup=BaudRate=115200”, to setup the baud rate. There are other parameters for the option of the Initialize() method, please refer to the EEC8500.chm for more detail. For example, “QueryInstrStatus=true” makes the session automatically query the error status for each command was sent.

  9. Create file and setup test

For the EEC8500, all of the test parameters would be within a file. Therefore, you need to create a file first and then setup the parameters. Also, there are many difference between Standard and Advanced levels of EEC8500. In this example, the configurations of CoupleACDC, Waveform, CurrentLowLimit and PowerLowLimit are not available in the Standard level of EEC8500.

3. Load file and start a test  

Before running output, you have to select a file to load. And then invoke driver.OutputPhases.Item[“PhaseA”].Enabled method to start a test.

4. EEC Sources EEC8500 IVI Driver Getting Started User Guide  

This while loop would run with the condition of state is testing. Using the methods of Measure subsystem could let you read the immediate readings.

5. Close the session  

Close() would close the I/O session to the instrument.

  1. Completed example The completed sample code could be find at the path of “\IVI Foundation\IVI\Drivers\EEC8500\Examples”.

Getting Started with C++

Introduction

This chapter describes the procedures of using the IVI-COM driver of Ikonix Group by C++ programming language. In this exercise, the programmer could import the driver and complete a short program controlling the device step-by step.

Requirements

Download the Drivers

Please go to the website of the IKONIX to download the latest version of IVI drivers or contact the vendors. Follow the steps and instructions in Chapter 1 to complete the installation.

References

On the website of IVI Foundation, there are documentations you might be interested while implementing controlling the devices. You could find the resources of developing with an IVI driver, https://www.ivifoundation.org/resources/default.aspx. The IVI Shared Components could be download from https://www.ivifoundation.org/shared_components/Default.aspx. There are several documents on the website for understanding the IVI.

In the installed directory, there are several documents for your reference understanding the EEC8500 IVI Driver. A help file, EEC8500.chm, would be located at the path of \IVI Foundation\IVI\Drivers\EEC8500. In this help file, you could find all of the provided functions and their hierarchy.

There are three types of sample code for your reference which are located at the path of \IVI Foundation\IVI\Drivers\EEC8500\Examples, including C#, C++ and Python as well.

Development

  1. Create a C++ project

  2. Open Visual Studio IDE and create a new C++ console project.

  3. Include Directories

  4. Right-click on the project and select properties.

  5. Expand the Configuration Properties and select VC++ Directories on the left menu.

  6. Click on the drop-down column of the Include Directories and select <Edit..> to open the edit window.

  7. Select the New Line button to add an include directories. There will be two necessary paths need to be added.

  * IVI Foundation\IVI\Bin
  * $(VXIPNPPATH)VisaCom  

5. Click OK to complete including the directories.
6. Use the #import operator to import the necessary DLLs  
  1. Start programming
  2. Create an instance of the driver by pointer and use the initialize method to build up the connection

For more detail for the parameters of the Initialize() method, please refer to the help document, EEC8500.chm located at “\IVI Foundation\IVI\Drivers\EEC8500”. The first parameter ResourceName is a string type and indicates the interfaces type and address of the connection. The resource name,”ASRL6::INSTR”, represents a serial port with address 5. For example, a GPIB connection could be “GPIB0::8::INSTR”. For TCP/IP connection, it will be in the format of “TCPIP0::192.168.0.1::10001::SOCKET”. The 10001 is the TCP/IP connection port of EEC8500.
If you use serial port to connect to device, please follow the above example, “DriverSetup=BaudRate=115200”, to setup the baud rate. There are other parameters for the option of  the Initialize() method, please refer to the EEC8500.chm for more detail. For example, “QueryInstrStatus=true” makes the session automatically query the error status for each command was sent.

2. Create file and setup test  

For the EEC8500, all of the test parameters would be within a file. Therefore, you need to create a file first and then select a file to be edited. Also, there are many difference between Standard and Advanced levels of EEC8500. In this example, the configurations of CoupleACDC, Waveform are not available in the Standard level of EEC8500.

3. Load file and start a test  

Before running output, you have to select a file to load. And then set the property of driver- >OutputPhases->Item[“PhaseA”]->Enabled to start a test by a Boolean value.

4. Measure during test  

This while loop would run with polling the states and meters. Using the methods of Measure subsystem could let you read the immediate readings.

5. Close the session  
  1. Completed example The completed sample code could be found at the path of “\IVI Foundation\IVI\Drivers\EEC8500\Examples”.

Getting Started with Python

Introduction

This chapter describes the procedures of using the IVI-COM driver of Ikonix Group by Python programming language. In this exercise, the programmer could import the driver and complete a short program controlling the device step-by step.

Requirements

Download the Drivers

Please go to the website of the IKONIX to download the latest version of IVI drivers or contact the vendors. Follow the steps and instructions in Chapter 1 to complete the installation

References On the website of IVI Foundation, there are documentations you might be interested in while implementing controlling the devices. You could find the resources of developing with an IVI driver, https://www.ivifoundation.org/resources/default.aspx. The IVI Shared Components could be download from https://www.ivifoundation.org/shared_components/Default.aspx. There are several documents on the website for understanding the IVI.

In the installed directory, there are several documents for your reference understanding the EEC8500 IVI Driver. A help file, EEC8500.chm, would be located at the path of \IVI Foundation\IVI\Drivers\EEC8500. In this help file, you could find all of the provided functions and their hierarchy.

There are three types of sample code for your reference which are located at the path of \IVI Foundation\IVI\Drivers\EEC8500\Examples, including C#, C++ and Python as well.

Development

  1. Install the Comtypes library

In order to call an external com DLL in Python, you will need comtypes library installed.

  1. Create a Python file

  2. Open any IDE of Python and create a new Python file.

  3. Import Libraries

  4. Import the cometypes library and EEC8500_64.dll

  5. Start programming

  6. Create an object of the driver and use the initialize method to build up the connection.

For more detail for the parameters of the Initialize() method, please refer to the help document, EEC8500.chm located at “\IVI Foundation\IVI\Drivers\EEC8500”. The first parameter ResourceName is a string type and indicates the interfaces type and address of the connection. The resource name,”ASRL5::INSTR”, represents a serial port with address 5. For example, a GPIB connection could be “GPIB0::8::INSTR”. For TCP/IP connection, it will be in the format of “TCPIP0::192.168.0.1::10001::SOCKET”. The 10001 is the TCP/IP connection port of EEC8500.
If you use serial port to connect to device, please follow the above example, “DriverSetup=BaudRate=115200”, to setup the baud rate. There are other parameters for the option of the Initialize() method, please refer to the EEC8500.chm for more detail. For example, “QueryInstrStatus=true” makes the session automatically query the error status for each command was sent.

2. Create file and setup test  

For the EEC8500, all of the test parameters would be within a file. Therefore, you need to create a file first and then select a file to be edited. Also, there are many difference between Standard and Advanced levels of EEC8500. In this example, the configurations of CoupleACDC, Waveform, CurrentLowLimit and PowerLowLimit are not available in the Standard level of EEC8500.

3. Load file and start a test  

Before running output, you have to select a file to load. And then set driver.OutputPhases.Item[“PhaseA”].Enabled property to start a test with a Boolean value.

4. Measure during test  

This for loop would run with polling the state and meters. Using the methods of Measure subsystem could let you read the immediate readings.

5. Close the session  
  1. Completed example The completed sample code could be find at the path of “\IVI Foundation\IVI\Drivers\EEC8500\Examples”.

Getting Started with LabVIEW

Introduction

This chapter describes the procedures of using the IVI-COM driver of Ikonix Group by LabVIEW programming language. In this exercise, the programmer could learn how to import the driver and complete a short program controlling the device step-by step.

Even though the programmers could control the device by IVI Driver. For the LabVIEW programmer, we suggest that using LabVIEW plu&play driver would be easier for your programming and debugging. The LabVIEW driver from Ikonix Group are all made up with commands directly, so you could clearly check how the commands were sent to instruments.

Requirements

Download the Drivers

Please go to the website of the IKONIX to download the latest version of IVI drivers or contact the vendors. Follow the steps and instructions in Chapter 1 to complete the installation.

References

On the website of IVI Foundation, there are documentations you might be interested while implementing controlling the devices. You could find the resources of developing with an IVI driver, https://www.ivifoundation.org/resources/default.aspx. The IVI Shared Components could be download from https://www.ivifoundation.org/shared_components/Default.aspx. There are several documents on the website for understanding the IVI

In the installed directory, there are several documents for your reference understanding the EEC8500 IVI Driver. A help file, EEC8500.chm, would be located at the path of \IVI Foundation\IVI\Drivers\EEC8500. In this help file, you could find all of the provided functions and their hierarchy. There are three types of sample code for your reference which are located at the path of \IVI Foundation\IVI\Drivers\EEC8500\Examples, including C#, C++ and Python as well.

Development

  1. Open a new vi.
  2. Import the DLL component.

Open the Function Palette by right-clicking on the block diagram. Then select Connectivity -> ActiveX. Select or drop the Automation Open function on the block diagram.

  1. Right-clicking on the Automation Open and select Select ActiveX Class -> Browse will open a window for choosing the DLL.
  2. Select the Browse button and select the file EEC8500.dll located at (x86)\IVI Foundation\IVI\Bin. The IVI EEC8500 Type Library would be added into the Type Libraries drop down menu.
  3. Select IEEC8500 and then click OK to complete creating an object of EEC8500 driver instance.

The Labview will automatically generate an Automation refnum of EEC8500Lib.IEEC8500 control and connect to the Automation Open function.

  1. Create an Invoke Node function and connect the reference to the output of Automation Refnum and then click on the Method and select Initialize to initialize the connection with device.

For more detail for the parameters of the Initialize() method, please refer to the help document, EEC8500.chm located at “\IVI Foundation\IVI\Drivers\EEC8500”. The first parameter ResourceName is a string type and indicates the interfaces type and address of the connection. The resource name,”ASRL7::INSTR”, represents a serial port with address 4. For example, a GPIB connection could be “GPIB0::8::INSTR”. For TCP/IP connection, it will be in the format of “TCPIP0::192.168.0.1::10001::SOCKET”. The 10001 is the TCP/IP connection port of EEC8500.
If you use serial port to connect to device, please follow the above example, “DriverSetup=BaudRate=115200”, to setup the baud rate. There are other parameters for the option of the Initialize() method, please refer to the EEC8500.chm for more detail. For example, “QueryInstrStatus=true” makes the session automatically query the error status for each command was sent.

1. Switch operation mode  

Before we create a Manual Mode file on the EEC8500 power supply, we have to switch the operation mode to Manual Mode. The Set Operation Mode() method is under the Execution interface. Please be noted that only the Advanced level of 8500 supports the Step, Pulse and Library modes

2. Create file and setup test  

Use the Property Node to get reference of the sub-system of IEEC8500 class. For example, File is one of the sub class of IEEC8500.ManualMode, and then we could use the Add method under File to create a file in the device.

For the EEC8500, all of the test parameters would be within a file. Therefore, you need to create a file first and then select a file to be edited. Also, there are many differences between Standard and Advanced levels of EEC8500. In this example, the configurations of CoupleACDC, Waveform are not available in the Standard level of EEC8500.
Please be noted that the flow of error data could make sure that the procedure ran sequentially.

3. Load file and start a test  

Before running output, you have to select a file to load. And then invoke driver. Output Phases. Item[“PhaseA”].Enabled property to start a test with a Boolean value. The Output Phases class is one property of the IEEC8500 class. The function of Item[“PhaseA”] is the method of Output Phases. This method inherits the IviACPwr class, it provides the features for multiple phases, however, the EEC8500 provides only single phase capability.

4. Measure during test  

This for loop would run with polling the state and meters. Using the methods of Measure subsystem could let you read the immediate readings.
Measure is one property of IEEC8500, and All is a method of Measure class. It will return the measurements in a raw string

5. Stop and close the session  

The above procedure which is similar with the output procedure shows how to stop output, just to set the Enable property to False.

Close method in IEEC8500 class would close the I/O session to the instrument. Also, all of the references should be closed using the Close Reference function.

  1. Completed example

The completed example for your reference which are located at the path of \IVI Foundation\IVI\Drivers\EEC8500\Examples, including C#, C++ and Python as well. However, we suggest that using LabVIEW plug & play driver would be easier for LabVIEW developers. If you need a LabVIEW driver, please download it from the website of IKONIX or contact the vendor.

28105 N. Keith Drive
Lake Forest , IL 60045 USA
Toll Free : 1-800-858-8378 US/Canada
Phone: 1-847-367-4077 |”
Fax: 1-847-367-4080 |
www.eecsources.com

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals