AnsweredAssumed Answered

PNA-X External Source Configuration

Question asked by andyTPE on Mar 4, 2011
Latest reply on Mar 4, 2011 by andyTPE
Hello PNA-X Users,

I think I must be misunderstanding or missing something about the external source configuration.

Here is the issue:
1. I have an external source configured and it operates without problem
2. In the preferences section I have left UNCHECKED - 'ExtDevice: de-activate on PRESET and recall'
3. When I preset the analyzer and then go into the FOM menu, my source does not appear
4. If I then go into the Ext device config, I see that the external source is configured, the IO is enabled and it is active
4a. If I press OK in this UI and return to the FOM menu, the source appears in the list
4b. If I press Cancel in this UI and return to the FOM menu, the source DOES NOT appear in the list

I can see the same issue programmatically (below is a snippet of Python to illustrate).  This shows that after reset:
a. The PNA-X lists the S_PSG as an external source
b. It thinks the IO is enabled
c. It thinks it is active

So, what command or step am I missing to have this source show up in the FOM list?

Firmware is A.09.31.07

Thank you

Andy



# ------------------------------------------------------------------------------
# File:     pnax_MRFIF_1
# Author:   AMS
# Rev:      1-00
# Date:     11-03-03
# Notes:
# 1. Code snippet to demonstrate the Source Configuration Problem
#
# History:
# 1-00  11-03-03    Initial release
# ------------------------------------------------------------------------------


# ------------------------------------------------------------------------------
# Initialize
# ------------------------------------------------------------------------------
from visa import *

pna=instrument('TCPIP0::pnax::5025::SOCKET')
pna.timeout=10
pna.term_chars='\n'


# ------------------------------------------------------------------------------
# Initialize PNA
# ------------------------------------------------------------------------------
#pna.write('syst:fpr;*wai;')
#pna.write('*cls')
# Check that PNA is online
print 'PNA IDN return:\t' , pna.ask('*idn?')

# Issue a reset
# Note Preference:
# ExtDevice: de-activate on PRESET and recall ... IS NOT CHECKED
pna.write('syst:fpr;*wai;')
print 'Reset opc:\t', pna.ask('*opc?')

# CHECK THAT S_PSG IS CONFIGURED
# Catalog of external devices
strRet=pna.ask('syst:conf:edev:cat?')
print 'Ext devices:\t', strRet

# Check status of S_PSG
strRet=pna.ask('syst:conf:edev:state? \'S_PSG\'')
print 'S_PSG staus:\t', strRet

# Check IO status of S_PSG
strRet=pna.ask('syst:conf:edev:ioenable? \'S_PSG\'')
print 'S_PSG IOen:\t', strRet


# ------------------------------------------------------------------------------
# Configure a channel
# SETUP TRACES
# ------------------------------------------------------------------------------
pna.write('disp:wind1:state ON')
pna.write('calc1:par:def \'C1T1\',S11')
pna.write('disp:wind1:trac1:feed \'C1T1\'')
pna.write('sens1:freq:start 2e9')
pna.write('sens1:freq:stop 3e9')

# Range names:
pna.write('sens1:fom:state ON')
strRet=pna.ask('sens1:fom:cat?')
print 'FOM Catalog:\t', strRet
strRet=pna.ask('sens:fom:count?')
print '# FOM Ranges: ', strRet  

Outcomes