NI Home > Community > NI Discussion Forums

SignalExpress

Showing results for 
Search instead for 
Do you mean 
Reply
Member
ingtony111
Posts: 7
0 Kudos

Error with Agilent 33120A

Hi all,

I am trying to use an Agilent 33120A in order to generate signals using LabVIEW Signal Express 2010.  I downloaded the required IVI drivers from the NI website.  However, when I try to run a simple step in LabVIEW Signal Express, I get the following error:

 

ivi_IviFgen Initialize With Options.vi<ERR>
Primary Error: (Hex 0xBFFA000F) Invalid parameter.

 

I cannot figure out where this error is coming from.  I notice that when I configure the IVI session name in the Configuration window, the resource descriptor and instrument driver fields are blank when I choose my hp33120a driver.  Any ideas on what may be the problem?  I am a a new user to LabVIEW so please pardon any ignorance on my part.  Thanks in advance for any suggestions.

 

-Tony

Member
Christopher_T.
Posts: 163
0 Kudos

Re: Error with Agilent 33120A

[ Edited ]

Hi ingtony111,

 

Does your device show up in Measurement and Automation Explorer? Be sure that you can see it under the GPIB interface (scan for instruments) or if it is a Serial device that the correct COM port is selected.

Chris T.
Applications Engineer
National Instruments
Member
ingtony111
Posts: 7
0 Kudos

Re: Error with Agilent 33120A

Hi Chris,

Thanks for your reply.  I checked in MAX and it is indeed recognizing my insturment (Agilent 33120A).  I still cannot figure out why it is not working.  THanks.

 

-Tony

Member
Christopher_T.
Posts: 163
0 Kudos

Re: Error with Agilent 33120A

Hi ingtony111,

 

Can you post a screenshot of your Step's configuration?

 

Thanks!

 

 

Chris T.
Applications Engineer
National Instruments
Member
ingtony111
Posts: 7
0 Kudos

Re: Error with Agilent 33120A

Thanks Chris.  Here is a screenshot of the configuration per your request.  The first scren capture shows me creating a new IVI session for the 33120A.  THe second one shows the configuration step with the error.  As you can see the resource descriptor and instrument address fields appear empty even though I chose the proper address and instrument.  Any thoughts on what the problem may be?  Thanks.

 

Agilent33120_config1.jpg

 

 

 

Agilent33120_config2.jpg

Member
Christopher_T.
Posts: 163
0 Kudos

Re: Error with Agilent 33120A

Hi ingtony111,

 

Could you send us your project and send any screenshots of the configuration in MAX (if you are doing any)?

 

Thanks!

Chris T.
Applications Engineer
National Instruments
Member
cymrieg
Posts: 156
0 Kudos

Re: Error with Agilent 33120A

I have the same issue with a Tek (tkafg3K) and a Keithley (3390) FGen. I can successfully call the IVI drivers for a Tek scope and a Keithley Dmm but the step for calling IVI Fgen is not working correctly.

I have a session and a logical name configured in MAX and they both show up in the IVI Session Name drop down. Running NI Spy I can see that the fgen_init_with_options function is getting passed a blank resource name. It is correctly configured in MAX.

I ran a CVI FGen example that calls the FGen class driver with the same logical name and it works just fine.

Another thing I notice is that with the Dmm and Scope when I select the IVI session name SE goes out and queries the driver and instrument. With the FGen it does not make any calls to Visa when I select the session names. I have to select run for the calls to the fgen init function and that is when I notice the resource string is blank.

 

Member
Christopher_T.
Posts: 163
0 Kudos

Re: Error with Agilent 33120A

Hi cymrieg,

 

This issue is occurring on SignalExpress? Which version?

 

Thanks!

Chris T.
Applications Engineer
National Instruments
Member
cymrieg
Posts: 156
0 Kudos

Re: Error with Agilent 33120A

Version 2010 with Tek also installed

Member
Christopher_T.
Posts: 163
0 Kudos

Re: Error with Agilent 33120A

Hi cymrieg,

 

This was reported to R&D (#277537) for further investigation.

 

Thanks for the feedback!

Chris T.
Applications Engineer
National Instruments