Hello people I am trying to control a pololu Tic T825 stepper motor controller using labview 2019 SP1 64 bit. I am using windows 10 Enterprise 64 bit.
The controller is visible on the device manager and can be controlled successfully using the following drivers: https://www.pololu.com/docs/0J71/3.1
The company say that they don't have any labview drivers and so I assumed that I need to generate my own using
The NI-Visa Driver wizard. (Is this the correct way to go?) I was able to successfully find the the relevant USB connection and was able to generate what I named Prefix.inf
I have been struggling to sign the catalog (.cat) file and perform the installation and I wonder if people can point out what I am doing wrong (assuming going to the NI-Visa Driver wizard was correct) I followed the instructions on: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YH1PCAW&l=sv-SE
Making a catalog file with:
Inf2Cat /driver:"C:\Users\ARTOF\Documents\National Instruments\NI-VISA\pololu\"/os:8_X64,8_X86,Server8_X64,Server2008R2_X64,7_X64,7_X86,Server2008_X64,Server2008_X86,Vista_X64,Vista_X86,Server2003_X64,Server2003_X86,XP_X64,XP_X86,2000
I made the cert: (without a password)
makecert -r -pe -n "CN=RobertS" -eku 220.127.116.11.18.104.22.168.1 -sky exchange -sv RobertS.pvk RobertS.cer
I converted the files to .pfx
pvk2pfx -pvk RobertS.pvk -spc RobertS.cer -pfx RobertS.pfx
I than installed both the .cer and the .pfx files into the Trusted Root Certification Authorities
finally I tried to sign
signing the file: SignTool sign /f "C:\Users\ARTOF\Documents\National Instruments\NI-VISA\pololu\RobertS.pfx" "C:\Users\ARTOF\Documents\National Instruments\NI-VISA\pololu\prefix.cat"
I get an error saying: SignTool Error: No certificates were found that met all the given criteria.
from googling this error suggests that my certificates are not valid or something but they are in the Trusted Root Certification Authorities folder. Also I of course can't install the .inf file until this is resolved.
I have attached all the relevant files if this is useful.
I would appreciate any ideas or feedback on how to resolve this.
Thank you in advance
I see this has scared away a lot of people away. I found a way round this problem by disabling the driver writer check on windows 10. Documentation on how to do this can be found here:
I got it to work with the first option. I then needed to pick the .inf file from the device manager by right clicking on the original USB driver and selecting the .inf file.
So happy days, NI visa now displace a raw USB socket as shown in the attached NI_Max.png. The question now is how does one communicate with this. If I open labview, NI-visa does not see this (Only the COM ports appear if I create a constant VISA reference when opening VISA).
NI has some detailed documentation on using piping of a USB raw socket :
But I am not really sure how to figure out what to use. Pololu, have some help pages on communication through USB but they at least don't use the same language that is used in the NI article.
Could somebody point me in the right direction (maybe first) to how one configures NI-VISA in NI-Max to send the listed commands and make the device respond? I would also greatly appreciate some ideas on how to then use that automation in LabVIEW for an interactive program.
Thanks in advance