LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scaling one channel while reading multiple channels

Solved!
Go to solution

Hi everyone, I am currently trying to read two sensors (strain gauge and displacement sensor) on two channels. However, I want to do some scaling only to the strain gauge (V -> N) and not to the displacement sensor. Does anyone know how to tackle this problem? My approach can be seen below, but this scales both channels...

Thank you for any help!

LabviewUser207_0-1724836681368.png

 

0 Kudos
Message 1 of 4
(469 Views)
Solution
Accepted by crossrulz

Hi User207,

 


@LabviewUser207 wrote:

Does anyone know how to tackle this problem?


Create one virtual channel with scaling applied to your DAQmx task. Then add another channel (without scaling) to the same task!

 

You just need two DAQmxCreateChannel calls…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(462 Views)

Great, it works!

Thank you GerdW.

Appreciate your answer!

0 Kudos
Message 3 of 4
(445 Views)

To show your appreciation, go back to Gerd's answer and click the "Accept as Solution" button (it was your question, so you get to decide if one or more Replies solve your problem).  This helps the next person who has a similar question "find the Solution" faster, and gives Gerd a "warm feeling" for sharing his wisdom and LabVIEW experience.

 

Bob Schor

0 Kudos
Message 4 of 4
(417 Views)