03-27-2006 02:36 PM
03-28-2006 07:21 PM
Hi Kevin,
In general, NI-VISA supports serial ports, not Bluetooth ports. This does not mean it will not work, but sometimes you see unexpected or strange behavior since we have not tested many of these set ups. NI-VISA seems to be getting the list from the registry at:
HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM
If the laptop is throwing unexpected data into the folder, then it may be an issue with the laptop. If this folder looks okay (ie. if it does not have these extra resources listed), then it may be a VISA issue. What may be useful for us here is if you go to this key in your registry and Export that file to disk and post it here. I can then take a look at it and see if I can get anything from it. You can find it by going to Start>>Run and typing "regedit" and pressing enter. Make sure to not change anything in the registry. Browse to the address listed above, right click on it and select "Export". I have attached a screen shot below of what my 1 COM port system looks like? Also, do you see all these extra ports in Measurement and Automation Explorer (MAX) in the Devices and Interfaces folder? If so, you may be able to change the alias of each of these so that you do not get any duplicate entries. Please check these things and let me know what you find out.
03-29-2006 09:09 AM
03-30-2006 04:47 PM
Hi Kevin,
Unfortunately, our driver does not put those entries in that folder in the registry. All the VISA driver does is read that registry. I am not sure if the Bluetooth driver or your device is putting all those in there or not. I am also not sure why you are getting non-Bluetooth COM ports, unless you have other COM ports on your system. Is there an alternate Bluetooth driver you can use? Are you needing to use the Bluetooth COM ports or are you able to use the non-Bluetooth ones?
It sounds like something that the Bluetooth driver is doing since our drivers do not add COM ports to the registry. You may want to ask Toshiba or the makers of the Bluetooth drivers you are using to see if this is a common issue.
Chris R.
Applications Engineer
National Instruments
03-30-2006 04:59 PM
Chris,
If the VISA driver is reading the registry to provide its resource list, why don't I see this list as the output from the Find VISA Resources VI? COM1, COM4, and COM3 are the com ports I get when Bluetooth is not enabled. The complete list I get back from the VI is something like this when Bluetooth is disabled:
COM1 (Communications Port)
COM3
COM4 (Belkin USB-to-Serial)
When Bluetooth is enabled, I get something like this:
COM1 (Communications Port)
COM3
COM3
COM4 (Belkin USB-to-Serial)
COM4 (Belkin USB-to-Serial)
COM4 (Belkin USB-to-Serial)
03-30-2006 05:46 PM
Hi Kevin,
Where are these COM ports coming from? Are they built in COM port(s) or do you have a serial device adding COM ports to the system?
Chris R.
03-31-2006 07:40 AM
03-31-2006
01:05 PM
- last edited on
05-23-2025
09:47 AM
by
Content Cleaner
03-31-2006 01:57 PM
04-03-2006 07:15 PM
Hi Kevin,
You are correct, you only need to have the runtime engines for an executable. I had forgotten you were using an executable. What I do want to see if your visaconf.ini file. I still want you to install VISA, enable the Bluetooth feature on your laptop, and post your visaconf.ini file. This is located at C:\VXIPNP\WinNT\NIvisa. Also, if you have MAX installed, your ports section should show up with the full version of the VISA drivers installed. Please go into MAX and let me know what you see here. You should have some ports listed in the Ports section. Once I have this information, I will look further into the issue for you.
Chris R.