07-02-2023 07:52 AM
In the past I never gave it much thought, I was happy when I got data to do some tests.
Now I start to wonder, lets say I start with a flow of raw int 16 measurement values, at a certain point I might want to translate these values to the human readable data e.g x volt could become temperature when a voltage is measured across a NTC, or X volt could become a current in case of the use of a shunt. When the translation is done the data can be processed and plotted in a graph or a testdocument.
Okay it sounds simple and I am stating the obvious. But now the question arises, is there a standard way this should be done? If there is a stream of raw data I could just calculate xVolt * multiplication factor to get a temperature or current. But I could also imagine there is some kind of standard which adds the multiplication factor to the stream so you can easy use this data in an end document or config file and use more standard functions in between.
In Labview I did take a quick look and the Simulate signal block has got a sine (dynamic data) output. But there are also waveform functions which do no connect to each other without extra actions.
When I google for industry and measurement I find things as SCADA, and then there is also VISA and more.
If there is an official way or ways , which can be more easily adapted in software or hardware which one do you choose for what reason?
thanx ! I am curious to hear your reactions!
07-02-2023 08:18 AM
Well, DAQmx supports custom scales, maybe that's all you need.
LabVIEW can of course do all the math you possibly need, e.g. applying a custom high order polynomial or other nonlinear mapping that you can do yourself. As a first step, convert your raw value into a floating point number in this case.