Dear all:
I want to sample data simultaneously from two channels in PCI 5922. The niscope driver has some example VB programs to sample data from one channel, for example, the "save to file ", the program works well to sample the data from one channel. When I modify it to sample data simultaneously from two channels, I always get error. I attached the sample program here and what I tried to modify is the "channel name" and "waveform()". The Driver also provide sample labview program "niScope EX save to File" in niscope driver V3.4 to sample data from channel 0 or channel 1 or 2 channels together in PCI5922. When I run it, there is always an error message:
Error occurred at: niScope Multi Fetch.vi:1
<err>Driver Status: (Hex 0xBFFA2003)
Maximum time exceeded before the operation completed.
Status Code: -200284
When I use other sample program to sample data from 1 channel without the "niscope multi fetch" unit, it works well. so I seek your help on how to sample data from two channels simultaneously. Thanks.
Regards
Andy