🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Antenna Pattern

User: "Gugu_1"
Altair Community Member
Updated by Gugu_1

Hi all,

 

I am using the WinProp API. Why does my program import antenna pattern error?If this information is not written, API runs normally!

image.png.0d3d0a123c6a547541d0dc5cfda38df6.png

image.png.4298f7ff2396b5ad628a7251d8b34b6e.png

My antenna pattern information has been written into the antenna settings.But in the end the calculation will go wrong.

image.png.5a4a709f52c483acd1f7f02641ac1403.png

I hope to get your help.

Thank you very much!

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Gugu_1"
    Altair Community Member
    OP
    Updated by Gugu_1

    Finally, use this command to calculate

    <?xml version="1.0" encoding="UTF-8"?>image.thumb.png.36679cc29fbbe38200761ea60ebe1a3c.png

    image.png.f0a4f8dee25e3f24f603439fd8553e98.png

    Here began to make errors

    User: "Reiner_Hoppe"
    Altair Employee
    Updated by Reiner_Hoppe

    Hi,

    for providing the antenna pattern to the WinProp API functions please use the following code as shown in the API example projects, then it should work:

     

    WinProp_Pattern     WinPropPattern;

    WinProp_Structure_Init_Pattern(&WinPropPattern);

           

    /* Definition of antenna pattern. */

    WinPropPattern.Mode = PATTERN_MODE_FILE; // Load pattern from file
    WinPropPattern.Filename = API_DATA_FOLDER 'antennas/Antenna.apb'; // Pattern file (including extension)

     

    /* Then assign the defined pattern to the Tx antenna */

    WinPropAntenna.Pattern = &WinPropPattern; // Use pattern defined above