{ "info": { "author": "Measurement Computing", "author_email": "info@mccdaq.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: System :: Hardware :: Hardware Drivers" ], "description": "====== ===========================================================================================\r\nInfo Contains a Python API for interacting with Measurement Computing's Universal Library. See\r\n GitHub_ for the latest source.\r\nAuthor Measurement Computing\r\n====== ===========================================================================================\r\n\r\nAbout\r\n=====\r\nThe **mcculw** package contains an API (Application Programming Interface) for interacting with the\r\nI/O Library for Measurement Computing Data Acquisition products, Universal Library. This package\r\nwas created and is supported by MCC. The package is implemented in Python as a wrapper around the\r\nUniversal Library C API using the ctypes_ Python Library.\r\n\r\n**mcculw** is supported for Universal Library 6.55 and later. Some functions in the **mcculw**\r\npackage may be unavailable with earlier versions of Universal Library. Visit\r\nhttp://www.mccdaq.com/Software-Downloads.aspx to upgrade your version of UL. \r\n\r\n**mcculw** supports only the Windows operating system.\r\n\r\n**mcculw** supports CPython 2.7 and 3.4+.\r\n\r\nThe **mcculw** package is available on GitHub_ and PyPI_.\r\n\r\nInstallation\r\n============\r\n1. Install Python version 2.7, 3.4, or later from https://www.python.org/downloads/ .\r\n2. Install the latest version of InstaCal from http://www.mccdaq.com/Software-Downloads.aspx .\r\n3. Install the the MCC UL Python API for Windows (mcculw) and any dependencies using pip:\r\n\r\n a. Open the Windows command prompt: press Win+R, type cmd.exe and press Enter.\r\n b. Upgrade pip to the latest version by entering the following command::\r\n\r\n pip install --upgrade pip\r\n\r\n c. Install the mcculw library by entering the following command::\r\n\r\n pip install mcculw\r\n\r\n Note: If you get a message like \"pip is not recognized as an internal or external command...\", or\r\n if you have multiple Python installations, enter the full path to the pip executable, such as\r\n *C:\\\\Python27\\\\Scripts\\\\pip install --upgrade pip* or *C:\\\\Python27\\\\Scripts\\\\pip install mcculw*.\r\n The pip command is in the Scripts subdirectory of your Python install location.\r\n\r\nExamples\r\n========\r\nDownload the `examples zip file`_ from the **mcculw** GitHub repository.\r\n\r\nUnzip the examples to a known location, such as::\r\n\r\n C:\\Users\\Public\\Documents\\Measurement Computing\\DAQ\\Python\r\n\r\nRefer to the knowledgebase article `Importing Python for Windows example programs into an IDE`_\r\nfor detailed instructions on how to import examples into popular IDEs such as Eclipse and Visual\r\nStudio.\r\n\r\nUsage\r\n=====\r\nThe following is a basic example of using the Universal Library to perform analog input. Further\r\nexamples may be found on `GitHub`_.\r\n\r\n.. code-block:: python\r\n\r\n from mcculw import ul\r\n from mcculw.enums import ULRange\r\n from mcculw.ul import ULError\r\n\r\n board_num = 0\r\n channel = 0\r\n ai_range = ULRange.BIP5VOLTS\r\n\r\n try:\r\n # Get a value from the device\r\n value = ul.a_in(board_num, channel, ai_range)\r\n # Convert the raw value to engineering units\r\n eng_units_value = ul.to_eng_units(board_num, ai_range, value)\r\n\r\n # Display the raw value\r\n print(\"Raw Value: \" + str(value))\r\n # Display the engineering value\r\n print(\"Engineering Value: \" + '{:.3f}'.format(eng_units_value))\r\n except ULError as e:\r\n # Display the error\r\n print(\"A UL error occurred. Code: \" + str(e.errorcode)\r\n + \" Message: \" + e.message)\r\n\r\nSupport/Feedback\r\n================\r\nThe **mcculw** package is supported by MCC. For support for **mcculw**, contact technical support\r\nthrough http://www.mccdaq.com/Support.aspx . Please include version information for Python,\r\nUniversal Library and the **mcculw** packages used as well as detailed steps on how to reproduce the\r\nproblem in your request.\r\n\r\nBugs/Feature Requests\r\n=====================\r\nTo report a bug or submit a feature request, please use the **mcculw** `GitHub Issues`_ page.\r\n\r\nDocumentation\r\n=============\r\nDocumentation is available in the `Universal Library Help`_.\r\n\r\nLicense\r\n=======\r\n**mcculw** is licensed under an MIT-style license. Other incorporated projects may be licensed under \r\ndifferent licenses. All licenses allow for non-commercial and commercial use.\r\n\r\n.. Links:\r\n.. _GitHub: https://github.com/mccdaq/mcculw\r\n.. _PyPI: https://pypi.python.org/pypi/mcculw\r\n.. _ctypes: https://docs.python.org/3/library/ctypes.html\r\n.. _`Universal Library Help`: https://www.mccdaq.com/PDFs/Manuals/Mcculw_WebHelp/ULStart.htm\r\n.. _`GitHub Issues`: https://github.com/mccdaq/mcculw/issues\r\n.. _`examples zip file`: https://github.com/mccdaq/mcculw/raw/master/examples.zip\r\n.. _`Importing Python for Windows example programs into an IDE`: http://kb.mccdaq.com/KnowledgebaseArticle50716.aspx\r\n\r\n\r\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.mccdaq.com", "keywords": "development mcc daq data acquisition", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mcculw", "package_url": "https://pypi.org/project/mcculw/", "platform": "", "project_url": "https://pypi.org/project/mcculw/", "project_urls": { "Homepage": "http://www.mccdaq.com" }, "release_url": "https://pypi.org/project/mcculw/0.9.7/", "requires_dist": [ "aenum", "enum34", "future" ], "requires_python": "", "summary": "MCC Universal Library Python API for Windows", "version": "0.9.7" }, "last_serial": 3151027, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "cb33075dfb3dd7ea0ee96e585b8918c7", "sha256": "3a5a9a11c4134a1cb6eca28a3e6537861e222f0e61271383b2c3f3ac7bd28fb2" }, "downloads": -1, "filename": "mcculw-0.9.0-py2-none-any.whl", "has_sig": false, "md5_digest": "cb33075dfb3dd7ea0ee96e585b8918c7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 79028, "upload_time": "2017-07-17T15:36:08", "url": "https://files.pythonhosted.org/packages/ee/d4/8f0c0597004e04c06dbbc064431dc4ec0e7f836bd321692abf693dff7071/mcculw-0.9.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c856f9e0a3fea167cdb99e6758f56680", "sha256": "292c8fdec63e53ce54a4f70bf8823788dc653f28b2d7c91bc2830911269bf8f4" }, "downloads": -1, "filename": "mcculw-0.9.0.tar.gz", "has_sig": false, "md5_digest": "c856f9e0a3fea167cdb99e6758f56680", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 76565, "upload_time": "2017-07-17T15:36:11", "url": "https://files.pythonhosted.org/packages/e3/a9/0c13125e2cccbcf42198c0bd70397650433568637d56a1b0aa61d52c9a57/mcculw-0.9.0.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "9030aefa97418d96fb466bdb8dd2ccdb", "sha256": "0feaa65771999d459ff6e83672e8d180b96da887c8be5b398c9581ae5f08a9a5" }, "downloads": -1, "filename": "mcculw-0.9.1-py2-none-any.whl", "has_sig": false, "md5_digest": "9030aefa97418d96fb466bdb8dd2ccdb", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 79101, "upload_time": "2017-07-18T14:25:11", "url": "https://files.pythonhosted.org/packages/5b/23/97d36aed21cc7e61d9750e4b635b9f48d28fd9fed68cfbd1fc4ca909c78e/mcculw-0.9.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eadb894e413ced20e3428b520f52edee", "sha256": "9b6a12e9581ed88dc1db5738a2a47e349a12059093f02282267fa3dc3da3c518" }, "downloads": -1, "filename": "mcculw-0.9.1.tar.gz", "has_sig": false, "md5_digest": "eadb894e413ced20e3428b520f52edee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 76627, "upload_time": "2017-07-18T14:25:14", "url": "https://files.pythonhosted.org/packages/07/e6/76766a1038eca95134fb749b90727c3b037c6c519312d0f79ec6019a6dcb/mcculw-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "205cf7778be00007e0b60d4beddbc310", "sha256": "1f62f2eef2ed7978f511c875bf37fbbb68db72145b0eb422f359ad5f8cc9177b" }, "downloads": -1, "filename": "mcculw-0.9.2-py2-none-any.whl", "has_sig": false, "md5_digest": "205cf7778be00007e0b60d4beddbc310", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 79100, "upload_time": "2017-07-24T20:09:35", "url": "https://files.pythonhosted.org/packages/58/ba/e1e991639836cb35e2e961d73270a4fb9cd828001726a997c078efd6fbb8/mcculw-0.9.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c6763dea45117cbe40295400e04e2fc", "sha256": "81bca9b8aa02a978ad00c760c72650a2253920c56fd8d91184434caf6fe13746" }, "downloads": -1, "filename": "mcculw-0.9.2.tar.gz", "has_sig": false, "md5_digest": "2c6763dea45117cbe40295400e04e2fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 76621, "upload_time": "2017-07-24T20:09:38", "url": "https://files.pythonhosted.org/packages/d7/a6/ebcc46dbf733ef74da35f84c00fd0e529f62414f34cae83bfb6a164e5410/mcculw-0.9.2.tar.gz" } ], "0.9.3": [ { "comment_text": "", "digests": { "md5": "072c4f2024009a5f8f32264b3e70adbb", "sha256": "833c9b7852ed44f235b535343419ced0bd81a2648bcf361ab4575010313108f9" }, "downloads": -1, "filename": "mcculw-0.9.3-py2-none-any.whl", "has_sig": false, "md5_digest": "072c4f2024009a5f8f32264b3e70adbb", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 79075, "upload_time": "2017-07-26T18:46:40", "url": "https://files.pythonhosted.org/packages/aa/13/9d31ac44645f43d0247c48f659c97d642440b81067fedceb5a46acb89335/mcculw-0.9.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "800842367e0acbed23316fa05e9dab31", "sha256": "7be08025f149784f9945996d29f778a49d0ad83afa3925cb2412375d2c2dea70" }, "downloads": -1, "filename": "mcculw-0.9.3.tar.gz", "has_sig": false, "md5_digest": "800842367e0acbed23316fa05e9dab31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 76590, "upload_time": "2017-07-26T18:46:44", "url": "https://files.pythonhosted.org/packages/38/4a/f513bf16553164ef021515943c572fd7b09051a0adc9024abed8753be8d6/mcculw-0.9.3.tar.gz" } ], "0.9.4": [ { "comment_text": "", "digests": { "md5": "89e7f35a6efdb59386d0b1b44f89ed44", "sha256": "2b8d18ea390c2c9c2c83808200831127abc3af1c7573479faa69314d76d9f325" }, "downloads": -1, "filename": "mcculw-0.9.4-py2-none-any.whl", "has_sig": false, "md5_digest": "89e7f35a6efdb59386d0b1b44f89ed44", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 79076, "upload_time": "2017-08-03T16:02:27", "url": "https://files.pythonhosted.org/packages/a9/0f/cbbf2552023d2f31138b9b70563c45b666a62dbd6f53727bf2e232517108/mcculw-0.9.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c97173ad20e13c1f9be1f85600ca9bb", "sha256": "c4ae1a83bf587af9519bcebe70ae90dac6726f2c35a610051c4c9b890c12cf40" }, "downloads": -1, "filename": "mcculw-0.9.4.tar.gz", "has_sig": false, "md5_digest": "9c97173ad20e13c1f9be1f85600ca9bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 76603, "upload_time": "2017-08-03T16:02:31", "url": "https://files.pythonhosted.org/packages/88/fd/e281d77d7195781a852105e0783c80b6ebb1dee2cd1ab610a20c4c84ebc2/mcculw-0.9.4.tar.gz" } ], "0.9.6": [ { "comment_text": "", "digests": { "md5": "402a038a4a9f384be15b82dee20c9453", "sha256": "9bb0a6c520d63ec916dbf980eefac1132d7d5aef00a341cb572e3c06e6d633dd" }, "downloads": -1, "filename": "mcculw-0.9.6-py2-none-any.whl", "has_sig": false, "md5_digest": "402a038a4a9f384be15b82dee20c9453", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 79797, "upload_time": "2017-08-10T20:42:19", "url": "https://files.pythonhosted.org/packages/52/44/739bece86e075b6386f05150760295c73d9a4a7d37ac624ecb5bb2094de4/mcculw-0.9.6-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5cd41ae6b6442314d8f99142cd2f3087", "sha256": "2b124f685e7fb1890542a9e731ceb0490931cc8e98cf1c20b77d8d0b3dd120e4" }, "downloads": -1, "filename": "mcculw-0.9.6.tar.gz", "has_sig": false, "md5_digest": "5cd41ae6b6442314d8f99142cd2f3087", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 77055, "upload_time": "2017-08-10T20:42:24", "url": "https://files.pythonhosted.org/packages/3c/65/ecab538f81036145709ba534a9af0c8e789cb98d37874f48e524c6021b3a/mcculw-0.9.6.tar.gz" } ], "0.9.7": [ { "comment_text": "", "digests": { "md5": "ee1b975315ca2489787705dc41a968bd", "sha256": "4ef0a49b486462977993ec4c86ee07ff4f9b10eefcd2f6294276483c2eada3ed" }, "downloads": -1, "filename": "mcculw-0.9.7-py2-none-any.whl", "has_sig": false, "md5_digest": "ee1b975315ca2489787705dc41a968bd", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 79829, "upload_time": "2017-09-05T17:25:05", "url": "https://files.pythonhosted.org/packages/cd/1a/471e587bbedd6d75cfe6835d51cb9fa81bde0653c9a77e2e9a901b5d83ff/mcculw-0.9.7-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "41970d400bd9049c5425d96bcc982f38", "sha256": "2e76a4bec4e969945bce3f75b3610007e5ee786938d465cda97d75b1c34e2275" }, "downloads": -1, "filename": "mcculw-0.9.7.tar.gz", "has_sig": false, "md5_digest": "41970d400bd9049c5425d96bcc982f38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 77092, "upload_time": "2017-09-05T17:25:08", "url": "https://files.pythonhosted.org/packages/74/e0/a0c65b12624082d6ceef014e062e25625cebf43e85e6d3361502615acb10/mcculw-0.9.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ee1b975315ca2489787705dc41a968bd", "sha256": "4ef0a49b486462977993ec4c86ee07ff4f9b10eefcd2f6294276483c2eada3ed" }, "downloads": -1, "filename": "mcculw-0.9.7-py2-none-any.whl", "has_sig": false, "md5_digest": "ee1b975315ca2489787705dc41a968bd", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 79829, "upload_time": "2017-09-05T17:25:05", "url": "https://files.pythonhosted.org/packages/cd/1a/471e587bbedd6d75cfe6835d51cb9fa81bde0653c9a77e2e9a901b5d83ff/mcculw-0.9.7-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "41970d400bd9049c5425d96bcc982f38", "sha256": "2e76a4bec4e969945bce3f75b3610007e5ee786938d465cda97d75b1c34e2275" }, "downloads": -1, "filename": "mcculw-0.9.7.tar.gz", "has_sig": false, "md5_digest": "41970d400bd9049c5425d96bcc982f38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 77092, "upload_time": "2017-09-05T17:25:08", "url": "https://files.pythonhosted.org/packages/74/e0/a0c65b12624082d6ceef014e062e25625cebf43e85e6d3361502615acb10/mcculw-0.9.7.tar.gz" } ] }