AaeonIo.dll .Net 4.6.1 Wrapper

JasonJason New Member Posts: 8
Hi All,

Has anyone implemented a C# wrapper for the AaeonIo.dll I/O libraries?

Regards,
Jason Craig

Comments

  • BastianBastian New Member Posts: 5
    I'm also interested in this.. but I think it doesn't exist...
  • Martin MayrMartin Mayr New Member Posts: 54
    We use the boards IO under C# .NET ... it works fine ... but there is no ADC, no I2C and no SPI available for the moment ...

    If you need help for this you can contact me here .

    Best regards

    Martin
  • BastianBastian New Member Posts: 5
    Thanks for your reply.. can you Upload a example Project. Ich didn't get it
  • Martin MayrMartin Mayr New Member Posts: 54
    Contact me per email tomorrow mmayr(at)mmm-it(dot)com ... then I can arrange some help for you ...
  • JasonJason New Member Posts: 8
    Is this a limitation due to Windows 10 or is it just not implemented?
  • Martin MayrMartin Mayr New Member Posts: 54
    We have a huge application in which the AAeonIO.dll is integrated but we modified so many things according to our special application, that it won't help anybody to get the sources because e.g. all vaales used in the interface are passed through special variablelinks for dynamic programming of the HMI interface from within the application itself ... and we won't give out our source code from our application because its to much technology inside. But as I said we can offer support for this, but its not a free support, its support in form of consulting or in form of programming on demand ...
    Best regards
    Martin
  • JasonJason New Member Posts: 8
    When do you think Analog I/O's and SPI will be available for Windows 10 Pro?
  • Martin MayrMartin Mayr New Member Posts: 54
    Hello,

    this is not a question for the wrapper, this is a question for the drivers being not yet available and without our influence ....

    Best regards

    Martin
  • JackJack AAEON Posts: 16 mod
    Please try to download AAEON Hi-Safe utility from below FTP for testing.
    ftp://ae:[email protected]
    File name:Hi-Safe_v2_20170608.zip
  • JasonJason New Member Posts: 8
    It looks like the EApiGPIOSetLevel & EApiGPIOGetLevel methods use unsigned 32 bit values; will this be a scaled 0 to 3.3V value?

    I also seen the EApiSPIReadTransfer & EApiSPIWriteTransfer methods, has anyone used these?
  • JackJack AAEON Posts: 16 mod
    The value in EApiGPIOSetLevel and EApiGPIOGetLevel use 0 as low, 1 as High.
    There’re no EApiSPIReadTransfer & EApiSPIWriteTransfer APIs, where do you see these?
  • JasonJason New Member Posts: 8
    In the header you will find:

    /*
    * EApiGPIOGetLevel
    *
    * Condition | Return Values
    *
    +
    * Library Uninitialized | EAPI_STATUS_NOT_INITIALIZED
    * Bitmask==0 | EAPI_STATUS_INVALID_PARAMETER
    * Unsupported Id | EAPI_STATUS_UNSUPPORTED
    * (Bitmask&~(pInputs|pOutputs)) | EAPI_STATUS_INVALID_BITMASK
    * Common Error | Common Error Code
    * Else | EAPI_STATUS_SUCCESS
    */
    /**
    * @param Id: GPIO Id: EAPI_GPIO_GPIO_ID(GPIO_NUM)
    * @param Bitmask: Bit mask of Affected Bits: 0xFFFFFFFF
    * @retval *pLevel: Current Level
    * @return EAPI_STATUS_NOT_INITIALIZED: Library Uninitialized
    * @return EAPI_STATUS_INVALID_PARAMETER: Bitmask==0
    * @return EAPI_STATUS_UNSUPPORTED: Unsupported Id
    * @return EAPI_STATUS_INVALID_BITMASK: (Bitmask&~(pInputs|pOutputs))

    * @return EAPI_STATUS_SUCCESS: Else
    */
    EApiStatus_t
    EAPI_CALLTYPE
    EApiGPIOGetLevel(
    __IN EApiId_t Id, /* GPIO Id */
    __IN uint32_t Bitmask, /* Bit mask of Affected Bits */
    __OUT uint32_t *pLevel /* Current Level */
    );
    /*
    * EApiGPIOSetLevel
    *
    * Condition | Return Values
    *
    +
    * Library Uninitialized | EAPI_STATUS_NOT_INITIALIZED
    * Bitmask==0 | EAPI_STATUS_INVALID_PARAMETER
    * Unsupported Id | EAPI_STATUS_UNSUPPORTED
    * Common Error | Common Error Code
    * Else | EAPI_STATUS_SUCCESS
    */
    /**
    * @param Id: GPIO Id: EAPI_GPIO_GPIO_ID(GPIO_NUM)
    * @param Bitmask: Bit mask of Affected Bits: 0xFFFFFFFF
    * @param Level: Level
    * @return EAPI_STATUS_NOT_INITIALIZED: Library Uninitialized
    * @return EAPI_STATUS_INVALID_PARAMETER: Bitmask==0
    * @return EAPI_STATUS_UNSUPPORTED: Unsupported Id

    * @return EAPI_STATUS_SUCCESS: Else
    */
    EApiStatus_t
    EAPI_CALLTYPE
    EApiGPIOSetLevel(
    __IN EApiId_t Id, /* GPIO Id */
    __IN uint32_t Bitmask, /* Bit mask of Affected Bits */
    __IN uint32_t Level /* Level */
    );

    and this:

    EApiStatus_t
    EAPI_CALLTYPE
    EApiSPIReadTransfer(
    __IN uint32_t bCrtlStatus, /* SPI Control/Status */
    __IN uint32_t *bConfig, /* SPI Configuration Register1-3 */
    __OUT uint32_t *bData /* Transfer Data pBuffer */
    );


    EApiStatus_t
    EAPI_CALLTYPE
    EApiSPIWriteTransfer(
    __IN uint32_t bCrtlStatus, /* SPI Control/Status */
    __IN uint32_t *bConfig, /* SPI Configuration Register1-3 */
    __IN uint32_t *bData /* Transfer Data pBuffer */
    );
  • JackJack AAEON Posts: 16 mod
    EApiSPIReadTransfer & EApiSPIWriteTransfer did not be implemented yet.
    Currently, it only supports I2C and DIO function.
  • m_kramarm_kramar New Member Posts: 8

    Any support for SPI on Windows yet?

Sign In or Register to comment.