07-11-2011 04:22 PM
Check your wiring. Looks like you're trying to wire it to the error input and not the custom scale input.
07-11-2011 08:25 PM
Ah, OK, got it. Fixed the wiring. I thought "ERROR IN" was the correct terminal to wire to. OK, my mistake, thanks for the fix.
Now, I have the custom scale correctly attached, and the DAQmx is going to be reading voltage measured from the NI 9211. Will the output from the DAQmx "TASK OUT" now be the scaled values from the custom scale now, INSTEAD of the actual measured voltage values? Or, do the scaled values come out of a different terminal?
07-12-2011 10:03 AM - edited 07-12-2011 10:09 AM
The error in and out terminals are there to check for errors and perpetuate them through your sequence. If you have an error going into most vi's the vi won't run. In this way you stop your vi quickly especially if you check the status of this cluster within your program. These also serve as a way to sequence your application according to LabVIEWs dataflow pardigm.
The scaled data would come out of your DAQmx read vi. It seems you are rather new at this. A great tutorial is this to get a basic understanding of the data flow. I wouldn't worry too much about the express stuff and instead concentrate on using the DAQmx driver correctly.
07-12-2011 12:13 PM
Hi,
Thanks for the good explanation and the link. YES, I am very new to this, so, your advice and references to tutorials are greatly appreciated. Labview is very extensive and your input is very useful to me.
Thanks again,
David
07-18-2011 07:26 AM
Once you've created the scale in MAX, you can export the configuration from NI-MAX to a text file. That file will contain the constants that MAX uses to adjust the measurement. You might have to look for them, but they should be there. There are also methods to read and write information from and to NI-Max from within LabVIEW, but I don't have source code for them.