ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

取消
显示结果 
搜索替代 
您的意思是: 

NI 488 GPIB error

已解决!
转到解答
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 项奖励
1 条消息(共 5 条)
3,620 次查看
解答
接受人 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
2 条消息(共 5 条)
3,607 次查看

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 项奖励
3 条消息(共 5 条)
3,591 次查看

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.

4 条消息(共 5 条)
3,582 次查看

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 项奖励
5 条消息(共 5 条)
3,562 次查看