Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR -107 400 1665

I have this failure message on my Instumentaion HP 4194A: ERROR -107 400
1665
occured at HP 4198 A Error Query instrumentaion reports 8.52319E+01
Possible
reasons: instrument specific error occured. Possible reasons Instrument
specific error occured. I have no idea to solve this problem! Thanks for
helping me!

Tim Bohlmann
0 Kudos
Message 1 of 15
(4,301 Views)
Hi Tim,

You need to find out which VI returns the error. You can turn on the highlight execution or you can use breakpoints and/or probes in LabVIEW. Also, you should be able to find out which instrument specific error is being returned by running the Error Query VI.

Have you tried running the Getting Started VI with the default values?

Regards,
Vesna
0 Kudos
Message 2 of 15
(4,301 Views)
Hello Tim �

Can you please specify when or where you see the error? Does it occur when running a LabVIEW or LabWindows/CVI program? Can you communicate with the instrument error free in Measurement and Automation Explorer (MAX)? Visit the GPIB Installation/Configuration Troubleshooter for instructions on how to interactively control your device in MAX.

Have a great day!

Becky B.
Applications Engineer
National Instruments
Becky Linton
National Instruments
Field Engineer
Office: 734-464-2463
Cell: 248-709-2822
Email: becky.linton@ni.com
0 Kudos
Message 3 of 15
(4,301 Views)
Thanks for your help! I tried to run the Error Query and the Getting Started VI but I got always the same message. I don´t know why but the error is now gone. I can now communicate with the instrumentation.

Regards,
tim
0 Kudos
Message 4 of 15
(4,301 Views)

Hello,

 

I am having the same problem with my program for the HP4194 Impedance analyzer. The issue is For loop. I need it to read data from instrument registers and the program executes very well but at the end, it generates the same error because of the for loop.

 

Could you please help me to solve this issue? 

0 Kudos
Message 5 of 15
(496 Views)

Hello

Can you upload your vi, so I can have a look at it?

 

And you can better open a new post instead of answering at such an old post.

greetings from the Netherlands
0 Kudos
Message 6 of 15
(493 Views)

Hello Albert,

 

Thank you very much for your response.

 

Please find my VI code in the attachment. The problem I am facing it happens at the for loop section.

 

And thank you for the advice. I will create a new form next time.

 

Thank you,

Best Regards,

Harpreet

0 Kudos
Message 7 of 15
(442 Views)

Hi

Thanks for sending the vi.

But you forgot two subvi's and a lot of typedefs.

The typedefs are no problem, I can disconnect and continue, but I'm for sure interested in the two subvi's because they both influence the for loop.

 

Screenshot 2024-01-12 160015.png

greetings from the Netherlands
0 Kudos
Message 8 of 15
(428 Views)

Hello Albert,

 

Thank you very much for looking at my code.

 

I am sorry for this trouble. Attached please find missing SubVi's.

 

Thank you,

Best Regards,

Harpreet

Download All
0 Kudos
Message 9 of 15
(426 Views)

Hi

In your lowest level vi in the for loop you had two different ways of reading the data values.

And you don't need the number of measurements, just extract values until no values are left.

By the way you have to check of the now lowest level is correct and does not miss the last value!

 

I also think that the for loop is wrong in that only the last value of the number of values is kept.

You also need index in some way or is it just one that you ask for?

 

Have a look and let me know what you think

greetings from the Netherlands
0 Kudos
Message 10 of 15
(406 Views)