02-20-2006 09:33 AM
02-21-2006 04:43 PM
02-22-2006 08:44 AM
Hi JLS,
Thanks for your reply. I do have all the necessary DLLs/LLBs from AlazarTech. As I am quite new to LabVIEW, I am finding it a little difficult to transform my ideas into LabVIEW. I would appreciate if you can give me a general idea as to how this is done. Here's a brief summary of my application: I am using a function generator to input Sine wave signals of various frequencies (read from a text file that are stored in an array, reading one value at a time from the array) and fixed amplitude to a transducer. The transducer's output is sent to a PCI digitizer card and the resulting output is displayed on the front panel after completing all the required analysis. And here's where I am getting into rough weather: I would like to trigger the digitizer card each time a new frequency value is read from the array. As of now, the card is triggered only after all the elements of the array are read.
Do I need to "force a trigger" each time a new frequency value is read. Or is there some other way out to resolve this issue. Would appreciate your reply. Thanks!
02-23-2006 04:02 PM
02-24-2006 08:42 AM
02-24-2006 11:22 PM
Hi ResearchG,
I look to your Single probe vi and I think the problem is that you set 2 loop which run one after the other. You use sequence but the sequence is not in a "Main Loop" then each frame run one after the other.
First loop read ALL frequency from your file, set the generator for each of them then after that go to the next loop where you try to acquire data with the digitizer.
You must combine both loop in one in which you will set ONE frequency, acquire, process data and repeat until using all frequency. I suggest you to look on the "_ATS_How.vi" frame 1 and 2 and study these simple example and use only the VIs you need in your main loop. You needs : Initialize, Set device (outside the loop) then in the loop, after setting the generator use the Arm, Wait until busy then read data process...
Hope that can help.