from LowLevelWidgetsPackage.defaultConfigForWidgets import  LOGGER

defaultConfig = {
  "DEVICENAME" : "DEVICENAME_NAMES",
  #"COMMUNICATION": "VISA",
  "COMMUNICATION": "VIRTUAL",
  #"VISASTRING" : 'TCPIP0::192.168.0.2::7::SOCKET',
  #"VISASTRING" : 'TCPIP0::192.168.0.3::inst0::INSTR',
  "VISASTRING" : 'ASRL9::INSTR',
  "BAUDRATE": 115200, #Irelevant for TCIP IP..
  "TIMEOUT": "1000",
  "QUERYDELAY": 0.01,
  "PREFIXFORTESTS": "DEVICE_PREFIX",
  "SELF_CHECK_PERIOD": 5000, #provided by main function only
  "SELF_CHECK_COMMAND": "SYSTem:ERRor?",
  "SELF_CHECK_RESPONSE": "0  No Error",
  "READTERMINATION": "\n",
  "WRITETERMINATION": "\n",
  "CONNECTATSTARTUP": True,
  "NEEDSTOBECONNECTED": False
}