11-16-2012 07:49 PM
First of all how can I copy paste LabView code to the forum? Do I simply ctrl + c and paste in the "Insert code" section? If so, I tried doing that and it didn't work, could it be because I am using an evaluation version?
Getting to the main point, I am taking averaging measurements from a multimeter. With the while loop measurement in its own snippet of code, it works but when I try putting it together with my original code I get this error:
Reference Not Found: (xBFFC0012) Cannot retrieve user data for the given resource name as there was not data associated with the resource name. Before you can read data, you need to write the user data using the Write Data action of this User Data VI.
However, when I run it with "Highlight Execution" on, I don't get an error. Anyone know what might be the issue or how to resolve it?
Thanks,
William
Solved! Go to Solution.
11-16-2012 08:10 PM
11-19-2012 11:56 AM
How do I obtain the code from LabView?
The Find VISA Resources is used because there will be multiple instrument connected via GPIB. One might be a wireless test box, a power supply, or a multimeter. In this case the user will select the GPIB corresponding to a multimeter.
11-19-2012 12:32 PM
Opps
Wrong explaination for the "Find VISA Resource," it is used to get all the GPIB addresses connected to the computer then display the corresponding instrument name.
The user will be selecting from a box that lists the GPIB addresses, thus the user can easily pick the right GPIB address by looking at the table generated.
11-19-2012 02:05 PM
Hehe, now that I started working on it. I get the problem you were highlighting.
I changed my program by leaving the VISA Find Resource section as a stand alone section then made an event structure for the measurement part.