02-28-2006 07:38 AM
02-28-2006 10:00 PM
03-01-2006
12:18 PM
- last edited on
02-24-2025
10:52 AM
by
Content Cleaner
There are a lot of USB to serial adapters out there that don't conform to the full built-in serial port spec. It looks like this might be one of them. NI-VISA is extremely careful (it checks for errors on every call) and robust in its serial calls. It is probably making a serial function call that is not supported by your device. If this is the case, then VISA is simply not going to work with your adapter since the problem is appearing on the find resource call.
My recommendation would be to purchase a more robust adapter, such as our NI USB-232. Digi and Keithley also make quality, industrial adapters rather than toys. My fear would be that this problem with the driver is an indication of other problems you may run into in the future.
If you want to stick with your current adapter then your best bet would be to use the generic RS-232 Library in CVI instead of VISA. You can then choose what calls you want to make and opt to not do any error checking. You should be able to emulate HyperTerminal in this manner.
Hope this helps,
03-01-2006 12:36 PM
03-01-2006 12:49 PM