Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Code Generation for Tasks using Custom Scales...

I just realized that if I generate configuration code from a Task, the configuration code does not include code to automatically create any custom scales that the Task uses.  I want to generate the configuration code so I can share the code with others without having to share my MAX configuration.  However the generated code still calls custom scales in MAX, so it turns out I still have to share my MAX configuration.  Is this a bug?  I know that scales can be created programatically using the "DAQmx Create Scale.vi".  I would have expected the automatic code generation feature to have used this VI.
 
Thanks.
0 Kudos
Message 1 of 2
(2,833 Views)
Hi,
 
You are correct. The Generate Code functionality does not create a DAQmx Create Scale VI for you and you will have export your MAX configuration or add scaling using the DAQmx Create Scale VI. If you would like to see this feature added to the Generate Code function I would highly recommend you submit your feedback to the Product Suggestion Center.
 
 
Abhinav T.
Applications Engineering
National Instruments India

LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
Measurement Fundamentals
0 Kudos
Message 2 of 2
(2,819 Views)