Skip to content
Snippets Groups Projects
Commit eced859a authored by Sai Lakhan Ekal's avatar Sai Lakhan Ekal
Browse files

Did cleaning of code, remove time module

Change function name from uppercase to lowercase
parent 8929e200
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python3
import pyvisa
import time
from VNA_dummy import VnaDummy
def create_VNA(hostname):
def create_vna(hostname):
if hostname == 'localhost':
return VnaDummy(hostname)
else:
return Vna(hostname)
class Vna:
def __init__(self, ip_address):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment