JW8507
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
- Individual VOA modules
- More efficient testing and data processing ability
- Support for optical output locking
- Support internal OPM
- Maximum + 27dBm input optical power
- Provides RS232 interface
- 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!")
Metadata
Release files for jw8507 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jw8507-0.1.2-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
| jw8507-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64 | Details |
| jw8507-0.1.2-cp311-cp311-macosx_10_9_universal2.whl | CPython 3.11 | CPython 3.11 | macOS 10.9+ universal2 (ARM64, x86-64) | Details |
Total release size: 543.9 kB
Release files / jw8507-0.1.2-cp311-cp311-win_amd64.whl
| Download URL | jw8507-0.1.2-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 57.2 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e6fe71f71974df9610da8504a6d4eee05d31bf74ab8b3b6318e0cb90d0284eec
|
|
BLAKE2b-256 checksum How to use checksums |
7a7f502ea53645bb01adc4533718f5518013c1d8596d167efd251dc7ae6010ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.4
|
Release files / jw8507-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | jw8507-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 366.0 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1d60339570ecae3114d0653e9ef61c2559ae7f3989c92853aea1ae5bc2a40804
|
|
BLAKE2b-256 checksum How to use checksums |
bb57e1727e35f748c1370f1fa08ee3b8ae154fc7b6bd6707c43ba4006606470d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.4
|
Release files / jw8507-0.1.2-cp311-cp311-macosx_10_9_universal2.whl
| Download URL | jw8507-0.1.2-cp311-cp311-macosx_10_9_universal2.whl |
|---|---|
| Size | 120.7 kB |
| Tags | CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
bcd1fdf36e20c056918b3ae7fab52c73bed506b9b51fe99c76a1edc3cc1a511f
|
|
BLAKE2b-256 checksum How to use checksums |
c8d82d237ce1eb259f3c131a0d7e9bda2ea484a433d82bcff71d7c9adff646d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.4
|