Hi all,
I have a AFE4403EVM evaluation board, and I am trying to make use of the example python script in the project folder. I have adapted it accordingly for the target evaluation board into this (Sample script.py):
###################################################
GUI_Module=__import__('Device_GUI')
GUI=GUI_Module.Device_GUI("AFE4403EVM GUI")
GUI.read_register("AFE4403","PRPCOUNT")
GUI.__del__()
###################################################
I am getting an error as follows.
$ python Sample\ Script.py
Script completed sucessfully
Traceback (most recent call last):
File "Sample Script.py", line 4, in <module>
GUI.read_register("AFE4403","PRPCOUNT")
File "C:\Program Files (x86)\Texas Instruments\AFE4403EVM GUI\Scripts\Device_GUI.py", line 58, in read_register
raise LabVIEW_Exception(Error_Code.value,Err_Str.value)
Device_GUI.LabVIEW_Exception: (54, 'Open Application Reference in Device GUI.lvlib:Get Application.vi->New GUI Baseline.lvlib:Read Register.vi->New GUI Baseline.lvlib:Read Register.vi.ProxyCaller')
Can someone advise why this exception is occurring, and how I might be able to resolve it?
Thanks in advance,
Ed