04-30-2012 11:22 AM - edited 04-30-2012 11:24 AM
Hi,
i m trying to control Agilent 33220A Arbitrary Waveform Generator through Labview.
i want to read digital binary lines of numbers from generator when i set software trigger.
The program looks generally ok ( include some lacks)
The point is, i couldn't set the amplitude as 3.3 Vpp. it always show me 2 Vpp on my scope screen..
i attached the VIs ..
i also want to say that, if the first member of binary line is zero, generator waiting on 'LOW' position for software trigger,
on the contrary waiting on 'HIGH' position. i can solve this by adding extra bits to binary line...
05-01-2012 09:23 PM
Hi davut,
Let's try to isolate the problem. Are you sure that the correct waveform data is being written to the function generator?
To check that, open your program and double click on your Agilent Create Waveform VI and then place a probe on the output of the Agilent Scale Arbitrary Waveform. Refer to attached screenshot. What is the amplitude of the waveform that you see on your probe?
Also, what are the versions of NI-VISA, NI-488.2, LabVIEW and Agilent Technologies 33220A Function Generator drivers on your machine?
05-02-2012 05:58 AM
Hi MikhailK,
thanks for your interest...
i checked the probe as you refer to and it turns the waveform values from (0 , 3.3 ) to (0 , 8191) (see: AgilentScaleArbitraryWaveformOutput.png)
It s because 'AgilentScaleArbitraryWaveform' block scaling from [... 0 0 3,3 3,3 0 0.. ] to [ ..0 0 1 1 0 0..] and multiplying with 8191 (see : AgilentScaleArbitraryWaveformInside.png).
Software:
Labview 2011
NI-VISA 5.1.0
Agilent33220 IVI Driver 1.3.3.0
Agilent IO Libraries Suite
i didn't set up NI-488.2, but i set up drivers searching through 'Measurement&Automation' interface (see:agg33xxxDriver.png). I thought, it will also support NI 488.2 ..
05-02-2012 06:03 AM
By the way, i m connected to waveform generator through USB..