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

Report Error Visa

Hi guys. I noticed that if in the visa resource name I set a different IP or a COM on which nothing is connected, the output is always ok. the question is how can I handle an error like this?For example an user that set a different Ip or a usb or anything on which there isn't any instrument connected?

Thank you

0 项奖励
1 条消息(共 20 条)
3,405 次查看

What device are you connecting to?  What kinds of commands do you send to it and what responses do you expect.

 

You should catch the error whenever you send a command and don't get the appropriate response back.

 

Opening a VISA port doesn't take any action as to figuring out what if anything is connected to the port.  It is just establishing a connection between LabVIEW and the physical port within the PC.

0 项奖励
2 条消息(共 20 条)
3,395 次查看

Impossible. When you connect different com port which is not at all present then either you wont be able to read or write. May be some problem with VI itself

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 项奖励
3 条消息(共 20 条)
3,370 次查看

Upload the VI

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 项奖励
4 条消息(共 20 条)
3,369 次查看

hi guys.

attached there is the VI.

The comunication is opened in the "RTS" case structure.

下载全部
0 项奖励
5 条消息(共 20 条)
3,363 次查看

in 2011 please

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 项奖励
6 条消息(共 20 条)
3,348 次查看

I have the student versione. could you tell me how to convert it into the 2011?

thank you

0 项奖励
7 条消息(共 20 条)
3,346 次查看

done 🙂

下载全部
0 项奖励
8 条消息(共 20 条)
3,343 次查看

Initialization of VISA needs to be done outside

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
9 条消息(共 20 条)
3,342 次查看

crap I didn't see it. thank you

0 项奖励
10 条消息(共 20 条)
3,338 次查看