07-12-2018 01:16 AM
Dear ALL,
If I got data continuously from AI0 of DAQ, now I hope to write a calculation with the data in LabVIEW with Numeric function, and then I can get results from the calculation through the output of DAQ.
Is it possible? how to deal with it?
Thanks!
Best.
Jason
Solved! Go to Solution.
07-12-2018 01:23 AM
07-12-2018 01:35 AM
Thanks for the rapid reply!
I got 4 lines of voltage data through AI0~AI3 from the DAC. Next, I hope:
1.calculate the data with a mathematical formula inside LabVIEW and output the result through AI of DAQ or
2.use the data acquired by AI0~AI3 as the input of a new VI created by multisim and then output the result from the new VI.
Could you please show me how to deal with the above problems? It would be better if there is a snippet or example.
Thanks again! I am grateful!
Best,
Jason
07-12-2018 01:45 AM
Hi Jason,
1.calculate the data with a mathematical formula inside LabVIEW and output the result through AI of DAQ or
Write down your math formula on a sheet of paper.
Then implement this formula in LabVIEW.
Btw. with an AI you can only read analog data from your DAQ device. To output data you need to use an AO channel!
2.use the data acquired by AI0~AI3 as the input of a new VI created by multisim and then output the result from the new VI.
Again: do the beginner courses offered for free to learn LabVIEW.
Here you are asking how to create subVIs with inputs and outputs…
07-12-2018 01:54 AM
Hi GerdW,
Thanks for your reply!
But how can I use the acquired analog data as a parameter in the formula implemented in labview and just get to know the final result?
Thanks again!
Best,
Jason
07-12-2018 02:50 AM - edited 07-12-2018 02:52 AM
07-12-2018 03:29 AM
Thanks.
But it's not what I mean. It's OK. I find the answer.
Thanks again!
Best,
Jason
07-12-2018 03:33 AM
Hi Jason,
how can I use the acquired analog data as a parameter in the formula implemented in labview and just get to know the final result?
But it's not what I mean.
Then you should write what you "mean".
And you should attach VIs explaining your problem…