Author Topic: TekVisa vs NI Visa issues - need suggestions  (Read 876 times)

0 Members and 1 Guest are viewing this topic.

Offline rfdesTopic starter

  • Regular Contributor
  • *
  • Posts: 192
  • Country: us
TekVisa vs NI Visa issues - need suggestions
« on: December 27, 2022, 01:44:31 pm »


Hopefully someone can give advice as to a solution to my problem.

I use a Win 10 laptop as an interface to control my tektronix logic analyzer using Ethernet for connectivity.  The tektronix analyzer uses ver 5.8.151 of their application software and works fine.  I also want to use python, along with pyVisa in order to control some additional instrumentation using a NI USB GPIB controller.

My issue is that the Tek analyzer software uses their implementation of VISA (TekVisa).  However, pyVisa doesn't work properly with TekVisa (at the least the version that is used with the analyzer application).  If I install NI Visa, pyVisa works just fine but the Tek analyzer application is not happy.

If it is possible to install both VISA implementations simultaneously I cannot find how to to do it.  The only other thing I haven't tried and really don't want to is to run one or the other on a virtual machine.  I guess the VISA architecture confuses me as I thought that the standard would allow compatibility but that isn't true in my situation.

Any suggestions would be appreciated.
Thank you.
 

Offline joeqsmith

  • Super Contributor
  • ***
  • Posts: 11977
  • Country: us
Re: TekVisa vs NI Visa issues - need suggestions
« Reply #1 on: December 27, 2022, 02:44:55 pm »
Doubt I can be of much help.  I used a TekVISA to control one of their Arbs using Ethernet.   It was actually slower than using the instrument's GPIB interface.    I never used it with Windows 10 but did have NIVISA installed with it.    I've not used pyVisa but if you have an example that can be used to replicate what you are seeing,  I can maybe try it out.  Stay with common hardware.  Maybe use the pyVisa to talk with a serial port.   

Offline walter.aranda

  • Contributor
  • Posts: 36
  • Country: br
Re: TekVisa vs NI Visa issues - need suggestions
« Reply #2 on: July 12, 2024, 03:03:34 pm »
Hello, I am experiencing the same problem. I saw here that it might be a compatibility issue since you might be running Python in its 64-bit version, which can be verified with:

python -c "import struct; print(struct.calcsize('P') * 8)"

And that you might be running VISA in 32-bit.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf