01-15-2009 03:11 AM
Hello,
I built a very simple program which transmits a string of characters via the serial port. The sequence is elementary...... 1) The port is configured, 2) The string is sent using the serial write function & 3) The port is closed.
However each time I try to run the program the following error message pops up:
Error -1073807246 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->string_test.vi
VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it
I tried each COM port that was available on the list of VISA Resource Name but I still got the same result.
This program had worked on another laptop. The laptop I am currently using does not have a physical RS232 port however it has USB ports which only one of them is used (connected to a mouse). INothing is connected to the other ports.
I have installed all the drivers necessary, both the NI-VISA and the NI-SERIAL.
Can somebody help me out please??
Thanks in advance.
Cheers,
Nicholas
01-15-2009 03:18 AM
01-15-2009 04:06 AM
I tried following the steps which the document suggested however there were no results.
Now I tried to troubleshoot the COM ports from my Control Panel >> System >> Hardware Devices environment.
It seems that all the ports are located to RFCOMM Bluetooth. I tried replacing the drivers with the NI-SERIAL drivers but it is not letting me do so.
I am really confused what to do.
Now I have this error message:
Error -1073807360 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->string_test.vi
Possible reason(s):
VISA: (Hex 0xBFFF0000) Unknown system error (miscellaneous error).
01-16-2009 02:02 AM
Can somebody assist me on this problem please????
Thanks
01-16-2009 02:38 AM
Hi Nicholas, there's something I don't understand. You say:
The laptop I am currently using does not have a physical RS232 port however it has USB ports which only one of them is used (connected to a mouse).
I guess you are plugging a USB to serial converter into a port. Which COM port did you assign to the converter? Is it the same of the ports you found assigned to Bluetooth?
01-16-2009 02:44 AM
The problem is that I was not connecting anything to the USB ports. Now I managed to borrow an FTDI chip (USB u serial converter) which accesses a new port COM3.
I will try to run the program using this resource.
I will let you know about the outcome.
Regards,
Nicholas
01-16-2009 02:52 AM
01-28-2009 04:36 AM
I've just fixed a similar problem on LV7.1.1 with virtual ports in an USB2RS232-adapter. A connected controllable powersource had blown the circuitry and such interrupted the PC. Afterwards I got this error message at each 2nd or higher call to Com3, the port of that power source. Turned out to be the virtual com port; I moved the USB connector of the USB2RS232-adapter to another USB connector. This created new virtual serial ports, which had to be reconfigured to the old settings, e.g. com3-com6. Afterwards it worked again...
Might help someone with similar problems 😉
Greetings from Germany!
--
Uwe
03-24-2022 09:17 AM
Please check enable console out is unchecked n NI MAX. If it is ticked it also causes some problem
03-26-2024 12:12 PM
Hi.
[Problem Solved]
I had this exact error and was stuck for several days trying to solve this issue. Turns out the issue is pretty simple. 2 programs is trying to retrieve data with my Arduino UNO which is why Labview error shows "... VISA cannot access it.". LabVIEW cannot communicate with my Arduino UNO because Arduino IDE is retrieving data throught its serial monitor.
Here is my setup:
Temperature and humidity monitoring system and LabView as GUI.
Hardware: DHT-22 (Temperature and Humidity Sensor), Arduino Uno
Software: LabVIEW 2024 Q1 (32-bit), Arduino IDE 2.3.2.0
Solution: Close the serial monitor of Arduino IDE or, close the Arduino IDE before running your LabVIEW project.
Hopefully someone might find this helpful and avoid the same mistake I made.
Thanks!