03-18-2014 02:52 PM
Hello:
Using LabVIEW 2013, I'm trying to get DaqMX set up so that a user can select from the 16 channels of a NI 9214 and view the output in either voltage or temperature. Using DaqMX Assist, I can create an instrument with 16 voltage channels or 16 temperature channels, but get an error if I try to assign both voltage and temperature to a channel.
I tried assigning both voltage and temperature, and having the LabVIEW code only select one of them based on whether the user enters "From Custom" (voltage) or any of the others like deg C or deg F (temperature). It fails to output a valid task though. I then tried making two of them, one with 16 voltage channels and one with 16 temperature channels, cascading them, and having it skip writing to the task via a Case structure depending on whether the Units value is "From Custom" or not.
The closest example I could find to my problem was at http://forums.ni.com/t5/LabVIEW/DAQmx-simultaneously-acquire-different-signal-types/m-p/492386/highl... but it seems that in that version, temperature and voltage could be added simultaneously without error. Please let me know if anyone has a solution. Thanks!
03-18-2014 03:26 PM
Just read voltage and display it. Scale the same output with Convert Thermocouple Readings.vi and display that too. Poof, both value.