NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
BioEngkar
Posts: 7
0 Kudos

VISA with usb device problem

I try to connect a usb device to lavview through the VISA tools, the device generate data in th form below, when I try the connection I got "time out expired" I tried to increas the time but it did not work. Any suggestions?

I attached the VI also

10:40:42,0:00:01,-0.87,0.000000,0.000000,0,00100000,
Knight of NI
Dennis_Knutson
Posts: 29,306
0 Kudos

Re: VISA with usb device problem

Have you tested it with a terminal emulation program such as Hyperterminal/Procomm/etc.? Are you sure you do not have to send a command to the instrument to initiate a measurement?

 

Why haven't you provided the make and model of the instrument? That's pretty important information. Can you provide the programming manual or a link to it?

Member
BioEngkar
Posts: 7
0 Kudos

Re: VISA with USB device problem

The device has its own software for getting data, but I need to connect it to Labview because I have more than one device and I want to make them all in Labview.

I tried hyperterminal but nothing appeared. I do not think there are some initialization for the device.

I attached the manual here.

Knight of NI
Dennis_Knutson
Posts: 29,306
0 Kudos

Re: VISA with USB device problem

I'm not sure why you attached that document. Itr does not contain anything on the details of the serial communication protocol. Without that, you would have to use a serial port sniffer such as portmon and use the vendor's software to attempt to capture the actual details.

Active Participant
Makoto
Posts: 524
0 Kudos

Re: VISA with usb device problem

How you should program differs depending on the protocol that the device is using.

 

Virtual COMM port ?

USBTMC ?

any custom protocol?

 

Makoto

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page