nipcbatt


Namenipcbatt JSON
Version 1.0.55 PyPI version JSON
download
home_pagehttps://github.com/ni/nipcbatt
SummaryPython PCB Assembly Test Toolkit
upload_time2024-11-15 10:11:12
maintainerJohn Meeker
docs_urlNone
authorNI
requires_python<4.0,>=3.9
licenseMIT
keywords nipcbatt pcbatt pcba pcb
VCS
bugtrack_url
requirements numpy scipy nidaqmx pyvisa colorama varname executing pandas matplotlib
Travis-CI No Travis.
coveralls test coverage No coveralls.
            +------------+------------------------------------------------------------------------------------+
| **Info**   | A python based package providing a set of generation, measurement and              | 
|            | communication building blocks, that can be used to perform PCB Assembly tests.     |
+------------+------------------------------------------------------------------------------------+
| **Author** | National Instruments                                                               |
+------------+------------------------------------------------------------------------------------+

.. contents:: Table of Contents
   :depth: 1
   :backlinks: none

About
=====

The **nipcbatt** package contains an API (Application Programming Interface) for interacting with 
the NI-DAQmx driver and with LabVIEW runtime to perform measurement, generation and communication 
operations. The package is implemented in Python, as a highly object-oriented package.

Python PCB Assembly Test Toolkit or **nipcbatt** is a collection of Measurement Library, Automation Examples,
Test Demo Example developed in Python along with Documentation for PCB Assembly electrical functional test.

**nipcbatt** package is focused on NI DAQ devices hardware, and compatible with NI PC Based DAQ, CompactDAQ,
TestScale and high level enough to be applicable or scalable for other instruments with similar functionality and 
resources on any platform.

Documentation
-------------

Refer to the `Python PCB Assembly Test Toolkit - Getting Started <https://github.com/ni/nipcbatt/blob/main/docs/Python%20PCB%20Assembly%20Test%20Toolkit%20-%20Getting%20Started.pdf>`_ guide for
getting started steps including installation and setup procedures, and steps to run example test sequences. 
Refer to the `User Manual <https://github.com/ni/nipcbatt/blob/main/docs/Python%20PCB%20Assembly%20Test%20Toolkit%20-%20User%20Manual.pdf>`_ for an overview of Toolkit concepts and measurement 
fundamentals, including a brief overview of each library and automation sequences.

Supported Features
------------------

