Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I Turn the RF On using the labview driver?

I am using an instrument driver to control my n5182a awg. The NI driver is PSGMXG which includes a output on VI. However, It isnt turning the RF output on...Is there a specific configuration order that I need to follow, or is there another VI that Im supposed to use?
0 Kudos
Message 1 of 12
(9,503 Views)

ahmad88_76,

 

What VI's are you using now?  Also, have you looked at the examples included with the driver? Thy should be on your system at a location similar to: C:\Program Files\National Instruments\LabVIEW 8.6\instr.lib\Agilent PSG MXG Series\Example.

 

 

Eric K

Applications Engineering

National Instruments

0 Kudos
Message 2 of 12
(9,462 Views)
Yes, I used 2 examples as references/guides. I'm able to configure everything else I need to so far. In order, I am using Initialize, RF Config, Config Arb, Arb Select, Config ALC, ALC Enabled, Sweep Config, Arb Enabled, Output Enabled, Output Mod. I spoke with agilent, and they insisted that they cant help me with labview drivers. I want to say that the DLL file within the Output Enabled VI is flawed, but Im not an expert.
0 Kudos
Message 3 of 12
(9,460 Views)

Open MAX and turn on NI-Spy. Do a capture of when the Output Enable function is called. Open the trace data and compare the command being sent to the command that is in the manual. You could also execute the enable command in MAX and see if the output comes on.

 

There's also no dll involved. You can actually look at the code and modify it if necessary.

Message Edited by Dennis Knutson on 07-07-2009 08:01 AM
0 Kudos
Message 4 of 12
(9,454 Views)
That was very helpful. Unfortunately, I realized that the SCPI command that was being sent to the instrument was 'OUTP:STAT 0' despite having toggled the enable switch on the RF Output vi. I couldnt figure out how to edit the vi, so i went ahead and sent the proper command using the GPIB vi. Thanks for your help in troubleshooting!
0 Kudos
Message 5 of 12
(9,440 Views)
Why couldn't you edit the VI? Are you using the IVI driver instead of the LabVIEW driver?
0 Kudos
Message 6 of 12
(9,435 Views)
This is the same problem I am having. Is there a driver that works or do we have to modify it ourselves?
0 Kudos
Message 7 of 12
(8,761 Views)
Depends on which driver you are using. I looked at the project style driver and don't see a problem.
0 Kudos
Message 8 of 12
(8,753 Views)

I am using the labview driver, downloaded from here

 

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=37333AE939A67126E0440003BA7CCD...

 

I actually started another thread about it in the labview section.

0 Kudos
Message 9 of 12
(8,748 Views)

That link is meaningless. Please say whether you are using the LabVEIW plug and play or the LabVIEW IVI driver. You have to know which one you downloaded.

 

Don't start multiple threads!

0 Kudos
Message 10 of 12
(8,746 Views)