LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to do scaling of dynamic data in labview

Hello,

 

I am generating Dynamic data from DAQ assistant. DBL values generating from DAQ assistant is between 0-20mA. I want to change range (Lets say between 2-10A) and change DBL values according to range. 

(I don't want to change input; It should be between 0-20mA)

 

What should I do?? 

 

0 Kudos
Message 1 of 3
(1,551 Views)

Don't use the DAQ Assistant.

Don't use DDTs.

 

Just:

  • drop a DAQmx Task constant on your block diagram 
  • Right-Click and select Create New Task to bring up the DAQmx Wizard
  • Use the Wizard to configure,  test and save your Task, channels and SCALES. Remember to rename the Task, Chanels and Scales.  See Note***
  • Save the configuration. Your Task Constant will now have the Task name
  • Right-click the DAQmx Task Constant again select Generate Code (Configuration and Example)
  • Save the vis and have a 🍩 and .

Give Kudos for anyone who posts a Jing link following that process. The Forums need one!

 

**NOTE: let's assume a system monitoring your bath 

Device0 "CurrentLoops0"

Task "Flow_Meters"

Channels "H20_Hot", H2O_Cold", "H2O_Fill", "Drain"  

Scales "GPM_0pt75InchPipe", "GPM_1pt5InchPipe".

Device2 "Therocouples"

Task "Temps"

Channels "Room", "H2O_Fill", "H20_Tub", "RecircOut" <I want a jacuzzi!>

Scales "degC", "degF", "K"

Device2 "DigIO"

Task "Sensors"

Chanels "TowelPresent", "BubblesOn", "Overflow"

Task "Buttons"

Channels "Bubbles", "BoostMode" <hey its a NICE jacuzzi!>, "OrderMartini" <a very nice jacuzzi > etc...

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 3
(1,522 Views)

Hey,

 

Thank you so much for reply 🙂

 

Okay, I will try doing a you and GerdW explain.

0 Kudos
Message 3 of 3
(1,504 Views)