.. list-table::
   :widths: 25 55 20
   :header-rows: 0

   * - Feature name
     - Description
     - Acronym
   * - Power Supply Source and Measure Library
     - This feature allows initializing, configuring, sourcing, measuring, and closing user configurable power supply for power supply measurements (TestScale only).
     - PSSM
   * - DC-RMS Voltage Measurement Library
     - This feature allows initializing, configuring, measuring, and closing user configurable analog input pins for voltage measurements.
     - DRVM
   * - DC Voltage Generation Library
     - This feature allows initializing, configuring, generating, and closing user configurable analog output pins for DC voltage generations.
     - DRVG
   * - DC-RMS Current Measurement Library
     - This feature allows initializing, configuring, measuring, and closing user configurable analog input pins for current measurements.
     - DRCM
   * - Time Domain Voltage Measurement Library
     - This feature allows initializing, configuring, measuring, and closing user configurable analog input pins for voltage measurement and derive time domain measurement for the measured waveforms.
     - TDVM
   * - Frequency Domain Voltage Measurement Library
     - This feature allows initializing, configuring, measuring, and closing user configurable analog input pins for voltage measurement and derive frequency domain measurement for the measured waveforms.
     - FDVM
   * - Signal Voltage Generation Library
     - This feature allows initializing, configuring, generate, and closing different waveform voltage signals like tones (single/multi) or square windows, over a given generation time(s) on user configurable analog output pins.
     - SVG
   * - Static Digital State Measurement Library
     - This feature allows initializing, configuring, sourcing, measuring, and closing user configurable digital input pins.
     - SDSM
   * - Static Digital State Generation Library
     - This feature allows initializing, configuring, sourcing, generate, and close on user configurable digital output pins.
     - SDSG
   * - Temperature Thermistor Measurement Library
     - This feature allows initializing, configuring, measuring, and closing user configurable analog input pins to derive temperature measurements from voltage excited NTC typed Thermistor devices.
     - TTRM
   * - Temperature RTD Measurement Library
     - This feature allows initializing, configuring, sourcing, measuring, and closing user configurable analog input pins for temperature measurements from Resistance Temperature Detector (RTD).
     - TRTDM
   * - Temperature Thermocouple Measurement Library
     - This feature allows initializing, configuring, sourcing, measuring, and closing user configurable analog input pins to derive temperature measurements from Thermocouples.
     - TTCM
   * - Dynamic Digital Pattern Measurement Library
     - This feature provides options to measure digital patterns through the specified lines.
     - DDPM
   * - Dynamic Digital Pattern Generation Library
     - This feature provides options to generate digital patterns, an array of digital samples in the specified IO lines.
     - DDPG
   * - Digital Clock Generation Library
     - This feature allows initializing, configuring, generate and closing on user configurable terminals using counters.
     - DCG
   * - Digital Pulse Generation Library
     - This feature allows initializing, configuring, generate and closing on user configurable terminals using counters.
     - DPG
   * - Digital Frequency Measurement Library
     - This feature allows initializing, configuring, measuring and closing on user configurable PFI line using the selected counter for digital frequency measurement.
     - DFM
   * - Digital PWM Measurement Library
     - This feature allows initializing, configuring, generating and closing on user configurable PFI line using the selected counter for digital PWM measurement.
     - DPWMM
   * - Digital Edge Count Measurement Library
     - This feature allows initializing, configuring, generating and closing on user configurable PFI line using the selected counter for Edge Counting using Software and Hardware Timers.
     - DECM
   * - Communication Library
     - This feature allows initializing, configuring, read and writing data, and closing on I2C, SPI and Serial Communication devices.
     - COM
   * - Synchronization Library
     - This feature allows synchronizing between specified source and output terminals for the given DAQmx Task.
     - RSS


Required Drivers
-----------------


| NI-DAQmx: 2023 Q3 and above 
| LabVIEW Runtime: 2022 Q3 and above (64 bit) 
| NI-845x: 2022 Q3 and above 
| NI-VISA: 2023 Q2 and above 
| NI-Serial: 2023 Q2 and above 

Supported Hardware
------------------

| NI PC Based DAQ
| CompactDAQ
| TestScale
| Any DAQmx devices with similar functionality and resources.


Operating System Support
------------------------

**nipcbatt** supports Windows 10 and 11 systems where the supported drivers are 
installed. Refer to `NI Hardware and Operating System Compatibility <https://www.ni.com/r/hw-support>`_ for 
which versions of the driver support your hardware on a given operating system.

Python Version Support
----------------------

**nipcbatt** supports Python 3.9+ (64 bit)

Installation
============

You can use `pip <http://pypi.python.org/pypi/pip>`_ to download **nipcbatt** from
`PyPI <https://pypi.org/project/nipcbatt/>`_ and install it::

  $ python -m pip install nipcbatt


Manual Driver Installation
--------------------------

Visit `ni.com/downloads <http://www.ni.com/downloads/>`_ to download the latest version of **Python PCB Assembly Test
Toolkit**. It is recommended you continue to install the NI-DAQmx Runtime with Configuration Support and NI Hardware Configuration Utility from the Additional items
checklist as it is required to access and manage hardware. All other recommended Additional items
are not necessary for nipcbatt to function, and they can be removed to minimize installation size. 

Getting Started
===============

