12-09-2008 09:11 PM
I am doing a research project looking at the effects of modifying visual feedback on a person's current force output. I have a waveform graph that plots the target force level they are trying to match (specified by me) and next to it a second plot showing their current force output (in real time). I am trying to make a condition where the current force output plot (or really the whole waveform graph) stops plotting after a 10 s time period, but can't seem to get it to work. It either plots for the whole trial, or does not plot at all. Is there a way to put a timer on a waveform graph in order to tell it to stop plotting after a specified time period?
Thanks!
12-09-2008 10:32 PM
12-10-2008 05:17 AM
I guess you have some sort of daq unit sampling data at a constant rate. If this is correct you can keep track of total sampels read for each channel(hint use shift register). Put your chart terminal inside a true/false case. If you have received a number of samples greather or equal to 10 sec, you do not send any data to the chart terminal
12-10-2008 08:47 AM
You can't put a timer on a chart/graph but you can put a timer in your code. The tick count will work or use the Elapsed Time function.
If you get stuck, post your code.
12-10-2008 09:47 AM
Hi again,
I have tried to open the .vi you sent, but I have version 8.2 (yours is in version 8.5) and cannot open it. Is there a way for you to tave the.vi so that it can be opened with earlier versions of the program?
I have attatched my .vi to this message as well.
12-10-2008 12:16 PM
Lol actually, I just got the code working, so no worries, but thank you all for your suggestions!
Cheers!