Discussions au sujet des autres produits NI

annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

N1912A - Read function and LAN connection

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

0 Compliments
Message 1 sur 18
4 832 Visites
Hello,
Did you try to contact agilent support team ? Maybe it could be helpfull
Best regards,
Pierre R...

Certified LabVIEW Developer
0 Compliments
Message 2 sur 18
4 828 Visites
Not yet, it is on my to do list for this afternoon !

Thank you,
Christophe
0 Compliments
Message 3 sur 18
4 824 Visites

Hello Christophe.

Are there some news from agilent? Could you share them please?

Thanks. Regards.  

Romain D.
National Instruments France

0 Compliments
Message 4 sur 18
4 784 Visites
No feedback yet... I hope some news in the beginning of the week.
For sure I will let you know.

On your side, something new in NI ?

Regards,
Chris
0 Compliments
Message 5 sur 18
4 780 Visites
Hello,
 
Can you try setting the two channel's trigger delay mode to off (agn191xa_ConfigureTriggerDelay).
This might be a firmware bug we will try to communicate this to Agilent to confirm.
0 Compliments
Message 6 sur 18
4 770 Visites
Hello,

Thank you for your input - unfortunately, setting the 2 channel's trigger delay mode to off does not solve the problem..

I have a contact with agilent support this morning, I just explained the whole situation and sent some NI Spy Log.

I hope we will soon find a solution...

Regards,
Christophe
0 Compliments
Message 7 sur 18
4 738 Visites

Hello,

Can you please attach the NI-Spy log to this post? 

0 Compliments
Message 8 sur 18
4 709 Visites
Attached, you will find NI Spy log and linked VI.

For each test : I run NI Spy, I power on the N1912A and run the VI.
The log has the same name than the VI - I performed the test for a LAN connection and a GPIB connection.

So, we have a timeout error for "LAN Connection" "SimpleRead.vi". With the other VI, I can get the N1912A value.

Notice that when I use the LowLevelRead.vi, I get the N1912A value but the N1912A displays a -213 Error. And I do not have this error with the SimpleRead.vi (with GPIB connection of course).


About versions :
LabVIEW Version : 8.5.1
N1212A Firmware Revision : A2.04.01
Instrument driver revision : Driver: agn191xa 1.0, Compiler: CVI 8.51, Components: IVIEngine 3.00, VISA-Spec 4.00
0 Compliments
Message 9 sur 18
4 705 Visites
By the way, I started this post into the french forum - Mea Culpa.

Do you know how to cleanly transfer this post into the main LabVIEW forum ?
0 Compliments
Message 10 sur 18
4 700 Visites