11-07-2016 01:22 AM
Hi,
I want to plot my encoder data value along with its processing time simultaneously in an array by fetching real time data. Please help me with some solutions or ideas.
Solved! Go to Solution.
11-07-2016 01:42 AM
Hi reshmi,
I want to plot my encoder data value along with its processing time simultaneously in an array
How do you plot data in an array?
You can plot data in a chart/graph or store data in an array!
by fetching real time data. Please help me with some solutions or ideas.
Fetch those "real time data" and store it with your "encoder data value " in an array.
What exactly is your problem?
Can you share a VI to pinpoint the problems?
11-07-2016 02:59 AM
I can already plot my encoder data, & also have stored the data in an array. But I want to visualize its timing also. For your simplicity , I am attaching the VI below. My main objective is to simultaneously see the encoder data along with its occurence time.
11-07-2016 03:23 AM
Hi reshmi,
do you thinking about the VI you want to create - before you actually create it?
- Both your DAQAssistents are set to "1 value on demand" but you convert the DDT wire to 2D arrays!? Why? Why don't you convert to a scalar value - because that is what the DDT wire carries!
- why do you "insert into an array", when you want to append to (or build up) an array? Use BuildArray instead!
To have time values too you need to calculate them: by subtracting start time from current time:
11-07-2016 04:05 AM
thanks for your suggestion. But do the tick clock provides correct timing?
11-07-2016 04:44 AM