Adapter Sample HELP!!!

Hi. I am trying to read an input from the 14-PIN on a ConnectPort X4 H. I opened the analog_adapter_sample from iDigi Dia and add a Devices Local IO using the Graphic Editor. When i see the Source TAB I realize that there is no main.
Where is it? how can I put my code on the ConnectPort?
I have followed the tutorial I didnt find anything helpful.

There is never a ‘main’, or rather you don’t have access to it. The code to upload is the dia.py and dia.zip. You run the dia.py, which mainly finds the correct code in the dia.zip to run.

The YML is read by the code within the dia.zip, so it is more a config file, not a piece of code.