In order to use the **nipcbatt package**, you must have at least one DAQ (`Data Acquisition <https://www.ni.com/en/shop/data-acquisition.html>`_)
device installed on your system. Both physical and simulated devices are supported. The examples below use PC 
based DAQ device (PCIe-6353). You can use NI MAX or NI Hardware 
Configuration Utility to verify and configure your devices.


Finding and configuring device name in **NI MAX**:

.. image:: https://raw.githubusercontent.com/ni/nipcbatt/main/docs/images/NI-MAX.png
  :alt: NI-MAX
  :align: center
  :width: 800px

Finding and configuring device name in **NI Hardware Configuration Utility**:

.. image:: https://raw.githubusercontent.com/ni/nipcbatt/main/docs/images/Hardware%20Configuration%20Utility.png
  :alt: Hardware Config 
  :align: center
  :width: 800px

Then refer to the Validation examples and Automation sequences to start testing. Refer to the Getting Started Guide for information.


Key Concepts in Python PCBATT
=============================

1. Libraries
-------------

All the measurement libraries consist of three main methods which have to be used in the following order:

- Initialize:
 
   Used to initialize a DAQmx using either physical or global virtual channels 
   provided to perform the respective task.

   This is done by calling the intialize() method on the class instance.

Example code to initialize an instance of DRVG to generate a DC Voltage:

.. code-block:: python

  >>> import nipcbatt
  >>> drvg = nipcbatt.DcVoltageGeneration()
  >>> drvg.initialize(analog_output_channel_expression="Sim_PC_basedDAQ/ao0")


- Configure and Generate/Configure and Measure:
 
   Configures, Initiates and Measure/Generate for an input/output 
   task respectively. Also, can return raw data for external custom post 
   analysis and measurements from embedded analysis(selectable/optional)
 
   This is done by calling the
   configure_and_measure()/configure_and_generate() method on the class instance.

Example code to configure and generate DC voltage using the class instance:

.. code-block:: python

  >>> drvg.configure_and_generate(nipcbatt.DEFAULT_DC_VOLTAGE_GENERATION_CONFIGURATION)
  ... # Default generation voltage is 1.2V, Defaut Range is [-10.0, 10.0]


- Close:
 
   Closes the DAQmx tasks and clears resources.

   This is done by calling the close() method on the class instance.
  
Example code to close the task and clear resources after generation:

.. code-block:: python

  >>> drvg.close()


2. Features and Utilities
-------------------------

- Virtual Channels 

   Virtual channels, or sometimes referred to generically as channels, are software entities that encapsulate the physical channel along with 
   other channel specific information (e.g.: range, terminal configuration, and custom scaling) that formats the data. A physical channel is a 
   terminal or pin at which you can measure or generate an analog or digital signal. A single physical channel can include more than one 
   terminal, as in the case of a differential analog input channel or a digital port of eight lines. Every physical channel on a device has a unique 
   name (for instance, cDAQ1Mod4/ai0, Dev2/ao5, and Dev6/ctr3) that follows the NI-DAQmx physical channel naming convention. 
   Refer to `NI-DAQmx Channel <https://www.ni.com/docs/en-US/bundle/ni-daqmx/page/chans.html>`_ for more information.

- Logger

   The logger is a feature which comes along with the package as a part of PCBATT Utilities and helps in 
   storing configuration details and results for every run of the sequences. It can be used to store results 
   in the *.txt* or *.csv* file formats. The logger stores results for every run in the same file. Example usage of the logger can be found 
   in the automation sequences.

- Save Traces

   This Utility works in a similar manner as the logger but it saves configuration settings and results for each run in separate files.
   Example usage of the save_traces module can be found in the validation examples.



Usage
=============
 
1. Validation Examples
---------------------------
 
Validation examples are created as examples for testing and validating a pair of
libraries together, where one library is used for generation and another for measurement.
The validation examples can be found in this location `pcbatt_validation_examples <https://github.com/ni/nipcbatt/tree/main/src/nipcbatt/pcbatt_validation_examples>`_.

