LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Splitting one signal from DAQ

Hi I m just working on my project and part of this is also build interface in Labview to use DAQ device 6008.

DAQ device serves to acquire Voltages from thermistors and my interface should split this signal for example like this:

 

=if(and(x>=8,D65<=8.54),-33.1*LN(D65)+46.12,if(and(x<8,x>=7.12),-40.1*LN(D65)+34.11,if(and(x<7.12,x>=6.15),-51.2*LN(D65)-0.28,"Out of Range")))

 

but this is just excel equation that works. I tried to do something similar in quation node because that would be the simpliest way for me, signal that enters the node is x and leave as y and goes to the waveform chart, but it didn`t work.

Then I built this interface thanks to the greater, lower icons and it was working fine till I was using number indicators icons as my input, but when i replaced them with DAQ device there was lot of issues with data types I was using and even after I fixed them there was all of sudden other problem with my equation node (because I needed to write condition somehow I used node) DAQ didn`t like it.

Any help please. I m new in this world then if someone will know what to do, please try it in simple world.

thank you in advance

0 Kudos
Message 1 of 5
(2,175 Views)

Hi Tino,

 

Can you please post up your VI that contains the DAQ task and the equation node. Once I have that I should be able to help you out.

 

Best regards,

Stephen C
Applications Engineer
0 Kudos
Message 2 of 5
(2,141 Views)

Hi and thank you for your answer.

First file is the interface I created without DAQassist because I was told it will be the same when the numeric controllers will be replaced with DAQ assist, and this interface works.

The next file is with DAQassist and there is many errors regarding the wires types and even when I add "convert from dynamic data" after signal is split then I get next error, and even when I ad "index array" that is recomended for this error when I run simulation I m getting next error regarding my functional node.

 

If you can help I would really appreciate it.

 

I have to find my very first file which include only functional node and I will forward it to you.

 

Best regards

 

Tino

Download All
0 Kudos
Message 3 of 5
(2,135 Views)

 Hi Tino,

 

You can convert the dynamic data type into a double precision number using the "to double precision float" in the NUMERIC>>CONVERSIONS subpalette

 

Best regards,

Stephen C
Applications Engineer
0 Kudos
Message 4 of 5
(2,119 Views)

super ruper druper, thank you very much for your help. You make me very nice day then I wish you the same. wish you special day.

Thank you very much again. Smiley Happy

0 Kudos
Message 5 of 5
(2,108 Views)