ARI Safety 7800 series Hypot Ultra 4 series IVI Driver Getting Started User Guide
- September 7, 2024
- ARI Safety
Table of Contents
- 7800 series Hypot Ultra 4 series IVI Driver Getting Started
- Product Information
- Specifications:
- Product Usage Instructions:
- 1. IVI Driver Setup
- 2. Getting Started with C
- Q: Where can I find more details about the IVI drivers?
- Q: How can I get help with the HYPOT ULTRA 4 IVI driver
- include “stdafx.h” #include #include #import
- Import the IVI-COM DLL cc.GetModule(‘ARI78XX_64.dll’) from comtypes.gen
- Create file try:
- Add ACW test item by AddACWTest()
- Current High Limit
- Current Low Limit
- Dewll time in seconds
- RampDownTime in seconds
- ArcSense level
- Low limit of the continuity resistance
- Continuity resistance offset
- Add an ACW step and then edit parameters
- Start test driver.Execution.Execute()
- Measure lastOpcStatus = False
- Reset test and close connection driver.Execution.Abort() driver.Close()
- References
- Read User Manual Online (PDF format)
- Download This Manual (PDF format)
7800 series Hypot Ultra 4 series IVI Driver Getting Started
“`html
Product Information
Specifications:
- Product Name: HYPOT ULTRA 4 series (7800 series)
- Manufacturer: Ikonix Group
- Driver Type: IVI Instrument Driver
- Programming Language Support: C#, C++, Python, LabVIEW
Product Usage Instructions:
1. IVI Driver Setup
Follow these steps to set up the IVI Driver:
-
Download the IVI Instrument Drivers from the website.
-
Install Shared Components from the IVI Foundation Website.
-
Run the self-extracting setup file and follow the installation
wizard instructions. -
If prompted to download IVI Shared Components, visit the IVI
Foundation Website and download the latest version. -
Install the shared components and continue with the IVI Driver
installation. -
Follow any additional steps for installing source code if
required.
2. Getting Started with C
To establish communication with the instrument using C#
programming:
- Ensure you have the following requirements:
- HYPOT ULTRA 4 IVI Driver
- IVI Shared Components
- VISA (Virtual Instrument Software Architecture) driver
- Microsoft Visual Studio or other IDEs
- A HYPOT ULTRA 4 series safety tester (7800, 7804, 7820, 7850,
-
Import the IVI-COM driver and create a program to control the
device step-by-step. -
Consider using IVI-COM interop for easier program
development.
Frequently Asked Questions (FAQ):
Q: Where can I find more details about the IVI drivers?
A: For more information about IVI drivers, please refer to the
website of IVI Foundation.
Q: How can I get help with the HYPOT ULTRA 4 IVI driver
installation?
A: You can check the help document ARI78XX.chm located at the
path IVI FoundationIVIDriversARI78XX for detailed
instructions.
“`
Document Version 1.1
IVI Driver Getting Started Guide
For Hypot Ultra 4 series(7800 series),
Overview
This application note will describe the installing instructions and several
programming examples for IVI Instrument Driver of HYPOT ULTRA4 series. To
understand more about the IVI drivers, please refer to the website of IVI
Foundation. For more detail of the HYPOT ULTRA 4 IVI driver, please check the
help document, ARI78XX.chm, located at the path of
1. IVI Driver Setup
Instructions on downloading and Installing IVI Instrument Drivers from
website. Download and install Shared Components from IVI Foundation Website.
2. Getting Started with C#
A tutorial using IVI driver establishes communication with the instrument by
C# programming.
3. Getting Started with C++
A tutorial using IVI driver establishes communication with the instrument by
C++ programming.
4. Getting Started with Python
A tutorial using IVI driver establishes communication with the instrument by
Python programming.
5. Getting Started with LabVIEW
A tutorial using IVI driver establishes communication with the instrument by
LabVIEW programming.
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.arisafety.com
1. 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 be
opened.
Please download the latest IVI Shared Components either 32-bit or 64-bit
version. After downloading, install the shared components and continue the
installation.
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.arisafety.com
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 “
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.arisafety.com
2. 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
HYPOT ULTRA 4 IVI Driver IVI Shared Components,
https://www.ivifoundation.org/shared_components/Default.aspx VISA (Virtual
Instrument Software Architecture) driver,
https://www.ni.com/en/support/downloads/drivers/download.ni-visa.html
Microsoft Visual Studio or other IDEs A HYPOT ULTRA 4 series safety tester,
including 7800, 7804, 7820, 7850 and 7854
Download the Drivers
Please go to the website of the Associated Research 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 HYPOT ULTRA 4 IVI Driver. A help file, ARI78XX.chm, would be
located at the path of
There are four types of sample code for your reference which are located at
the path of
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.arisafety.com
Development
1 Create a C# project 1.1 Open Visual Studio IDE and create a new C# console
project.
2 Import Libraries 2.1 Right-click on the reference and select Add Reference
in the solution explorer 2.2 Click on the Browse button and go to the path of
“
2.3 Declare to use the name spaces for the interop assemblies that are
specified to reference in the previous section.
using AssociatedResearch.ARI78XX.Interop;
3 Start programming 3.1 Create an object of the driver and use the initialize
method to build up the connection.
//Initialize // var driver = new ARI78XX(); string resourceName =
“ASRL8::INSTR”; string optionString = “DriverSetup=BaudRate=38400”;
driver.Initialize(resourceName, true, false, optionString);
For more detail for the parameters of the Initialize() method, please refer to
the help document, ARI78XX.chm, which is located at “
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.arisafety.com
If you use serial port to connect to device, please follow the above example, “DriverSetup=BaudRate=38400”, to setup the baud rate. There are other parameters for the option of the Initialize() method, please refer to the ARI78XX.chm for more details.
3.2 Create file and setup test
//Create and edit test file // try {
driver.Files.Create(1, “IviTest”); } catch {
int totalFiles = driver.Files.TotalFiles; for (int i = 0; i <= totalFiles;
i++) {
if (driver.Files.QueryFileName(i).Contains(“IviTest”)) {
driver.Files.Delete(i); driver.Files.Create(i, “IviTest”); break; } } }
//Add ACW test item by AddACWTest()
driver.Steps.AddACWTest(
1240, //AC Voltage
5,
//Current High Limit
0,
//Current Low Limit
0.1, //Ramp up time in seconds
2,
//Dewll time in seconds
0,
//RampDownTime in seconds
5,
//ArcSense level
5,
//Real Current High Limit
0,
//Real Current Low Limit
0,
//Offset Current
ARI78XXFrequencyEnum.ARI78XXFrequency60Hz, //Frequency
true, //Arc detection
false, //Continuity test
ARI78XXRangingModeEnum.ARI78XXRangingModeAuto, //Range
“”);
//Scanner
//Add an ACW step and then edit parameters driver.Steps.AddACWTestWithDefaults(); driver.Parameters.Voltage = 1500; driver.Parameters.HighLimitTotal = 5; driver.Parameters.LowLimitTotal = 0; driver.Parameters.RampUp = 0.5; driver.Parameters.Dwell = 3; driver.Parameters.RampDown = 1; driver.Parameters.ArcSense = 3; driver.Parameters.HighLimitReal = 3; driver.Parameters.LowLimitReal = 1; driver.Parameters.Offset = 0; driver.Parameters.Frequency = ARI78XXFrequencyEnum.ARI78XXFrequency50Hz; driver.Parameters.ArcDetectEnabled = true; driver.Parameters.ContinuityEnabled = false; driver.Parameters.RangingMode = ARI78XXRangingModeEnum.ARI78XXRangingModeFixed;
driver.Files.Save();
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.arisafety.com
For the HYPOT ULTRA 4, all of the test parameters would be within a file.
Therefore, you need to create a file first and then setup the parameters. For
the previous firmware version, it might not support the methods of
AddACWTest(), AddDCWTest() and AddIRTest(). Therefore, we could add the steps
with default values using the AddACWTestWithDeafults(),
AddDCWTestWithDeafults() and AddIRTestWithDeafults(), and then modify the
parameters. At first, there is a try-catch process to handle creating files
with the name might be existed.
3.3 Load file and start a test
//Output // driver.Execution.Execute();
Before running output, you have to select a file to load using
driver.files.Load(). And then invoke driver.Execution.Execute() method to
start a test.
3.4 Measure during test
bool lastOpcStatus = false; while (true) {
Console.WriteLine(driver.Execution.ReadTestDisplayRaw());
driver.System.WriteString(“*OPC?n”); string opcStatus =
driver.System.ReadString(); if (opcStatus.Contains(“1”) && lastOpcStatus)
break; lastOpcStatus = opcStatus.Contains(“1”); Thread.Sleep(100); }
This while loop would run with the condition of state is testing. Using the
methods of Execution.ReadTestDisplayRaw() could let you read the immediate
readings.
3.5 Close the session
driver.Execution.Abort(); driver.Close(); Console.WriteLine(“Done – Press
Enter to Exit”); Console.ReadLine();
Close() would close the I/O session to the instrument.
4 Completed example The completed sample code could be find at the path of
“
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.arisafety.com
3. 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
HYPOT ULTRA 4 IVI Driver IVI Shared Components,
https://www.ivifoundation.org/shared_components/Default.aspx VISA (Virtual
Instrument Software Architecture) driver,
https://www.ni.com/en/support/downloads/drivers/download.ni-visa.html
Microsoft Visual Studio or other IDEs An HYPOT ULTRA 4 series power supply,
including 7800, 7804, 7820, 7850 and 7854
Download the Drivers
Please go to the website of the Associated Research 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 HYPOT ULTRA 4 IVI Driver. A help file, ARI78XX.chm, would be
located at the path of
There are three types of sample code for your reference which are located at
the path of
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.arisafety.com
Development
1 Create a C++ project 1.1 Open Visual Studio or any other IDEs and create a
new C++ console project.
2 Include Directories 2.1 Right-click on the project and select properties.
2.2 Expand the Configuration Properties and select VC++ Directories on the
left menu. 2.3 Click on the drop-down column of the Include Directories and
select <Edit..> to open the edit window.
2.4 Select the New Line button to add an include directories. There will be
two necessary paths need to be added.
2.5 Click OK to complete including the directories. 2.6 Use the #import
operator to import the necessary DLLs
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.arisafety.com
include “stdafx.h” #include #include #import
3.2 Create file and setup test
//Create file and config the parameters try {
driver->Files->Create(1, “IviTest”); } catch (…) {
int totalFiles = driver->Files->GetTotalFiles(); for (int i = 1; i <=
totalFiles; i++) {
std::string fileName = driver->Files->QueryFileName(i); if (fileName ==
“IviTest”) {
driver->Files->Delete(i); driver->Files->Create(i, “IviTest”); break; } } }
//Add ACW test item by AddACWTest()
driver->Steps->AddACWTest( 1240, //AC Voltage 5, //Current High Limit
0,
//Current Low Limit
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.arisafety.com
0.1, //Ramp up time in seconds
2, //Dewll time in seconds
0,
//RampDownTime in seconds
5,
//ArcSense level
5,
//Real Current High Limit
0,
//Real Current Low Limit
0,
//Offset Current
ARI78XXFrequencyEnum::ARI78XXFrequency60Hz, //Frequency
true, //Arc detection
false, //Continuity test
ARI78XXRangingModeEnum::ARI78XXRangingModeAuto, //Range
“”);
//Scanner
//Add ACW step and then edit parameters driver->Steps->AddACWTestWithDefaults(); driver->Parameters->Voltage = 1500; driver->Parameters->HighLimitTotal = 5; driver->Parameters->LowLimitTotal = 0; driver->Parameters->RampUp = 0.5; driver->Parameters->Dwell = 3; driver->Parameters->RampDown = 1; driver->Parameters->ArcSense = 3; driver->Parameters->HighLimitReal = 3; driver->Parameters->LowLimitReal = 1; driver->Parameters->Offset = 0; driver->Parameters->Frequency = ARI78XXFrequencyEnum::ARI78XXFrequency50Hz; driver->Parameters->ArcDetectEnabled = true; driver->Parameters->ContinuityEnabled = false; driver->Parameters->RangingMode = ARI78XXRangingModeEnum::ARI78XXRangingModeFixed;
driver->Files->Save();
For the HYPOT ULTRA 4, 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. For the previous firmware version, it does not support the methods of AddACWTest(), AddDCWTest() and AddIRTest(). Therefore, we could add the steps with default values using the AddACWTestWithDeafults(), AddDCWTestWithDeafults() and AddIRTestWithDeafults() and then modify the parameters. At first, there is a try-catch process to handle creating files with the name might be existed.
3.3 Load file and start a test
//Output driver->Execution->Execute();
Before running output, you have to select a file to load using
driver->files->Load(). And then invoke driver->Execution->Execute() method to
start a test.
3.4 Measure during test
bool lastOpcStatus = false; while (true) {
std::cout << driver->Execution->ReadTestDisplayRaw() << std::endl;
driver->System->WriteString(“*OPC?n”); std::string opcStatus =
driver->System->ReadString(); if (opcStatus.find(“1”) != std::string::npos &&
lastOpcStatus)
break; lastOpcStatus = opcStatus.find(“1”) != std::string::npos; Sleep(100); }
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.arisafety.com
This while loop would run with the condition of state is testing. Using the
methods of Execution.ReadTestDisplayRaw() could let you read the immediate
readings. 3.5 Close the session
driver->Execution->Abort(); driver->Close(); std::cout << “Done – Press Enter
to Exit” << std::endl; std::cin.get();
Close() would close the I/O session to the instrument. 4 Completed example
The completed sample code could be found at the path of “
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.arisafety.com
4. 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
ARI78XX IVI Driver IVI Shared Components,
https://www.ivifoundation.org/shared_components/Default.aspx VISA (Virtual
Instrument Software Architecture) driver,
https://www.ni.com/en/support/downloads/drivers/download.ni-visa.html Python
IDE Cometypes Library ( pip install comtypes) An HYPOT ULTRA 4 series safety
tester, including 3805, 3855, 3865 and 3870
Download the Drivers
Please go to the website of the Associated Research 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 HYPOT ULTRA 4 IVI Driver. A help file, ARI78XX.chm, would be
located at the path of
There are three types of sample code for your reference which are located at
the path of
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.arisafety.com
Development
1 Install the Comtypes library pip install comtypes
In order to call an external com DLL in Python, you will need comtypes library
installed.
2 Create a Python file 2.1 Open any IDE of Python and create a new Python
file.
3 Import Libraries 3.1 Import the cometypes library and ARI78XX_64.dll
import time import comtypes import comtypes.client as cc
Import the IVI-COM DLL cc.GetModule(‘ARI78XX_64.dll’) from comtypes.gen
import ARI78XXLib
4 Start programming 4.1 Create an object of the driver and use the initialize
method to build up the connection.
driver = cc.CreateObject(‘ARI78XX.ARI78XX’, interface=ARI78XXLib.IARI78XX) #
Initialize Driver and make connection driver.Initialize(‘ASRL7::INSTR’, True,
False, ‘DriverSetup=BaudRate=38400’)
For more detail for the parameters of the Initialize() method, please refer to
the help document, ARI78XX.chm located at “
4.2 Create file and setup test
Create file try:
driver.Files.Create(1, “IviTest”) except:
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.arisafety.com
files = driver.Files.TotalFiles; for i in range(1,files+1):
if ‘IviTest’ in driver.Files.QueryFileName(i): driver.Files.Delete(i)
driver.Files.Create(i, ‘IviTest’) break
Add ACW test item by AddACWTest()
driver.Steps.AddACWTest(
1240, #AC Voltage
20,
Current High Limit
0,
Current Low Limit
0.1, #Ramp up time in seconds
2,
Dewll time in seconds
0,
RampDownTime in seconds
5,
ArcSense level
True, #Arc detection
ARI78XXLib.ARI78XXFrequency60Hz, #Frequency
True, #Continuity test
1.5, #High limit of the continuity resistance
0,
Low limit of the continuity resistance
Continuity resistance offset
Add an ACW step and then edit parameters
driver.Steps.AddACWTestWithDefaults() driver.Parameters.Voltage = 1500 driver.Parameters.HighLimit = 10 driver.Parameters.LowLimit = 0 driver.Parameters.RampUp = 0.5 driver.Parameters.Dwell = 3 driver.Parameters.RampDown = 1 driver.Parameters.ArcSense = 3 driver.Parameters.ArcDetectEnabled = True driver.Parameters.Frequency = ARI78XXLib.ARI78XXFrequency60Hz driver.Parameters.ContinuityEnabled = True driver.Parameters.ContHiLimit = 1.5 driver.Parameters.ContLoLimit = 0 driver.Parameters.ContOffset = 0.2
driver.Files.Save()
For the HYPOT ULTRA 4, 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. For the previous firmware version, it does not support the methods of
AddACWTest(), AddDCWTest() and AddIRTest(). Therefore, we have to add the
steps with default values using the AddACWTestWithDeafults(),
AddDCWTestWithDeafults() and AddIRTestWithDeafults() and then modify the
parameters. At first, there is a try-catch process to handle creating files
with the name might be existed.
4.3 Load file and start a test
Start test driver.Execution.Execute()
Before running output, you have to select a file to load using driver->files->Load(). And then invoke driver->Execution->Execute() method to start a test.
4.4 Measure during test
Measure lastOpcStatus = False
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.arisafety.com
while(True): print(driver.Execution.ReadTestDisplayRaw())
driver.System.WriteString(“*OPC?n”) opcStatus = driver.System.ReadString() if
(‘1’ in opcStatus and lastOpcStatus): break lastOpcStatus = ‘1’ in opcStatus
time.sleep(0.1)
This while loop would run with the condition of state is testing. Using the
methods of Execution.ReadTestDisplayRaw() could let you read the immediate
readings. 4.5 Close the session
Reset test and close connection driver.Execution.Abort() driver.Close()
print(“Done – Press Enter to Exit”)
Close() would close the I/O session to the instrument. 5 Completed example
The completed sample code could be find at the path of “
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.arisafety.com
5. 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 plug & 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
HYPOT ULTRA 4 IVI Driver IVI Shared Components,
https://www.ivifoundation.org/shared_components/Default.aspx VISA (Virtual
Instrument Software Architecture) driver,
https://www.ni.com/en/support/downloads/drivers/download.ni-visa.html National
Instruments LabVIEW (This example was written in LabVIEW 2014) An HYPOT ULTRA
4 series safety tester, including 3805, 3855, 3865 and 3870
Download the Drivers
Please go to the website of the Associated Research 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 HYPOT ULTRA 4 IVI Driver. A help file, ARI78XX.chm, would be
located at the path of
There are three types of sample code for your reference which are located at
the path of
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.arisafety.com
1 Open a new vi. 2 Import the DLL component.
Development
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. 3 Right-clicking on the Automation Open and select Select
ActiveX Class -> Browse will open a window for choosing the DLL. 4 Select the
Browse button and select the file ARI78XX_64.dll located at
The Labview will automatically generate an Automation refnum of
ARI78XXLib.IHYPOT ULTRA 4 control and connect to the Automation Open function.
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.arisafety.com
6 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, ARI78XX.chm located at “
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.arisafety.com
6.1 Create file and setup test
Use the Property Node to get reference of the sub-system of IARI78XX class.
For example, Files is one of the sub-class of IARI78XX, and then we could use
the Create method under Files to create a file in the device. For the HYPOT
ULTRA 4, 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. The methods
of AddACWTest, AddDCWTest and AddIRTest are unavailable for the previous
firmware version. Therefore, we could add steps with default parameters first
and then edit the parameters. Please be noted that the flow of error data
could make sure that the procedure ran sequentially.
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.arisafety.com
6.2 Start a test and measure
Before running output, you have to select a file to load. And then invoke
Execute method to start a test under Execution class. The Execution class is
one property of the IARI78XX class. This for loop would run with polling the
state and meters. Using the methods of ReadTestDiaplyRaw could let you read
the immediate readings. ReadTestDiaplyRaw is one method of IARI78XX.Execution.
There is another commands querying states of the device, polling “*OPC?” could
get the running status. Please be noted that the status between step and step
might be OFF for a shot moment. To avoid reading wrong status, we use shift
register comparing the status.
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.arisafety.com
6.3 Close the session
Close method in IARI78XX class would close the I/O session to the instrument.
Also, all of the references should be closed using the Close Reference
function. 7 Completed example
The completed example with the state machine design pattern for your reference
which are located at the path of
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.arisafety.com
References
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>