Re: Can we run two while loops independently in one application?

2004-04-20 Thread Joe Guo
You could sample both channels at higher rate (4K/s), then downsample for each channel. -Joe

Can we run two while loops independently in one application?

2004-04-20 Thread Haider Abbas
I am acquiring two channels using PCI-6052.both channels to be read at 2ks/s,but I want to scans read at a time different for each channel,So I put two AI-read vi's in two different while loops.but the second while loop waits until the first is completed.Can we run independently both while loops?

Re: Can we run two while loops independently in one application?

2004-04-20 Thread vlipje
Not possible

Re: Can we run two while loops independently in one application?

2004-04-20 Thread S.Klumpp
Dear Haider Abbas, you can scan two different channels at the same time with the same AI Read if your hardware device is cabable of it, e.g. you must have one A/D converter for each channel. If you have one A/D converter only and your channels are multiplexed then it won't work. You can try

Can we run two while loops independently in one application?

2004-04-20 Thread Haider Abbas
I am acquiring two channels using PCI-6052.both channels to be read at 2ks/s,but I want to scans read at a time different for each channel,So I put two AI-read vi's in two different while loops.but the second while loop waits until the first is completed.Can we run independently both while loops?