LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1 from Generate User Event

Solved!
Go to solution

I have a master/slave tester VI to evaluate the operation of an Error Functional Global that should collect errors that are thrown in either loop.  I am getting Error 1: input parameters invalid from the Generate User Events VI in the Error FG and am not sure why.

 

I have attached my (LV 8.5) VIs and screen shots, because I think images would explain things better than words.  I have documented the code to indicate what should be happening and what is happening.  

 

Please let me know if more details are needed.  Thanks! Your help is appreciated!

 

~Kristen 

 

 

Download All
0 Kudos
Message 1 of 3
(5,414 Views)
Solution
Accepted by topic author BlknBlu

In the Initialize case of your Main VI, you go to initialize the the Error FGV subVI.  But you fail to give it the user event refnum to store in the shift register.

 

When you use that FGV later, it uses the empty refnum in the shift register and sends that to Generate User Event and it gives an error.

0 Kudos
Message 2 of 3
(5,398 Views)

Also, since it seems like you want to store the refnum in the shift register of the FGV, there is no reason to run the refnum wire to any other instances of the FGV other than the one where you do the initialization.  Any other command option besides Initialize for the FGV doesn't use the refnum that is wired into the connector panel anyway.

0 Kudos
Message 3 of 3
(5,396 Views)