LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"task location"

OK, Lets go there.  (I'll Chime In!)

 

DAQmx Tasks (Scales and other objects) can be:

  • Defined a run-time with block diagram constants-  Dennis seams to like this manner- SOMEDAY I'll change his mind (I Hope)
  • Defined in MAX - imported and exported with a properly configured "Build Spec" and installer
  • Defined in a *lvproj file (The App Builder puts those convieniently close to the exe file)

In ANY case the DAQmx Task is defined in a human readable file.

 

Let me say that again In ANY case the DAQmx Task is defined in a human readable file!

 

MAX knows where to look for objects defined and pertisted to MAX.  Open a *.lvproj file in IE and see the DAQmx objects defined in text in that file!  Open the NI-DAQ folder the app builder places in the *.exe directory and (Whoomp) there they is!

 

DAQmx Objects are defined in human readable text files!  I really like that about DAQmx!


"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 14
(1,316 Views)
I'll change my mind when I don't write programs for use in production testing. Making the tasks visible and changeable in MAX is a very bad idea for those applications.
0 Kudos
Message 12 of 14
(1,310 Views)

@Dennis_Knutson wrote:
I'll change my mind when I don't write programs for use in production testing. Making the tasks visible and changeable in MAX is a very bad idea for those applications.

Yeah,  Users that change Task properties is "Bad" ....Continuation Engineers that have the ability to set a production machine state for troubleshooting is "Good".... Its a balancing act.  I have gone each way myself.  Still, the user can either get into the xml hell or the NI DAQ folder or the vi source.  At some point the DAQmx objects are rendered into human readable text. OR, there is a disconnect and the Object is defined twice and cannot be accessed outside the app you designed.  External access is often needed. 


"Should be" isn't "Is" -Jay
0 Kudos
Message 13 of 14
(1,299 Views)

I've gotten to the point where I have considered just importing a *.nce file in the pre-UUT loop for high mix systems.Smiley Embarassed Continuation Engineers love those files despite the fact that they don't often know what they do for their "Next Generation Universal Test System"  


"Should be" isn't "Is" -Jay
0 Kudos
Message 14 of 14
(1,288 Views)