From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-01-2008 10:38 AM
05-05-2008 04:43 AM
05-27-2008 03:01 PM
Hi Dennis,
I have tried to update NI-VISA but it makes no difference. So the NI-VISA is now 4.3.
The system is: a laptop with Windows XP. Since the laptop has no serial ports, I use a USB-RS232 adapter. On the RS232 is a Siemens MC35i mobile modem terminal that I use for sending log data from the application to a server, which also has a Siemens MC35i.
I don't think another program is using the serial port - I can't identify any and nothing stops to work when I disable the port. I find it more likely, that there is an error in the driver software for the USB-RS232 adapter, since it could very well be that the driver software does not implement all the functionality in the way NI-VISA expects it.
Anyway, I can solve the problem manually by disabling the port (in the Windows Control Panel) and then enabling it again - this has never failed. So, if it is possible to do this programmatically, everything would be OK ! Do you know of a way to do this ?
05-27-2008 03:26 PM
05-27-2008 03:47 PM
Thanks a lot, I just checked the services, but I don't think any of them use the serial port.
I can add that I am actually NOT using any Siemens software, since I control the modem on AT command level directly from Labview.
05-27-2008 04:09 PM
05-27-2008 05:08 PM
05-28-2008 01:01 AM - edited 05-28-2008 01:02 AM
Try another USB-RS-232 adapter from a different make/model. Some behave in some strange ways sometimes and can cause problems like these.
@Jan Nielsen wrote:
Hi Dennis,
I have tried to update NI-VISA but it makes no difference. So the NI-VISA is now 4.3.
The system is: a laptop with Windows XP. Since the laptop has no serial ports, I use a USB-RS232 adapter. On the RS232 is a Siemens MC35i mobile modem terminal that I use for sending log data from the application to a server, which also has a Siemens MC35i.
I don't think another program is using the serial port - I can't identify any and nothing stops to work when I disable the port. I find it more likely, that there is an error in the driver software for the USB-RS232 adapter, since it could very well be that the driver software does not implement all the functionality in the way NI-VISA expects it.
Anyway, I can solve the problem manually by disabling the port (in the Windows Control Panel) and then enabling it again - this has never failed. So, if it is possible to do this programmatically, everything would be OK ! Do you know of a way to do this ?
10-12-2018 03:52 AM
I also have a problems with releasing serial COM (USB) ports at my PC station.
The trick is:
How to release/close COM ports without closing LV? Example: I open device connection at COM14. If error accurs before I close COM14 I have to close LV to be able connect to device at this port again.
How can I close it without closing LC?
10-12-2018 04:16 AM
Run VISA Close on that resource name. Simply because you have an error does not mean that you are not allowed to close that resource anymore.