12-02-2011 11:30 AM
Hi!
I'm trying to have an analog square wave input determine where data gathered from a second analog input channel is stored. I want data to be stored to one array during the high signal period of the square wave and data to be store to another array during the low signal period of the square wave. The square wave I'm using is of constant frequency (8.3 Hz). I believe I need to use an analog input wave as opposed to a onboard clock or other timing mechanism because my square wave is also being used to modify the input going into my experimental setup. Thus the data storage needs to be correlated to the timing of the data modification in the experiment. I tried to use the retriggerable property node function, but receive error 200452, which I think means that my PXI card (6115) can't support this retriggerable function. So I'm looking for other ways to accomplish alternating data storage in response to an incoming analog square wave. Any help would be GREATLY appreciated... Thanks! (I'm also quite new with LabView so toddler-type explanations would probably be most useful )
-Shari
(LabView version 8.6)
12-05-2011 11:43 AM
Hello Shari,
I am looking at your situation and it seems very intriguing. after downloading your file I have a couple questions to ask if you don't mind answering.
Currently in your program you are only taking one sample of data at a time, this could lead to uneven sampling. Would you like to sample at a consistent rate (say 10 Kilosamples of data a second?) if so what type of card are you using?
Also, Do you want your data to be in a 2-D array of data?
Best Wishes,
Daniel