Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Use tasks without MAX

Solved!
Go to solution
Hello all,  I need your help. Because of some IT reasons, I can not install MAX on one of my testing computers.The HW is a copy from a previous test stand. In the original test stand, the user had to choose a NI DAQmx task in the application. Now, I want to keep the same principle of work. For that reason, I will copy the MAX configuration report file from the original test stand, and paste it to the new computer (the one without MAX).From the .html I will read the configuration settings (tasks, channels, scales, etc).

I know that I can use NI-DAQmx Run-Time Engine 9.1 (core), so I can work without MAX.(This has still not been testes)

My problem is, how to make that the user chooses a task (unknown number of channels, unknown settings, etc) so the measurement will run without problems?If I do not have MAX installed, can I use all the icons from the DAQmx palette?  Thanks

The_sun

 

ps. Is there a option to import the date from the .nce file?  

 

0 Kudos
Message 1 of 2
(2,891 Views)
Solution
Accepted by topic author the_sun

Hi The_sun,

 

For your situation, it can be a bit tricky to programmatically set up tasks and their settings based on user selection.  There is a way though if you can set up all possible task options before the program begins. You can use a case structure that will select which task to load based on the case selector control that the user can choose prior to run time.  How many tasks do you plan to have the user control?  Your front panel might become cluttered with all the settings selectable, but you can program tabbed windows or some other method of organization if you wanted to.

 

You can use all the vi's from the DAQmx palette without MAX installed.  The vi's reside in the driver itself, so it is independent of the MAX application.

 

What date are you referring to with the .nce file import?  The date it was created?  My initial search and experimenting did not turn up anything about importing a date from that file.

 

Kyle A.
National Instruments
Senior Applications Engineer
0 Kudos
Message 2 of 2
(2,865 Views)