EngineerZone
All Places
Processors and DSP
Software and Development Tools
VisualDSP++ Development Tools
Discussions
Hi,
I am doing experiments with automation of the VDSP IDDE starting from the bigdump.zip example in the discussion [http://ez.analog.com/message/9951]. Now I am able to load and run a DXE file from the Python script.
My DXE project uses an external file to load test vectors. This DXE runs fine when loaded and run manually from a project.
When I load and run the DXE file from a Python script using the ADspProcessor interface, the programs fails when trying to load the external file.
The test vector file is opened with a relative path. So I suspect the debugger has no knowledge of my DXE working directory.
Is there a property of the Idde where I could specify a working directory to avoid this problem ?
Best regards,
Mathieu
Are you able to resolve the problem by setting the current working directory explicitly in Python, via os.chdir(path), for example?
Regards,
MichaelS
Hi Michael,
Changing the working directory in Python with os.chdir() has no effect on the problem.
But I found it is solved by setting the ADspApplication.CurrentDirectory property with the path of my DXE file.
Regards,
Mathieu
Ah! I'm glad you found a solution to this issue.
Regards,
MichaelS