The following images shows sample results for Signal Voltage Generation to Frequency Domain Voltage Measurement Validation example which
is located at *"/pcbatt_validation_examples/PCIe_examples/PC_SVG_FDVM.py"*:

.. image:: https://raw.githubusercontent.com/ni/nipcbatt/main/docs/images/SVG_to_FDVM_Results.png
  :alt: SVG_to_FDVM_Results
  :align: center
  :width: 600px

2. Automation Sequences
-----------------------

Automation sequences are examples of using libraries for real time
scenarios like microphone tests, LED tests and so on. Automation sequences are tested in simulation mode.

Following is the list of Automation Sequences provided as a part of the package.

a. action_button_tests

b. audio_tests

c. communication_tests

d. digital_io_tests

e. led_tests

f. microphone_tests

g. power_supply_tests

h. sensor_tests

i. synchronization_tests

The Automation Sequences can be found in this location `pcbatt_automation <https://github.com/ni/nipcbatt/tree/main/src/nipcbatt/pcbatt_automation>`_.

 
3. Functional Test Demo Sequence
---------------------------------
 
FT demo sequence is an example for creating a test sequence using
libraries with applying test limits on the results to determine whether the test is a pass or a fail.

Please refer to the FT Demo Sequence in the location `pcbatt_ft_demo_test_sequence <https://github.com/ni/nipcbatt/tree/main/src/nipcbatt/pcbatt_ft_demo_test_sequence>`_.



Bugs / Feature Requests
=======================

To report a bug or submit a feature request, please use GitHub `Issues  <https://github.com/ni/nipcbatt/issues>`_.


