Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Make an automatic script to import NI Max Tasks

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?

0 Kudos
Message 1 of 4
(1,469 Views)

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?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 4
(1,464 Views)

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.

0 Kudos
Message 3 of 4
(1,462 Views)

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

santo_13_0-1636571535048.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 4
(1,436 Views)