11-10-2021 09:14 AM
Hi,
We want to automatize importing the tasks to NI Max. Our idea is to use a ".bat" to do this work or a python script also would work for us. Has anyone have done it before?
11-10-2021 09:27 AM
Personally, I would not recommend defining DAQmx Tasks in NI MAX, rather it should be part of the application.
Any reason you do not want your application to create the task?
11-10-2021 09:37 AM
The reason is cause we are using this tasks on CANoe, and CANoe doesn't allow you to create or modify the NI MAX tasks. CANoe just loads a .dll file that NI MAX creates.
11-10-2021 01:16 PM
First time hearing such a use case.
Anyway, the DAQmx driver provides a set of APIs to save or delete Tasks that show up in NI MAX