LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setup USB communication in LabVIEW

Hello all,

I am trying to communicate with third party device(Printer) via USB. Before communicate I following instructions from NI.COM

to setup NI-VISA USB driver installation .

1) Need to create INF file.

2) Need to generate .cat file

3) Need to sign in using personal certificate or CA certificate.

I created INF file & its saved in a C:\Users\KD_PUNE_LAB\Documents\National Instruments\NI-VISA\Zeebra-GT800 using NI-visa driver wizard in INF file has catlog file name called "Zeebra-GT800.cat" but I am facing problem on generate .cat file

 

To generate .cat file I used below command

(Inf2Cat /driver:C:\Users\KD_PUNE_LAB\Documents\National Instruments\NI-VISA\Zeebra-GT800 /os:10_X64)

after executing above command I am getting error called

'Inf2Cat' is not recognized as an internal or external command,
operable program or batch file.

Please anyone help me to how to generate CatLog file and how to sign-in  INF file before install into machine.

0 Kudos
Message 1 of 3
(1,546 Views)

First thing, raw USB under VISA was a nice idea when it was introduced 20 years ago. Nowadays it is nothing more than an anecdote. All modern OSes in the last 10 years require drivers to be signed with a valid certificate. And that also applies for a INI only file driver like for VISA USB. Your INI file must be signed with a valid certificate, and they are not free, require some administration on you or your companies behalf. And they need to be regularly renewed, which costs again.

 

In Windows 7 one could disable the signing requirement for drivers. But that is a major security risk on normal work systems. Windows 10 basically made this impossible, unless you start up in safe mode.

 

Second, you seem to use a Zebra device. They do have various drivers for their devices, some with LabVIEW support. There are several ways to communicate with their printers.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 3
(1,524 Views)

What version of LabVIEW are you using?



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 3 of 3
(1,512 Views)