LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling the DAQ Assistant express VI programatically

Hi.

I was interested to know if there is a way to programmatically call the DAQ Assistant Express VI. We were hoping to set our VI up such that the user can create the desired channels etc using the exisiting DAQ Assistant express VI interface.

We have tried opening a VI reference and using invoke nodes but it doesn't appear to open/call the express VI as expected.

Thanks for your help.

mike


0 Kudos
Message 1 of 4
(3,002 Views)
Hello mike,

Unfortunately, you cannot programmatically call the DAQ Assistant Express VI.  When you call this VI from LabVIEW during development, it generates code that needs to be compiled.

Another option that might work for you, would be to simply use the DAQmx Task Control to select a task that the user creates inside Measurement and Automation Explorer (MAX).  This way they can just create the tasks they need, and your application can run them by selecting them through the control.

Regards,

Jesse O.
Applications Engineering
National Instruments
Jesse O. | National Instruments R&D
0 Kudos
Message 2 of 4
(2,991 Views)
Ok, thanks for that Jesse.

mike




0 Kudos
Message 3 of 4
(2,984 Views)

I know that this post is kind of old, but I have put together a set of tools that WILL let you call the DAQmx Express VIs programmatically in order to create or edit channels, tasks, or scales.

 

Programmatically Call NI DAQmx Assistants

 

The tasks, channels, and scales get saved in MAX but the code can be run without even having MAX open and is fully integrated into LabVIEW.

0 Kudos
Message 4 of 4
(2,598 Views)