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.
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.
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.
Can you post a screenshot of your Step's configuration?
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.
Could you send us your project and send any screenshots of the configuration in MAX (if you are doing any)?
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.
This issue is occurring on SignalExpress? Which version?
This was reported to R&D (#277537) for further investigation.
Thanks for the feedback!