AaeonIo.dll .Net 4.6.1 Wrapper
Has anyone implemented a C# wrapper for the AaeonIo.dll I/O libraries?
Regards,
Jason Craig
Comments
-
I'm also interested in this.. but I think it doesn't exist...
-
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 -
Thanks for your reply.. can you Upload a example Project. Ich didn't get it
-
Contact me per email tomorrow mmayr(at)mmm-it(dot)com ... then I can arrange some help for you ...
-
Is this a limitation due to Windows 10 or is it just not implemented?
-
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 -
When do you think Analog I/O's and SPI will be available for Windows 10 Pro?
-
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 -
Please try to download AAEON Hi-Safe utility from below FTP for testing.
ftp://ae:aaeonae@dataex.aaeon.com.tw
File name:Hi-Safe_v2_20170608.zip -
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? -
The value in EApiGPIOSetLevel and EApiGPIOGetLevel use 0 as low, 1 as High.
There’re no EApiSPIReadTransfer & EApiSPIWriteTransfer APIs, where do you see these? -
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 */
); -
EApiSPIReadTransfer & EApiSPIWriteTransfer did not be implemented yet.
Currently, it only supports I2C and DIO function. -
Any support for SPI on Windows yet?
-
I need also SPI control. Any update and example please?
-
Hi,
Please refer to attached SPI beta package.
We will implement it into our SDK officially in near future.Configuration
OS: Windows 10 1709 above
BIOS: UPC1DM15 above
Set OS IMAGE ID to “Windows 10 IoT Core” in the BIOS boot menu
Install visual c++ redistributable (Visual Studio 2015) for execute SpiTestTool.exe
https://www.microsoft.com/zh-TW/download/details.aspx?id=48145The tool has two modes that we will use, SPI setup and SPI control.
For SPI setup:
The “-h” option use to view a list of examples of parameter usage. Type the following command at shell prompt >>SpiTestTool.exe –hFor SPI control:
Type “SpiTestTool.exe” into Command Prompt. This command will allow you to run a program from the selected file path.
Type “help” into Command Prompt, to view a list of SPI commands.Thanks.