05-07-2008 05:09 AM
05-07-2008 05:22 AM
05-07-2008 08:59 AM
I don't know what REALTERMINAL is but if it is similar to Hyperterminal and the USB ports show up in device manager as com ports, then you can use VISA. Look at the shipping examples for serial communication.
If your USB ports are not emulating a serial port, then you can create your own VISA driver. See http://zone.ni.com/devzone/cda/tut/p/id/4478 for a starting point.
05-07-2008 09:09 AM - edited 05-07-2008 09:10 AM
????
@Mathan wrote:
use devmgr.dll


05-07-2008 09:15 AM
That link helps in how to use devmgr.dll to list the USB devices attached to pc.
That's all.
That's a small starting point.
[Note: I like people pinpointing my mistakes.]
Thanks,
Mathan
05-07-2008 12:16 PM
05-07-2008 12:49 PM
05-07-2008 01:15 PM
05-07-2008 02:10 PM
05-07-2008 02:26 PM
Well, emulating an RS-232 port is a valid USB connection as far as I am concerned. I think all you would be giving up is some data transfer speed.At 40Hz, you don't need USB 2.0 speed.
If you are creating a commercial product, then you will need a vendor id. For a one-off and something used internally, you might be able to just make one up. When you eliminate the RS-232 emulation, you then have a couple of options. You can use the driver wizard and use the VISA USB RAW or you can create a driver in C/C++. There is a lot of help in other forums for creating C based drivers. I'm guessing that the vast majority of USB devices ship with this type of driver and not a VISA based one.