06-30-2014 08:01 AM
Hi,
I would lke to collect data from my Single Analog input in a table to create a Waveform after, For that I used FOs functions
Here is my code
If Someone has a idea. Please help cause t see how to put my data in a table in order to create a Waveform
Thank you in advance for your responses
My kind Regards
Solved! Go to Solution.
06-30-2014 09:27 AM
Hi k.nadia,
I assume that the data that you want in the graph is the data in the indicator called "Buffer. Is necessary to create a table?, in that case you are going to need the values in the X-axis in order to use the XY graph (cause you must build a 2D-array), otherwise if you just want to graph the values that you are reading why don't use a simple graph as indicator in the 'Buffer'
06-30-2014 09:37 AM
If this is for a user interface (being RT, you really should not), just use a waveform chart. You will need to put it inside of your loop in order for it to update. And at that point, you don't even need the RT FIFO and the extra loop.
So what is the data being used for and by what?
06-30-2014 09:38 AM
Hi 13Cmmkl
Thank you for answering my Question
I would like to measure the duty Cycle of my analog input, for that I was thinking to use the function "Pulse Measurement" , this is way I need to create a Waveform ot use the function proposed By Labview
In that sene, I need to create to put the data in a table, in order to create a wavefrom
06-30-2014 09:43 AM
You don't really need to make a table to build a waveform. You just need the start time, the sample rate, and the data.
I would probably just autoindex the value out of the Timed Loop and stop the loop after X iterations. You can then build up your waveform and pass it on to whatever function to do the measurements.
06-30-2014 09:46 AM
Hi crossrulz
I don't see your point of view
It is possible to add a Sample code
Thank you in advance
06-30-2014 09:59 AM - edited 06-30-2014 09:59 AM
Something like this...