Skip to main content

JW8507 is a device of optical attenator

Project description

JW8507

LICENSE

JW8507 lib

This package is the library for device JW8507 or JW8507A JW8507 Product Main Page

Product Overview

JW8507 Multichannel Bench-top Optical Attenuator is a special test equipment designed by Joinwit for current optical transceiver and optical network integration test. JW8506 has a high-density design that significantly small size. The multi-channel stand-alone Optical attenuator channel provides higher test data throughput and test rate. The device also provides variety communication interface, can be integrated with many Joinwit products. JW8507 is the ideal solution of Optical Network, Optical transmission field to light sensitivity, error rate, attenuation test of the 40G / 100G optical module.

Product Features

  1. Individual VOA modules
  2. More efficient testing and data processing ability
  3. Support for optical output locking
  4. Support internal OPM
  5. Maximum + 27dBm input optical power
  6. Provides RS232 interface
  7. Provide variety software protocols for easy system integration

Basic Usage

from jw8507 import JW8507

if __name__ == "__main__":
    jw = JW8507("/dev/cu.PL2303G-USBtoUART2110")
    if jw.open():
        dev_ver = jw.read_device_version()
        print(dev_ver)
        len_list = jw.read_optical_length(1)
        print(len_list)
        len_list = jw.read_optical_length(2)
        print(len_list)
        dev_status = jw.read_current_status(1)
        print(dev_status)
        dev_status = jw.read_current_status(2)
        print(dev_status)

        # set chnnel 1 to 1.1db
        jw.set_attenuation(1100, 1)
        # set chnnel 2 to 1.1db
        jw.set_attenuation(1100, 2)
        time.sleep(5)

        # totally disconnet optical connection
        jw.dis_connection()
        time.sleep(15)


        # restore optical connection, attenattion is 0db
        jw.clear_attenuation(1)
        jw.clear_attenuation(2)
        time.sleep(5)
        # jw.set_attenuation(2200) # set chnnel 1 to 1.1db
        if jw.close_full_screen():
            print("succ close full screen!")
        jw.close()
    else:
        print(f"open serial port:{opat_port} failed!")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

jw8507-0.1.1-cp311-cp311-win_amd64.whl (57.2 kB view details)

Uploaded CPython 3.11Windows x86-64

jw8507-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (366.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

jw8507-0.1.1-cp311-cp311-macosx_10_9_universal2.whl (120.7 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file jw8507-0.1.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: jw8507-0.1.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 57.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.4

File hashes

Hashes for jw8507-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 56012f1f6b12460ce0d4bdc990386bc48bf9a5db90e49ff9f0bdec6e0897cb48
MD5 1bcf114b1bbc54375aa8326b4daea22b
BLAKE2b-256 6490c8b56a1d656fc42f6480b048a83f842677081382558d85439a56abe8dc98

See more details on using hashes here.

File details

Details for the file jw8507-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for jw8507-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2db2a21afde763db0995b66fc1bbf0dfc84a2473d654430196dc20692cd35c05
MD5 8970ef0dfc6464042c0a7d86ab998ff6
BLAKE2b-256 06351c7bab363bfe8deb5d2b1a7afe9500c8a44a21b82b0a36c5d9850eed4fe5

See more details on using hashes here.

File details

Details for the file jw8507-0.1.1-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for jw8507-0.1.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0d9bacc46876929a5f34e5679c415183f263ffe4c0a55e5ad87354b47573315f
MD5 60edd328c7c0902b1cdb7e583d2b279b
BLAKE2b-256 62efe22ba976633bdfb06b3741814932fec421ebe147872cf45b6a793ff0e9d7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page