06-14-2024 09:17 AM
I am using a VISA READ function to get measurements out of a DMM.
Every time i run the program i get a different number. Everything works perfect up to that point.
now i have a subVi to be able to store the data one after the other everytime i take a measurement so that i can ultimately insert it into excel.
it is not working as i intend, what am i doing wrong?
Solved! Go to Solution.
06-14-2024 09:29 AM - edited 06-14-2024 09:32 AM
Don't wire the constant to the shift register left terminal, because this will empty the SR at each call.
Also, remark that "Read" is actually "Read and initialize". Consider a change to the operation name.
06-14-2024 09:44 AM
i removed it and still have the same issue.
And about the change to the operation name, what do you suggest?
06-14-2024 09:58 AM - edited 06-14-2024 09:59 AM
06-14-2024 10:00 AM
First: wire a true constant to the While Loop stop terminal. Any operation must only be done once.
Second: connect the right terminal to your output (now it's the emptied shift register).