LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 488 GPIB error

Solved!
Go to solution
Whenever I am trying to close my VI using the stop button I am getting a GPIB error " NI 488 GPIB controller has to be the controller in charge. Can anyone help me with this?
0 Kudos
Message 1 of 5
(3,294 Views)
Solution
Accepted by topic author NitzZ

Hi Nitzy,

 

you're getting error number 1, which gives 2 possible explanations!

Maybe an input parameter is wrong (the first reason for error 1)? Don't you check errors in your vi? How do you stop the vi?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(3,281 Views)

Thanks for you response GerdW... I am using LV8.0.. In my VI I am using a main while loop, n when m trying to stop the while loop pressing the stop button connected to its conditional terminal, I am getting the GPIB error in "closefile.vi" ni488 : invalid input parameter, GPIB controller has to be the controller in charge ". I have checked all the input parameters but nothing has been done wrong to the best of my knowledge. and sorry that i Tagged my query into yours.. I couldnt find the reply button...:)

 

Regards,

Nitzy

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

Please stop calling it a GPIB error. There are two distinct possibilites and it is obviously a LabVIEW error.

 

The full text for the error is "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 @." Maybe you have an invalid reference to a file when you stop the program.

 

You should at the very least, post an image of your block diagram. The actual VI would be better.

 

You'll also want to click on the Options to button to change the 'Solved' response you made.

Message 4 of 5
(3,256 Views)

Sorry for the inconvenience GerdW, Actually i figured out what was  wrong when you told me that it is the problem with an input parameter.. I was getting the error because i was using multiple closefile.vi in the same vi with diffrent path.. when i removed one closefile.vi, the error message was gone.. Thanks for your help GerdW..

 

Regards,

Nitzy

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