03-27-2014 01:41 PM
03-27-2014 02:51 PM
Yes Sir, thank you very much for suggestions, I am feeling optimistic after getting your prompt responses. My program does not shows error while running all the time but it sometime shows time value negative (x axis) , which consequences error in all the time value following it. what may be the cause .......It should increase gradually upto the stoppage of test. Is it due to error in code?
03-27-2014 05:01 PM
03-28-2014 10:36 AM
Okay, Please suggest me if you find any thing else to support me. I have used kits only from mesuremetn I/O function.... I need to figure out the problem of negative values in time axis as earlierly posted.
03-28-2014 11:36 AM
04-02-2014 10:22 AM
Hello,
These days I am trying to add two more options on my front panel window like scanning and showing sample datas and adding zeros option so that i can start recording right from the instant of my interest.
sample output expected in front panel(scanning and displaying)
load 2.2
stroke 0.005
potentiometer 1 0.0004 all value needs to be changed with time.
potentiometer 2 0.0004
Your suggestions may contribute a lot for me, I have attached
screenshot for your kind information.
04-03-2014 04:41 PM
Hi dolakha,
You can use the Get Waveform Components function in LabVIEW to obtain all of the signal data that is in the waveform data wire (the output from the DAQmx Read). You can then make indicators of the waveform components and have the numeric data displayed on the front panel.
I am not sure what you mean by adding zeros option. If you want this task to start when you want, you can put it in a Case Structure and wire a button to it.
04-03-2014 06:02 PM
Thanks, I am not done as it shows error while connecting 'get the waveform component' to the wire from Daqmx read data output, error says sth like data type not matched. I have to display 4 different items on front panel.
In the mean time, i want to clearify my earlier email, Zeros means i want to add a botton on front panal so that i can make some items like potentiometer 1& 2 reading equal to zero right before starting the test.
04-04-2014 11:45 AM
Hi dolakha,
Since the waveform data is an array, you could have to put it into an Index Array function first, then take each individual component into the Get Waveform Components function.
As to the zeros, my recommendation would be to have the waveform data run through a Case Structure. Set up the Case Structure to output zeros in the waveform data when you press the button. Otherwise, the data goes through the false case and will act as normal.
04-09-2014 11:41 AM
Dear Bob Rodge
I am greatly thankful to your timely response and valuable suggestions. Now i came up with upgraded code which is preety close to our demand.All I need to do is to make all the reading except first one i.e load to be zero when i hit the zeros botton so that i can eliminate the human errors in potentiometer and all.Then i can enable the save botton to record datas.
We all would be highly benifited if we came up with solution. I have attached screenshots for your reference. Thank you.