02-20-2014 10:35 PM - edited 02-20-2014 10:37 PM
Thank you to everyone for the suggestions. I am starting to understand user events now. I have implemented user create event in the main VI and a generate event in the subVI as per the suggestions here. At the moment I am getting the following error and can't understand why:
Error 1 occurred at Generate User Event in control_v4_ML.vi->mainmenu_v3_ML.vi
Possible reason(s):
LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @. ========================= NI-488: Command requires GPIB Controller to be Controller-In-Charge
I have attached a few photos of my code. The 'create event.png' is the main VI and the 'generate event and error.png' is the subVI. The 'user event out' in the subVI is the event refnum from the 'create event' function output.
02-21-2014 01:13 AM
@DarkMarc86 wrote:
Thank you to everyone for the suggestions. I am starting to understand user events now. I have implemented user create event in the main VI and a generate event in the subVI as per the suggestions here. At the moment I am getting the following error and can't understand why:
Error 1 occurred at Generate User Event in control_v4_ML.vi->mainmenu_v3_ML.vi
Possible reason(s):
@Labview: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @. ========================= NI-488: Command requires GPIB Controller to be Controller-In-Charge
I have attached a few photos of my code. The 'create event.png' is the main VI and the 'generate event and error.png' is the subVI. The 'user event out' in the subVI is the event refnum from the 'create event' function output.
Time for my favorite saying:
A picture is worth a thousand words, but a VI is worth a thousand pictures. If you can show us your VI, we can definitely tell you what's going on. As it is, it seems you have something hooked up incorrectly.