02-24-2004 03:29 AM
02-24-2004 11:05 AM
02-24-2004 04:16 PM
03-12-2004 01:52 AM
01-10-2024 10:06 AM
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?
01-10-2024 10:15 AM
01-11-2024 02:23 AM
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
01-12-2024 09:05 AM
01-12-2024 09:15 AM - edited 01-12-2024 09:16 AM
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
01-12-2024 03:01 PM
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