Hello,
Here I have a quite complex problem:
I am using a N1912A (peak power meter from
Agilent) and the function
"
IviPwrMeter Read.vi" (or "agn191xa Read.vi") returns a time out error when the power meter is LAN or
USB
connected.
The read function works when using a
GPIB connection, but I don't want to use this kind of connection.
I already contact NI support about this and we found the following
solution : use the low level functions (initiate and fetch). By using this
functions I can read the N1912A value (see VI attached
Pwr Measure.vi).
Still I have a problem : when I use the low level functions, the
N11912A displays a -213 error. And I did not have this error when I use
the "
IviPwrMeter Read.vi" function (with a
GPIB connection of course). To be accurate, the error occurs when I call the "
IviPwrMeter initiate.vi".
So here are my questions:
For NI :
- Did you plane an action to fix the read function bug ? The NI French support told me that NI did not achieved to borrow a N1912A ..
For the whole planet:
- Have you got any clue to fix my problem ? i.e. to not have the -213 error display on the N1912A when I call the
"IviPwrMeter initiate.vi"
Thank you very much for your help,
Chris
Extra
informations :
- Driver reference : agn1912xa (Version 1.0)
http://sine.
ni.com/apps/utf8/
niid_web_display.download_page?p_id_
guid=450A53F8FF014B0DE0440003BA7CCD71
- I am using the
IVI functions
- I know that error –213, “INIT ignored” occurs If the power meter is
not in the idle state or
INITiate:
CONTinuous is ON. I tried to change
this and no effect...
Anyway : When I power on the N1212A and call the "
IviPwr read.vi" (with a
GPIB connection) I have no error
When I power on the N1212A and call "
Pwr Measure.vi" (file attached) I have the -213 error
- I check the C code of the "agn191xa Read.vi" and I did not found more than initiate and fetch