Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Enumeration items must be Unique error (Using SCPI)

Hello,

 

I'm controlling the Agilent N9010a Spectrum Analyzer with Labview. In my program I need to select the VSA89601 mode but I couldn't find a block in the Agilent drivers for that purpose so I'm trying to do it with a SCPI block. With this SCPI block I can choose every mode available in the spectrum analyzer after creating a Constant. When I try to execute the program I get this error: " Enum constant 'Application Mode Selection': Enumeration items must be unique."

 

I'll appreciate some help with this error. If anyone knows where to find a Mode Select block in the Agilent drivers tell me please.

 

Thanks!

Download All
0 Kudos
Message 1 of 2
(3,418 Views)

Please attach your actual code.  But what this error means is that you have multiple items in your enum that have the same string.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(3,407 Views)