| Info | Description |
|---|---|
| Info | A DotNET based toolkit providing measurement libraries, validation examples and automation test sequences for electrical functional testing of PCB assembly. |
| Author | National Instruments |
- About
- Documentation
- Prerequisites
- Installation & Getting Started
- Key Concepts
- Usage
- Bugs / Feature Requests
- License
PCB Assembly Test Toolkit is a collection of measurement APIs classes for PCB Assembly electrical functional test, it is focused on cDAQ hardware used through DAQmx environment.
Libraries are built in C# 7.3 and target .NET framework 4.6.2 and .NET Core 6.0, they are designed, and structured to be used with .NET custom sequencers or NI TestStand. They can be modified to be adapted to any specific measurements thanks to provided source code and DLLs.
For comprehensive information, refer to the following documentation:
- PCBA Test Toolkit Getting Started - Step-by-step instructions for installation and initial setup.
- PCBA Test Toolkit User Manual - Complete reference documentation for measuremenets and TestStand automation sequences.
Download and install the below mentioned packages from NI Package Manager or visit ni.com/downloads.
- NI LabVIEW Runtime - 2022 Q3 (32-bit, 64 bit)
- NI-DAQmx - 2023 Q1 and above (32-bit, 64 bit)
- NI-845x - 19.0 and above (2022 Q3 recommended)
- NI-VISA - 2023 Q2 (32-bit, 64-bit)
Also download the below mentioned dependencies:
- Visual Studio - 2022
- Dot NET - Framework 4.6.2 and .NET Core 6.0
- cDAQ (All NI-DAQmx devices with hardware resources compatible as optional)
To Install and use the PCB Assembly Test Toolkit DotNET, follow the below mentioned steps:
-
Download the source code from the repository.
-
Create a folder
PCB Assembly Test Toolkit DotNETunderC:\Users\Public\Documents\National Instruments\. -
Copy
source/Packages,source/PCBA.Test.Toolkit,source/PCBA.Test.Toolkit.Automation,source/PCBA.Test.Toolkit.Integration,source/NI_PCBA_Measurement_Simulated_TestScale.ini,source/PCB Assembly Test Toolkit.sln, andsource/PCBA Test Toolkit csproj template.xmlfromsourceand paste in the below mentioned location:C:\Users\Public\Documents\National Instruments\PCB Assembly Test Toolkit DotNET\
For detailed installation instructions and initial setup in Visual Studio, refer to the PCBA Test Toolkit Getting started - Section 6 Toolkit installation.
All the measurement libraries are compiled in the DLLs as explained in the Getting Started guide. Each library as three main methods:
| Method | Overview |
|---|---|
| CreateInstance | Used to initialize a DAQmx task using either physical or global channels provided to perform the respective task. |
| ConfigureAndMeasure/ConfigureAndGenerate | Configures, Initiates and Measure/Generate for an input/output task respectively. Also, can returns raw data for external custom post analysis and measurements from embedded analysis(selectable/optional) |
| Close | Closes and clears the DAQmx task. |
All Libraries (except Power Supply Source and Measure) support Global Virtual Channels created using NI MAX. User can either provide physical channels from the module directly or use virtual channels. If both are provided, Virtual channels will take precedence and will be used while initializing the task.
Note: Channel settings of Global Virtual Channels set in NI MAX will be overwritten using ConfigureAndMeasure methods of measurement and ConfigureAndGenerate methods of generation.
Refer to PCBA Test Toolkit User Manual - Section 5 PCBA test toolkit measurements for understanding about each measurement and its usage, and Section 7 Example of toolkit use to learn about Automation sequences.
To report a bug or submit a feature request, please use GitHub Issues.
PCBATT LabVIEW is licensed under an MIT-style license. Other incorporated projects may be licensed under different licenses. All licenses allow for non-commercial and commercial use.