Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent 34970A configure scan list module is not taking scan list input.

When I try to configure the scan list using the NI driver for the Agilent 34970A, the scan list input causes the voltage measurement module to hang (problem with the scan list, maybe).  When I do not use the list, I cannot set the scan delay properly.  I can get scans running at the default 1 Hz, but not with a different setting.  I have tried sequencing the modules to force certain settings before others, but this does not seem to help/change the results.  Is there some trick to formatting this scan list (I did not see any material differences in the block diagrams) in comparison to the other modules (configure scan, voltage measurement, etc.)?  I noticed that I get different errors (261-not able to execute while scan initiated vs. 111-slot out of range and 113-empty scan list) for different ordering of the configure scan and configure scan list blocks.  That may help narrow down the possibilities.  Any insights would be greatly appreciated.  Thank you.
0 Kudos
Message 1 of 2
(5,700 Views)
Hey Bucky,
        Have you had a chance to run some of the Example VIs that come with the driver?  The Advanced Scan Example looks like it could serve as a great starting point for you.

The errors that you are getting are instrument specific and the full explanations can be found in the users manual for the instrument.  Here is the explanation for error261:

Not able to execute while scan initiated
While a scan is running, you cannot change any parameters that affect
the scan (channel configuration, scan interval, scaling values, alarm
limits, issue a Card Reset, or recall a stored state). To stop a scan in
progress, send the ABORt command or a bus Device Clear.

Here is the definition for error 111:
Channel list: slot number out of range
The specified slot number is invalid. The channel number has the
form (@scc), where s is the slot number (100, 200, or 300) and cc is the
channel number. Example: CONF:VOLT:DC (@404)

And for 113:
Channel list: empty scan list
Before you can initiate a scan, you must set up a scan list which includes
all configured multiplexer or digital channels in the instrument. Use the
MEASure?, CONFigure, or ROUTe:SCAN commands to set up your scan list.

Let us know how it goes,

NathanT
0 Kudos
Message 2 of 2
(5,675 Views)