License
========
**nipcbatt** 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.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ni/nipcbatt",
    "name": "nipcbatt",
    "maintainer": "John Meeker",
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": "john.meeker@emerson.com",
    "keywords": "nipcbatt, pcbatt, pcba, pcb",
    "author": "NI",
    "author_email": "opensource@ni.com",
    "download_url": "https://files.pythonhosted.org/packages/05/a8/b8bc862548b448b58295c7020539e8cbf7e52fff5c3d685fff0e3676f23a/nipcbatt-1.0.55.tar.gz",
    "platform": null,
    "description": "+------------+------------------------------------------------------------------------------------+\n| **Info**   | A python based package providing a set of generation, measurement and              | \n|            | communication building blocks, that can be used to perform PCB Assembly tests.     |\n+------------+------------------------------------------------------------------------------------+\n| **Author** | National Instruments                                                               |\n+------------+------------------------------------------------------------------------------------+\n\n.. contents:: Table of Contents\n   :depth: 1\n   :backlinks: none\n\nAbout\n=====\n\nThe **nipcbatt** package contains an API (Application Programming Interface) for interacting with \nthe NI-DAQmx driver and with LabVIEW runtime to perform measurement, generation and communication \noperations. The package is implemented in Python, as a highly object-oriented package.\n\nPython PCB Assembly Test Toolkit or **nipcbatt** is a collection of Measurement Library, Automation Examples,\nTest Demo Example developed in Python along with Documentation for PCB Assembly electrical functional test.\n\n**nipcbatt** package is focused on NI DAQ devices hardware, and compatible with NI PC Based DAQ, CompactDAQ,\nTestScale and high level enough to be applicable or scalable for other instruments with similar functionality and \nresources on any platform.\n\nDocumentation\n-------------\n\nRefer to the `Python PCB Assembly Test Toolkit - Getting Started <https://github.com/ni/nipcbatt/blob/main/docs/Python%20PCB%20Assembly%20Test%20Toolkit%20-%20Getting%20Started.pdf>`_ guide for\ngetting started steps including installation and setup procedures, and steps to run example test sequences. \nRefer to the `User Manual <https://github.com/ni/nipcbatt/blob/main/docs/Python%20PCB%20Assembly%20Test%20Toolkit%20-%20User%20Manual.pdf>`_ for an overview of Toolkit concepts and measurement \nfundamentals, including a brief overview of each library and automation sequences.\n\nSupported Features\n------------------\n\n.. list-table::\n   :widths: 25 55 20\n   :header-rows: 0\n\n   * - Feature name\n     - Description\n     - Acronym\n   * - Power Supply Source and Measure Library\n     - This feature allows initializing, configuring, sourcing, measuring, and closing user configurable power supply for power supply measurements (TestScale only).\n     - PSSM\n   * - DC-RMS Voltage Measurement Library\n     - This feature allows initializing, configuring, measuring, and closing user configurable analog input pins for voltage measurements.\n     - DRVM\n   * - DC Voltage Generation Library\n     - This feature allows initializing, configuring, generating, and closing user configurable analog output pins for DC voltage generations.\n     - DRVG\n   * - DC-RMS Current Measurement Library\n     - This feature allows initializing, configuring, measuring, and closing user configurable analog input pins for current measurements.\n     - DRCM\n   * - Time Domain Voltage Measurement Library\n     - This feature allows initializing, configuring, measuring, and closing user configurable analog input pins for voltage measurement and derive time domain measurement for the measured waveforms.\n     - TDVM\n   * - Frequency Domain Voltage Measurement Library\n     - This feature allows initializing, configuring, measuring, and closing user configurable analog input pins for voltage measurement and derive frequency domain measurement for the measured waveforms.\n     - FDVM\n   * - Signal Voltage Generation Library\n     - This feature allows initializing, configuring, generate, and closing different waveform voltage signals like tones (single/multi) or square windows, over a given generation time(s) on user configurable analog output pins.\n     - SVG\n   * - Static Digital State Measurement Library\n     - This feature allows initializing, configuring, sourcing, measuring, and closing user configurable digital input pins.\n     - SDSM\n   * - Static Digital State Generation Library\n     - This feature allows initializing, configuring, sourcing, generate, and close on user configurable digital output pins.\n     - SDSG\n   * - Temperature Thermistor Measurement Library\n     - This feature allows initializing, configuring, measuring, and closing user configurable analog input pins to derive temperature measurements from voltage excited NTC typed Thermistor devices.\n     - TTRM\n   * - Temperature RTD Measurement Library\n     - This feature allows initializing, configuring, sourcing, measuring, and closing user configurable analog input pins for temperature measurements from Resistance Temperature Detector (RTD).\n     - TRTDM\n   * - Temperature Thermocouple Measurement Library\n     - This feature allows initializing, configuring, sourcing, measuring, and closing user configurable analog input pins to derive temperature measurements from Thermocouples.\n     - TTCM\n   * - Dynamic Digital Pattern Measurement Library\n     - This feature provides options to measure digital patterns through the specified lines.\n     - DDPM\n   * - Dynamic Digital Pattern Generation Library\n     - This feature provides options to generate digital patterns, an array of digital samples in the specified IO lines.\n     - DDPG\n   * - Digital Clock Generation Library\n     - This feature allows initializing, configuring, generate and closing on user configurable terminals using counters.\n     - DCG\n   * - Digital Pulse Generation Library\n     - This feature allows initializing, configuring, generate and closing on user configurable terminals using counters.\n     - DPG\n   * - Digital Frequency Measurement Library\n     - This feature allows initializing, configuring, measuring and closing on user configurable PFI line using the selected counter for digital frequency measurement.\n     - DFM\n   * - Digital PWM Measurement Library\n     - This feature allows initializing, configuring, generating and closing on user configurable PFI line using the selected counter for digital PWM measurement.\n     - DPWMM\n   * - Digital Edge Count Measurement Library\n     - This feature allows initializing, configuring, generating and closing on user configurable PFI line using the selected counter for Edge Counting using Software and Hardware Timers.\n     - DECM\n   * - Communication Library\n     - This feature allows initializing, configuring, read and writing data, and closing on I2C, SPI and Serial Communication devices.\n     - COM\n   * - Synchronization Library\n     - This feature allows synchronizing between specified source and output terminals for the given DAQmx Task.\n     - RSS\n\n\nRequired Drivers\n-----------------\n\n\n| NI-DAQmx: 2023 Q3 and above \n| LabVIEW Runtime: 2022 Q3 and above (64 bit) \n| NI-845x: 2022 Q3 and above \n| NI-VISA: 2023 Q2 and above \n| NI-Serial: 2023 Q2 and above \n\nSupported Hardware\n------------------\n\n| NI PC Based DAQ\n| CompactDAQ\n| TestScale\n| Any DAQmx devices with similar functionality and resources.\n\n\nOperating System Support\n------------------------\n\n**nipcbatt** supports Windows 10 and 11 systems where the supported drivers are \ninstalled. Refer to `NI Hardware and Operating System Compatibility <https://www.ni.com/r/hw-support>`_ for \nwhich versions of the driver support your hardware on a given operating system.\n\nPython Version Support\n----------------------\n\n**nipcbatt** supports Python 3.9+ (64 bit)\n\nInstallation\n============\n\nYou can use `pip <http://pypi.python.org/pypi/pip>`_ to download **nipcbatt** from\n`PyPI <https://pypi.org/project/nipcbatt/>`_ and install it::\n\n  $ python -m pip install nipcbatt\n\n\nManual Driver Installation\n--------------------------\n\nVisit `ni.com/downloads <http://www.ni.com/downloads/>`_ to download the latest version of **Python PCB Assembly Test\nToolkit**. It is recommended you continue to install the NI-DAQmx Runtime with Configuration Support and NI Hardware Configuration Utility from the Additional items\nchecklist as it is required to access and manage hardware. All other recommended Additional items\nare not necessary for nipcbatt to function, and they can be removed to minimize installation size. \n\nGetting Started\n===============\n\nIn order to use the **nipcbatt package**, you must have at least one DAQ (`Data Acquisition <https://www.ni.com/en/shop/data-acquisition.html>`_)\ndevice installed on your system. Both physical and simulated devices are supported. The examples below use PC \nbased DAQ device (PCIe-6353). You can use NI MAX or NI Hardware \nConfiguration Utility to verify and configure your devices.\n\n\nFinding and configuring device name in **NI MAX**:\n\n.. image:: https://raw.githubusercontent.com/ni/nipcbatt/main/docs/images/NI-MAX.png\n  :alt: NI-MAX\n  :align: center\n  :width: 800px\n\nFinding and configuring device name in **NI Hardware Configuration Utility**:\n\n.. image:: https://raw.githubusercontent.com/ni/nipcbatt/main/docs/images/Hardware%20Configuration%20Utility.png\n  :alt: Hardware Config \n  :align: center\n  :width: 800px\n\nThen refer to the Validation examples and Automation sequences to start testing. Refer to the Getting Started Guide for information.\n\n\nKey Concepts in Python PCBATT\n=============================\n\n1. Libraries\n-------------\n\nAll the measurement libraries consist of three main methods which have to be used in the following order:\n\n- Initialize:\n \n   Used to initialize a DAQmx using either physical or global virtual channels \n   provided to perform the respective task.\n\n   This is done by calling the intialize() method on the class instance.\n\nExample code to initialize an instance of DRVG to generate a DC Voltage:\n\n.. code-block:: python\n\n  >>> import nipcbatt\n  >>> drvg = nipcbatt.DcVoltageGeneration()\n  >>> drvg.initialize(analog_output_channel_expression=\"Sim_PC_basedDAQ/ao0\")\n\n\n- Configure and Generate/Configure and Measure:\n \n   Configures, Initiates and Measure/Generate for an input/output \n   task respectively. Also, can return raw data for external custom post \n   analysis and measurements from embedded analysis(selectable/optional)\n \n   This is done by calling the\n   configure_and_measure()/configure_and_generate() method on the class instance.\n\nExample code to configure and generate DC voltage using the class instance:\n\n.. code-block:: python\n\n  >>> drvg.configure_and_generate(nipcbatt.DEFAULT_DC_VOLTAGE_GENERATION_CONFIGURATION)\n  ... # Default generation voltage is 1.2V, Defaut Range is [-10.0, 10.0]\n\n\n- Close:\n \n   Closes the DAQmx tasks and clears resources.\n\n   This is done by calling the close() method on the class instance.\n  \nExample code to close the task and clear resources after generation:\n\n.. code-block:: python\n\n  >>> drvg.close()\n\n\n2. Features and Utilities\n-------------------------\n\n- Virtual Channels \n\n   Virtual channels, or sometimes referred to generically as channels, are software entities that encapsulate the physical channel along with \n   other channel specific information (e.g.: range, terminal configuration, and custom scaling) that formats the data. A physical channel is a \n   terminal or pin at which you can measure or generate an analog or digital signal. A single physical channel can include more than one \n   terminal, as in the case of a differential analog input channel or a digital port of eight lines. Every physical channel on a device has a unique \n   name (for instance, cDAQ1Mod4/ai0, Dev2/ao5, and Dev6/ctr3) that follows the NI-DAQmx physical channel naming convention. \n   Refer to `NI-DAQmx Channel <https://www.ni.com/docs/en-US/bundle/ni-daqmx/page/chans.html>`_ for more information.\n\n- Logger\n\n   The logger is a feature which comes along with the package as a part of PCBATT Utilities and helps in \n   storing configuration details and results for every run of the sequences. It can be used to store results \n   in the *.txt* or *.csv* file formats. The logger stores results for every run in the same file. Example usage of the logger can be found \n   in the automation sequences.\n\n- Save Traces\n\n   This Utility works in a similar manner as the logger but it saves configuration settings and results for each run in separate files.\n   Example usage of the save_traces module can be found in the validation examples.\n\n\n\nUsage\n=============\n \n1. Validation Examples\n---------------------------\n \nValidation examples are created as examples for testing and validating a pair of\nlibraries together, where one library is used for generation and another for measurement.\nThe validation examples can be found in this location `pcbatt_validation_examples <https://github.com/ni/nipcbatt/tree/main/src/nipcbatt/pcbatt_validation_examples>`_.\n\nThe following images shows sample results for Signal Voltage Generation to Frequency Domain Voltage Measurement Validation example which\nis located at *\"/pcbatt_validation_examples/PCIe_examples/PC_SVG_FDVM.py\"*:\n\n.. image:: https://raw.githubusercontent.com/ni/nipcbatt/main/docs/images/SVG_to_FDVM_Results.png\n  :alt: SVG_to_FDVM_Results\n  :align: center\n  :width: 600px\n\n2. Automation Sequences\n-----------------------\n\nAutomation sequences are examples of using libraries for real time\nscenarios like microphone tests, LED tests and so on. Automation sequences are tested in simulation mode.\n\nFollowing is the list of Automation Sequences provided as a part of the package.\n\na. action_button_tests\n\nb. audio_tests\n\nc. communication_tests\n\nd. digital_io_tests\n\ne. led_tests\n\nf. microphone_tests\n\ng. power_supply_tests\n\nh. sensor_tests\n\ni. synchronization_tests\n\nThe Automation Sequences can be found in this location `pcbatt_automation <https://github.com/ni/nipcbatt/tree/main/src/nipcbatt/pcbatt_automation>`_.\n\n \n3. Functional Test Demo Sequence\n---------------------------------\n \nFT demo sequence is an example for creating a test sequence using\nlibraries with applying test limits on the results to determine whether the test is a pass or a fail.\n\nPlease refer to the FT Demo Sequence in the location `pcbatt_ft_demo_test_sequence <https://github.com/ni/nipcbatt/tree/main/src/nipcbatt/pcbatt_ft_demo_test_sequence>`_.\n\n\n\nBugs / Feature Requests\n=======================\n\nTo report a bug or submit a feature request, please use GitHub `Issues  <https://github.com/ni/nipcbatt/issues>`_.\n\n\nLicense\n========\n**nipcbatt** is licensed under an MIT-style license. Other incorporated projects may be licensed under different licenses. All \nlicenses allow for non-commercial and commercial use.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python PCB Assembly Test Toolkit",
    "version": "1.0.55",
    "project_urls": {
        "Homepage": "https://github.com/ni/nipcbatt",
        "Repository": "https://github.com/ni/nipcbatt"
    },
    "split_keywords": [
        "nipcbatt",
        " pcbatt",
        " pcba",
        " pcb"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "108412f1b0e26948d360c90808b83f953ca2205d231f385dccbe3ce20efd6c66",
                "md5": "b43e7e85a190cc2821dc599a7927d88b",
                "sha256": "7a52447c3315d6cbcee766b3898ab742432de27196a93e838b23219626482f82"
            },
            "downloads": -1,
            "filename": "nipcbatt-1.0.55-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b43e7e85a190cc2821dc599a7927d88b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 13134724,
            "upload_time": "2024-11-15T10:11:01",
            "upload_time_iso_8601": "2024-11-15T10:11:01.086487Z",
            "url": "https://files.pythonhosted.org/packages/10/84/12f1b0e26948d360c90808b83f953ca2205d231f385dccbe3ce20efd6c66/nipcbatt-1.0.55-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "05a8b8bc862548b448b58295c7020539e8cbf7e52fff5c3d685fff0e3676f23a",
                "md5": "179609db611b459057b175d59ecfd7c9",
                "sha256": "f93a47c81332fc0bd86b0246b6593a67bcfb6d6ee7fc2dc242d9baac6db227b8"
            },
            "downloads": -1,
            "filename": "nipcbatt-1.0.55.tar.gz",
            "has_sig": false,
            "md5_digest": "179609db611b459057b175d59ecfd7c9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 16258019,
            "upload_time": "2024-11-15T10:11:12",
            "upload_time_iso_8601": "2024-11-15T10:11:12.681787Z",
            "url": "https://files.pythonhosted.org/packages/05/a8/b8bc862548b448b58295c7020539e8cbf7e52fff5c3d685fff0e3676f23a/nipcbatt-1.0.55.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-15 10:11:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ni",
    "github_project": "nipcbatt",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "numpy",
            "specs": [
                [
                    "==",
                    "1.26.4"
                ]
            ]
        },
        {
            "name": "scipy",
            "specs": [
                [
                    "==",
                    "1.13.0"
                ]
            ]
        },
        {
            "name": "nidaqmx",
            "specs": [
                [
                    "==",
                    "0.9.0"
                ]
            ]
        },
        {
            "name": "pyvisa",
            "specs": [
                [
                    "==",
                    "1.14.1"
                ]
            ]
        },
        {
            "name": "colorama",
            "specs": [
                [
                    "==",
                    "0.4.6"
                ]
            ]
        },
        {
            "name": "varname",
            "specs": [
                [
                    "==",
                    "0.12.0"
                ]
            ]
        },
        {
            "name": "executing",
            "specs": [
                [
                    "==",
                    "2.0.1"
                ]
            ]
        },
        {
            "name": "pandas",
            "specs": [
                [
                    "==",
                    "2.2.2"
                ]
            ]
        },
        {
            "name": "matplotlib",
            "specs": [
                [
                    "==",
                    "3.9.2"
                ]
            ]
        }
    ],
    "lcname": "nipcbatt"
}
        
NI
Elapsed time: 0.57580s