06-27-2022 04:17 AM
Dear NI Community,
My name is Sophat Houn, a master student in Photonics and Applications Lab. in Royal University of Phnom Penh, Cambodia. I encountered the problem that "
Error opening resource:
ASRL10::INSTR
VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system." when I am trying to open the VISA Test Panel in NI MAX 14.0. I used LabVIEW 2009 SP1 in window 8.1 Single language. If I can not configure this port, I could not control between LabVIEW and the stepping motor controller Model D120 SURUGA SEIKI because this controller used RS232 port and I used the NI USB-232 connector with serial number: FF7BB1 to plug in my computer.
I really need your solutions and advices because my work depend on this!!!🙏
I absolutely welcome every solution and advice from the Community. I will put the pictures below to make more understanding about my problem.
Solved! Go to Solution.
06-27-2022 04:38 AM
First, keep calm 😉. It's not that serious. First, ASRL10::INSTR is not a serial port and you should not bother about it (it's the old fashion parallel printer port).
From your picture, it seems that your real interface is the USB serial port, which has COM3 as an alias. Since there is another COM3-like device, I would make an effort to configure the USB RS232 with another COM port number (e.g. COM5), to avoid conflicts. This is probably to be done with Window's Device Manager.
06-27-2022 11:57 PM
Dear really thank for your solution,
I already change my RS232 UBS serial port to COM5 on Device Manager as you recommended.
As shown as in the picture, and immediately it appear the another port name ASRL5::INSTR "COM5" also. So I click on that port and go to VISA test panel and it appear as shown in the picture below
But in my scanning program, I choose the COM5 port as shown
But when I run this program, it still appears as an error as shown in picture.
So how could I solve this problem? Thank you in advance!!!🙏
Best regard,
Sophat Houn
06-28-2022 01:35 AM
Hi Sophat,
@Sophat26 wrote:
But when I run this program, it still appears as an error as shown in picture.
You cannot use the same serial port twice in parallel.
Close the other program which accesses that COM port…
06-28-2022 10:37 PM
Excuse me, could you give me more solutions or more elaborations on the advice that you stated above because it really hard for me to figure out?
I'm looking for your good advices on this!!!!
Best regard!!!,
Sophat
06-28-2022 10:47 PM
Dear Community,
I meet the problem as shown in the picture.
How could I solve it?
I'm looking for any solutions for this !!!🙏
Best regard!
Sophat
06-29-2022 12:46 AM
Hi Sophat,
@Sophat26 wrote:
Excuse me, could you give me more solutions or more elaborations on the advice that you stated above because it really hard for me to figure out?
No need to start new threads for the very same topic, please keep things in one place…
When the VISA resource is valid, but not accessible, then another tools/process is occupying that VISA resource.
You need to close/end that other tool so it frees the VISA resource, then you should be able to access it from LabVIEW (or MAX)…
06-29-2022 11:06 PM
Dear GerdW,
My problem have been solved now, so thank you so much for your really good advice to me. 🙏
Best regard,
Sophat Houn