04-28-2013 06:48 AM
Hallo everyone
I am using labview 2011 with win XP to connect my device which have rs232 connector. I used rs232 to USB converter to read data using visa to the computer. The program is running for few minutes and then the blue screen appeared and windows restarted automatically. I have got these two attached dump files which are combined in .zip file.
By the way the device have an exe demo program when I used it the problem of blue screen did not happened.
I appreciate your support
greetings
04-28-2013 06:27 PM
Contact the device manufacturer and ask about any special requirements for their device. Not a NI problem.
04-29-2013 03:31 AM
Hi,
How old are the drivers? Is the device win XP compatible? I think the driver is incompatible and so the driver causes the blue screen.
One of the most annoying issues with Windows is when your hardware manufacturer fails to provide a proper driver for the operating system.
04-29-2013 03:36 AM
what do you mean by driver? the device have no driver I used the visa interface in labview to connct with it. And I think the rs232 to usb converter driver does not need update or??
So you think that the problem is from the manufacturer not from the labview VIs?
best regards
04-29-2013 03:45 AM
Hi,
I think so
I mean the driver for your usb to rs232 adapter. Which adapter are you using?
04-29-2013 09:08 AM
Hi,
Most virtual COM ports and many low cost USB-to-serial adapters do not fully comply with the serial specification and therefore do not support a lot of the functions that VISA uses, such as asynchronous I/O and flushing.
04-29-2013 09:26 AM
I installed a new driver for the rs232 converter and now it working longer than previous but also it freezing the windows.Could you help to find good drivers for the rs232 to usb converter?
04-29-2013 09:33 AM
If you make your own VISA calls (either through a VISA test panel in MAX or a development environment) and avoid any calls that aren't supported by the driver for your virtual COM port then it may work, but because each virtual COM port implements different functionality, they are not officially supported by MAX or VISA.
Another work around would be to try adding a token to the visaconf.ini file:
WriteTimeoutGranularity = 0 under section [ASRL-RSRC-ALIAS].
04-29-2013 09:39 AM
Which adapter are you using?
USB-to-serial adapters have their own drivers
04-30-2013 03:18 AM
where can I find this file? when I used the measurements and automation explorer the program did not understand this sentence.