I am trying to run Python Example (AI_InstantAI) for Advantech card. This example got installed with installation of DAQNavi SDK. I am using Spyder IDE with Anaconda3. Python version 3.9. When I run example from IDE or command prompt I get error message "ModuleNotFoundError: No module named ‘Automation’ " .
How to solve it?
Or I have to install specific module in Python for Advantech cards?
Is there any DAQ product series installed on their system?
“ModuleNotFoundError” : This error is mean there’s no device found in system.
Some of possible case:
A. No DAQ product installed.
B. The “deviceDescription” parameter doesn’t modify correctly in example.
C. The DAQ device has been used with the other program/tools.
Firstly, I would recommend them check the “deviceDescription” in the example,
You need to make sure the python package Automation is included in your default Python path. If you installed the DAQNavi layer, there should be a folder called Automation under /opt/advantech/examples/Python. Make sure to copy that folder to the same directory was where you script is.