{ "info": { "author": "Samuel Deleglise", "author_email": "samuel.deleglise@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: BSD License", "Topic :: Scientific/Engineering :: Human Machine Interfaces" ], "description": "===============================================\npyivi: python interface for IVI-instruments\n===============================================\n \n\nWhat is it\n==========\n\n**pyivi** is a thin wrapper layer that is aware of all IVI-drivers\ninstalled on a windows computer and can wrap them to interface remote \ninstruments from python modules or scripts. Since IVI-COM drivers are not \nalways provided, IVI-C is also supported.\n \nThe specificity of pyivi is that it is **not** re-implementing the IVI interface\nusing lower-level communication protocols, but rather directly communicating \nwith the installed IVI-drivers. The main advantage of this approach is that\nall the boring code that needs to be written for every new instrument is \ndone by the instrument's manufacturer (99% of the instruments come with either \nIVI-C or IVI-COM drivers). The drawback is that pyivi is not cross-platform\nand needs to run on a windows computer.\n\n\nStep-by-step communication with a spectrum analyzer:\n====================================================\n\nA good example is better than 10000 words, so let's try and install a new\nAgilent MXA N9020A Spectrum analyzer. If you don't have 20 000 $ to spend just \nfor the sake of testing pyivi, that's OK, IVI drivers come with a simulation \nfeature. We'll go step-by-step to the point where we can communicate with our\nsimulated spectrum analyzer.\n\n1/ Install pyivi using the windows installer below.\n\n2/ Install the IVI-driver for the MXA N9020A from Agilent's website (you might\nhave to create an account for this... ;-/)\nhttp://www.home.agilent.com/agilent/software.jspx?ckey=2044474&lc=eng&cc=US&nid=-33932.536910861&id=2044474\nIf this is the first IVI-driver you have been installing, you will be asked\nto install the IVI-shared components as well. They can be found for free\neither from National Instruments or directly from the IVI foundation website:\nhttp://www.ivifoundation.org/shared_components/\n\n3/ Open your favorite python interpreter and look at the IVI software_modules\ninstalled on your computer ::\n\n\t\timport pyivi\n\t\tpyivi.software_modules\n\t\t\nYou should see the software module AgXSan that was just installed. This module \nprovides at the same time an IVI-C and an IVI-COM interface. Every time a new\nIVI software module is installed it will appear in this list.\n\n4/ Create a connection to a virtual N9020A instrument::\n\t\t\n\t\tcomspecan = pyivi.ivi_instrument('dummy_address', model='N9020A', simulate=True)\n\nIn the case where you would have a real instrument connected at address \n'USB0::12345678::INSTR', the following code would have been enough::\n\t\t\n\t\tcomspecan = pyivi.ivi_instrument('USB0::12345678::INSTR')\n\nThe model would have been queried directly using the IDN? command.\nBy default, the instrument uses the IVI-COM interface, but we can\nask for the IVI-C interface using the appropriate keyword argument::\n\t\t\n\t\tcspecan = ivi_instrument('dummy_address', flavour='IVI-C', model='N9020A', simulate=True)\n\t\nThat's it! You can now browse through the attributes and functions of \nthe instrument.\n\nIf you have tried both flavours of the driver, you have noticed that some attributes\nare not accessed in the same way, for instance, to set the measurement bandwidth to 10 kHz, one would write::\n\n\t\tcspecan.resolution_bandwidth = 10000 # IVI-C interface\n\t\tcomspecan.sweep_coupling.resolution_bandwidth = 10000 # IVI-COM interface\n\nOf course, that's not very nice for us because, mostly, we will be using one or the other versions \nof the drivers interface because it is the only one available. Moreover, some functions are quite cumbersome to locate\nfor instance, with trace-related capabilities. For this reason, shortcuts commands, identical for IVI-C and IVI-COM \ninterfaces have been added:\n\n5/ Using shortcut commands (on IVI-C or IVI-COM drivers)::\n\n\t\tcspecan.sc.trace_idx = 2 # all the manipulation will be performed on 'Trace2'\n\t\tcspecan.sc.fetch() # Fetches the simulated trace\n\t\t\nSupported IVI-interfaces:\n=========================\nIn the current versions, the following IVI apis are supported:\n\t- IviScope (IVI-C, IVI-COM)\n\t- IviSpecAn (IVI-C, IVI-COM)\n\t- IviFGen (IVI-C)\n\nThe software module AgNA to control Agilent Network analyzers is also supported via the COM api.\n\nTested already on the following IVI software modules:\n=====================================================\ntktds1k2k,\ntkafg3k,\nAgSAn,\nAg34410,\nww257x,\nlcscope,\nAgInfiniiVision,\nAgM933x,\nTekScope,\nAgilentSAnBasic,\nAgN57xx,\nTkdpo2k3k4k,\nAg532xx,\nAgNA,\nAgXSAn,\n \n\n\nDependencies\n============\n - comtypes (for communication with the IVI-configuration store and IVI-COM drivers)\n - ctypes (for communication with IVI-C drivers)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/SamuelDeleglise/pyinstruments", "keywords": "instruments data-acquisition IVI interface", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "pyivi", "package_url": "https://pypi.org/project/pyivi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyivi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/SamuelDeleglise/pyinstruments" }, "release_url": "https://pypi.org/project/pyivi/0.0.8/", "requires_dist": null, "requires_python": null, "summary": "Control of data acquisition with remote instruments using \n IVI-C or IVI-COM, Visa, and serial protocols.", "version": "0.0.8" }, "last_serial": 881720, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "637051236d339558f8e97ac45b9f165a", "sha256": "724d85815825e7abce7b5a44f43a906e7117595f19ec696d867f147316d5f3f3" }, "downloads": -1, "filename": "pyivi-0.0.1.win32.exe", "has_sig": true, "md5_digest": "637051236d339558f8e97ac45b9f165a", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 224353, "upload_time": "2013-08-18T13:51:15", "url": "https://files.pythonhosted.org/packages/60/0f/f823e7d2783ecea1b9deda8152a76993a67ab9080e38ca0d412a7e1343bd/pyivi-0.0.1.win32.exe" }, { "comment_text": "", "digests": { "md5": "33158db65d21799d47632564cbf0954c", "sha256": "edbd90ec3eda78f1ef02f8b12f08b91f701de4e018360a831b9d62d4e3c79aac" }, "downloads": -1, "filename": "pyivi-0.0.1.zip", "has_sig": true, "md5_digest": "33158db65d21799d47632564cbf0954c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24299, "upload_time": "2013-08-18T13:51:23", "url": "https://files.pythonhosted.org/packages/6c/aa/5ac8a4f548aa1d408c9cc5287598a341e9ebcaa2ed13092007f0ab0993ce/pyivi-0.0.1.zip" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "db5e6ec75ecd3081f6d45006ab3ae1e0", "sha256": "62ce6b6091fef66ab9b4358e598e65983f71ad57b47e058a9282f7a22200dbd8" }, "downloads": -1, "filename": "pyivi-0.0.2.win32.exe", "has_sig": true, "md5_digest": "db5e6ec75ecd3081f6d45006ab3ae1e0", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 227057, "upload_time": "2013-08-28T18:51:21", "url": "https://files.pythonhosted.org/packages/02/4d/7e54e0ba88086e5e75b3a7e9336ff84ddfc5821840f60556bdb9bcd1062f/pyivi-0.0.2.win32.exe" }, { "comment_text": "", "digests": { "md5": "5c9fb4b236ca560f72153e7798e36bce", "sha256": "c182eb88e503b8a9e2fe44d1ba030147c19e407bde4fae71ba6f204ef1ede623" }, "downloads": -1, "filename": "pyivi-0.0.2.zip", "has_sig": true, "md5_digest": "5c9fb4b236ca560f72153e7798e36bce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26432, "upload_time": "2013-08-28T18:51:25", "url": "https://files.pythonhosted.org/packages/9b/4f/04a51db2937d9ca21c3121382d0f4eb48095c44995d94b08313bf9328ddb/pyivi-0.0.2.zip" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "a183a886f2975a43b11f75fa1d29ad6a", "sha256": "20e1e9f50918374b4d826bedbf4eecd96e7dc103c3c000816dce8a7cf382cd22" }, "downloads": -1, "filename": "pyivi-0.0.3.win32.exe", "has_sig": true, "md5_digest": "a183a886f2975a43b11f75fa1d29ad6a", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 227057, "upload_time": "2013-08-28T18:53:32", "url": "https://files.pythonhosted.org/packages/ec/13/50f669943c4dea3763af3abf23d47f6b8cb71a0451b6434b6f204aa533f1/pyivi-0.0.3.win32.exe" }, { "comment_text": "", "digests": { "md5": "1544fc6c67b84af3be55a43f6d7bf6a9", "sha256": "8f4df25a3a1eda63190b2ae46cc0fc2a576bb02e4d783e26a728dec4e100eaf8" }, "downloads": -1, "filename": "pyivi-0.0.3.zip", "has_sig": true, "md5_digest": "1544fc6c67b84af3be55a43f6d7bf6a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26415, "upload_time": "2013-08-28T18:53:39", "url": "https://files.pythonhosted.org/packages/77/95/8990d971ab4d5d6360519a86ba835396b6bc5f77dcd28193bb5ec945ba56/pyivi-0.0.3.zip" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "ab35a4896f4cb39958dff15ca4f4e361", "sha256": "ccecbcffcb7a7d77507a6c8821828fcc9d6d46cfc5fbd209bc04b320c34523be" }, "downloads": -1, "filename": "pyivi-0.0.4.win32.exe", "has_sig": true, "md5_digest": "ab35a4896f4cb39958dff15ca4f4e361", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 227057, "upload_time": "2013-08-28T20:36:34", "url": "https://files.pythonhosted.org/packages/26/59/75094d7a24f14c7a8e87a567d25e7a692758da01170c8b2172b270c3e40d/pyivi-0.0.4.win32.exe" }, { "comment_text": "", "digests": { "md5": "703864a659a4c6eab3607f1f7d0cf92d", "sha256": "59ea85695ee1a41db473bf5a39fe3cb560cffab87a50bfcab899e096796aa6eb" }, "downloads": -1, "filename": "pyivi-0.0.4.zip", "has_sig": true, "md5_digest": "703864a659a4c6eab3607f1f7d0cf92d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28615, "upload_time": "2013-08-28T20:36:40", "url": "https://files.pythonhosted.org/packages/45/a3/63d1d30a873db64e791db6928d8957048a47ce3b050e671d939832178e93/pyivi-0.0.4.zip" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "6905e6947cb0cd93fac6e1e81fa8b80c", "sha256": "9b0cc53294737af315c2e3a7a58244d84afc5441beb4fad20ecc08ce474385b6" }, "downloads": -1, "filename": "pyivi-0.0.5.win32.exe", "has_sig": true, "md5_digest": "6905e6947cb0cd93fac6e1e81fa8b80c", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 227057, "upload_time": "2013-08-28T21:11:53", "url": "https://files.pythonhosted.org/packages/10/d0/fd06093d018d3a814e47a6aa3b318ba216ee6c6693c6c476ec64b746e44e/pyivi-0.0.5.win32.exe" }, { "comment_text": "", "digests": { "md5": "b70ac3fb95c5dc3198b9584fbcb73334", "sha256": "cec36e855cb5b6d289d03521fae3b0a77de76b4b601b2672a25c1d78ba69bd1b" }, "downloads": -1, "filename": "pyivi-0.0.5.zip", "has_sig": true, "md5_digest": "b70ac3fb95c5dc3198b9584fbcb73334", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28600, "upload_time": "2013-08-28T21:11:59", "url": "https://files.pythonhosted.org/packages/5c/93/c4510857782748d9717b90770c2f84ebc9429b5c225b1add89db91f3d738/pyivi-0.0.5.zip" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "85ad09d55fbd0d10b07cf8fb97a55d2f", "sha256": "42a4d8394bbe889645c3d3f5c150332118c57c996648bbeab91d4a7c01c55576" }, "downloads": -1, "filename": "pyivi-0.0.7-py2.7.egg", "has_sig": true, "md5_digest": "85ad09d55fbd0d10b07cf8fb97a55d2f", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 62013, "upload_time": "2013-08-29T13:41:01", "url": "https://files.pythonhosted.org/packages/64/c4/78bd1411ec73122bc23b7921547df961bd65104efc94521e5242d48ae119/pyivi-0.0.7-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "362aea2157a4acc914965c0bef23ceb0", "sha256": "2811964b87583fa6509f4250eb29114874f16d2cf7ea9e7ea8c31156fb48b0ec" }, "downloads": -1, "filename": "pyivi-0.0.7.win32.exe", "has_sig": true, "md5_digest": "362aea2157a4acc914965c0bef23ceb0", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 227840, "upload_time": "2013-08-29T13:41:07", "url": "https://files.pythonhosted.org/packages/b4/d1/bf95e7ed9c0c1375366e7975103e5b55ae371af68a8727a3342a0ebb27ef/pyivi-0.0.7.win32.exe" }, { "comment_text": "", "digests": { "md5": "97395b1f225595b4a327a8925a4b5ef1", "sha256": "fe763e5e0a675ad576ff40fec425097259b5e2b8367ae1ab5ba1e307c87be32d" }, "downloads": -1, "filename": "pyivi-0.0.7.zip", "has_sig": true, "md5_digest": "97395b1f225595b4a327a8925a4b5ef1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32110, "upload_time": "2013-08-29T13:41:17", "url": "https://files.pythonhosted.org/packages/ee/cc/46295dfff8a702d118c98cc486d3ad97c3896213f4edf0a95207866c7135/pyivi-0.0.7.zip" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "52c29222841ba8b682a62be598401eed", "sha256": "5d91ff0fae006d1bd741faf940e5997e00d1ce906c69020c9f2f4605cd004ba5" }, "downloads": -1, "filename": "pyivi-0.0.8-py2.7.egg", "has_sig": true, "md5_digest": "52c29222841ba8b682a62be598401eed", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 62293, "upload_time": "2013-10-05T09:28:33", "url": "https://files.pythonhosted.org/packages/c6/06/79edde80b663159f4caf05a8eb6ae7bedee7bb05bf625a20cb3d3fd81d59/pyivi-0.0.8-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "48760c6f7aa07124f8f49af1e7544115", "sha256": "cc69236fa8e6f0056abb8f21c974e7bbb434af5d7312cc7c5ce8feb706e0f2e1" }, "downloads": -1, "filename": "pyivi-0.0.8.win32.exe", "has_sig": true, "md5_digest": "48760c6f7aa07124f8f49af1e7544115", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 229009, "upload_time": "2013-10-05T09:28:44", "url": "https://files.pythonhosted.org/packages/33/ba/a9f29bf76cf3f8d0716c8ad27912afd909617fa15e76f31be64d47ca3e67/pyivi-0.0.8.win32.exe" }, { "comment_text": "", "digests": { "md5": "3e50c033b6ff9825fbae7af536584a38", "sha256": "9db23286066be29538bac261186503bdd3ce4ad16931aed388336d389a77025b" }, "downloads": -1, "filename": "pyivi-0.0.8.zip", "has_sig": true, "md5_digest": "3e50c033b6ff9825fbae7af536584a38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32269, "upload_time": "2013-10-05T09:28:56", "url": "https://files.pythonhosted.org/packages/71/1a/6f481e020171c2cc61f01778a9006868483790a4705534fe58451a2a5928/pyivi-0.0.8.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "52c29222841ba8b682a62be598401eed", "sha256": "5d91ff0fae006d1bd741faf940e5997e00d1ce906c69020c9f2f4605cd004ba5" }, "downloads": -1, "filename": "pyivi-0.0.8-py2.7.egg", "has_sig": true, "md5_digest": "52c29222841ba8b682a62be598401eed", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 62293, "upload_time": "2013-10-05T09:28:33", "url": "https://files.pythonhosted.org/packages/c6/06/79edde80b663159f4caf05a8eb6ae7bedee7bb05bf625a20cb3d3fd81d59/pyivi-0.0.8-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "48760c6f7aa07124f8f49af1e7544115", "sha256": "cc69236fa8e6f0056abb8f21c974e7bbb434af5d7312cc7c5ce8feb706e0f2e1" }, "downloads": -1, "filename": "pyivi-0.0.8.win32.exe", "has_sig": true, "md5_digest": "48760c6f7aa07124f8f49af1e7544115", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 229009, "upload_time": "2013-10-05T09:28:44", "url": "https://files.pythonhosted.org/packages/33/ba/a9f29bf76cf3f8d0716c8ad27912afd909617fa15e76f31be64d47ca3e67/pyivi-0.0.8.win32.exe" }, { "comment_text": "", "digests": { "md5": "3e50c033b6ff9825fbae7af536584a38", "sha256": "9db23286066be29538bac261186503bdd3ce4ad16931aed388336d389a77025b" }, "downloads": -1, "filename": "pyivi-0.0.8.zip", "has_sig": true, "md5_digest": "3e50c033b6ff9825fbae7af536584a38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32269, "upload_time": "2013-10-05T09:28:56", "url": "https://files.pythonhosted.org/packages/71/1a/6f481e020171c2cc61f01778a9006868483790a4705534fe58451a2a5928/pyivi-0.0.8.zip" } ] }