LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tds3034 scope: how to acquire waveform from channel 1 (average) and to trigger with channel 2

I would like to acquire a waveform with a tds3034 scope. I need to trigger the scope using a further signal, I read with channel 2. I also would like to acquire as average, to have bigger resolution.
Sometimes I get the error:
Driver status Hex0xBFFF0015
and Primary error
Hex 0xBFFA2003
What does this mean?
Afterwards I cannot acquire anything else. I have to restart Labview.
What could I do?
0 Kudos
Message 1 of 8
(3,385 Views)
Hello,

1) What type of communication you are using: GPIB or serial?
2) Can you sometimes make trigger and read wfrm?
3) To make averaging you need write command: ACQUIRE:MODE AVERAGE; NUMAVG 512 (for example);
this command make averaging in all channels.
4) To make trigger with ch2 write command TRigger:Source:CH2;
0 Kudos
Message 2 of 8
(3,384 Views)
Hi, thanks. I know my question was not very clear.
1) I use GPIB to communicate
2) What I do is to use some of the given drivers for my instrument (Labview version 6.1) with IVI.: so I can set the channel to acquire and the triggering channel.
When I acquire in "sample" I get no problem (at least apparently, I'm still working with "artificial" signal given by a frewquency generator).
The problem (and the error) appear when i try to increse the number of averages: up to 8 seems to be ok. Then I get the error.
0 Kudos
Message 3 of 8
(3,385 Views)
I don't know about these drivers.
But maybe this driver have 2 vi's: first is selecting of Acquire Mode: Sample, Average, Envelop.
After that you select Average, there is another vi that say how many averages to do.
0 Kudos
Message 4 of 8
(3,384 Views)
Who could ever have predicted that on Tue, 25 Jun 2002 06:23:38 -0700 (PDT), alessandra would say:

>The problem (and the error) appear when i try to increse the number of
>averages: up to 8 seems to be ok. Then I get the error.

Perhaps the additional averaging is taking longer, causing a GPIB timeout...


--- Rod.
0 Kudos
Message 5 of 8
(3,384 Views)
No. I work many times with averaging and it don't take time because it don't wait until it have number of samples as number of averages.
0 Kudos
Message 6 of 8
(3,384 Views)
I think that the latter is the cause.
But I don't know how to solve the problem.
I use the averaged signal also to trigger the oscilloscope.
alessandra
0 Kudos
Message 7 of 8
(3,384 Views)
OK.

Try write simple vi that only set Averaging and read wfrm through VISA vi's (Write and Read). Maybe the problem vith IVI driver.
0 Kudos
Message 8 of 8
(3,384 Views)