Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using USB without VISA

Does anyone know how to communicate directly with a USB port without using VISA?  I'm trying to talk to a printer and get it to meter out a specific amount of ink (crazy chemist -- don't ask) and it doesn't seem like there is anything in VISA to let us do that.

 

Further, I don't believe that this printer supports the VISA API, but we do know the printer command sequences.  It seems as though we should be able to send commands directly to the port, but we don't know how to do that in LabView.  Any suggestions would be greatly appreciated.

 

Thanks,

jlbibc 

0 Kudos
Message 1 of 3
(4,508 Views)

If the printer command sequence can be realized only by one Bulk-OUT EP, one Bulk-IN EP, and some vendor requests (Control EP), NI-VISA and its USB driver may host the printer.  In this case, you can access the printer through Visa Write, Visa Read, and Visa USB Control Out/In functions, with a VISA USB-RAW session. To host the printer by NI-VISA, you need generate an .INF file that shall be used for USB driver installation.  The hint will be found at the site below:

  

http://zone.ni.com/devzone/cda/tut/p/id/4478

 

makoto

0 Kudos
Message 2 of 3
(4,502 Views)

VISA is only the driver level.  It allows basic communicationw ith a device, it has nothing to do with the ACTUAL commands you might need.  You need to implement this part yourself.

 

VISA gives you the pen and paper, you have to write the novel yourself by implementing the specific commands using VISA.

 

Look over my nuggets HERE and HERE.

 

Shane.

0 Kudos
Message 3 of 3
(4,456 Views)