Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to update a 33210a Function Generator without loosing the signal

I have an Agilent 33210a function generator which I have connected to a computer via USB and am using the standard driver and example for labview.

 

My problem is as follows:

When I update the device with a new function, the device stops giving an output signal and then a relay clicks and the new signal is there.  This is causing problems with my application.

 

What I want to do is apply a standard sine function and use labview to change the DC parameter.  This is easily done with the manual dial but when I send the function I run in to the issue described above.  Is there a solution to this?

 

Thanks

 

Jonathan

0 Kudos
Message 1 of 4
(3,043 Views)

Can you add the example you use. It probably does too much the second time.

You probably have to change the program just a little to do what you want.

If possible I try to help.

greetings from the Netherlands
0 Kudos
Message 2 of 4
(3,032 Views)

Thanks for the response.

I am using the function example provided by Agilent. I attempted to divide it up into stages of initialization, updating, and closing out the device but did not have luck in terms of the reset after changing the output.

 

Jonathan

0 Kudos
Message 3 of 4
(3,003 Views)

Hi

I see what you mean. The commnds usually start with :

like :FREQ

but sometimes you need to be in the correct supervisory mode,

here is an excerpt of the manual

 

SCPI Command Summary
Throughout this manual, the following conventions are used for
SCPI command syntax for remote interface programming:
• Square brackets ( [ ] ) indicate optional keywords or parameters.
• Braces ( { } ) enclose parameters within a command string.
• Triangle brackets ( < > ) enclose parameters for which you must
substitute a value.
• A vertical bar ( | ) separates multiple parameter choices.
(see page 144 for more information)
APPLy
:SINusoid [<frequency> [,<amplitude> [,<offset>] ]]
:SQUare [<frequency> [,<amplitude> [,<offset>] ]]
:RAMP [<frequency> [,<amplitude> [,<offset>] ]]
:PULSe [<frequency> [,<amplitude> [,<offset>] ]]
:NOISe [<frequency|DEF>1 [,<amplitude> [,<offset>] ]]
:DC [<frequency|DEF>1 [,<amplitude>|DEF>1 [,<offset>] ]]
:USER [<frequency> [,<amplitude> [,<offset>] ]]
APPLy?
The APPLy Commands

 

Changing the amplitude of a sine that is already running should look like:

 

:VOLT 1.234

 

for 1.234 volt as max output, optionaly followed by a max and min that I never use.

greetings from the Netherlands
0 Kudos
Message 4 of 4
(2,993 Views)