11-14-2024 04:19 PM
Hello ni community,
I am kinda new to Labview. Currently, facing trouble with setting up a Kiethly source meter to get the IV data of my tunnel diodes. Whenever, I try to run the Keithly VI, it give me an error, "Error -1073807343". Which at first instant I thought it may have to do with the compatibility of my MacOS with Laview version. As my macOS version is 14.7 and Labview version is 2020. I found later by visiting the ni compatibility chart of Labview with macOS that they are not compatible. Which may or may not be the reason for its working. As things stand, I downloaded the Labview 2023 community version with patch and my ni VISA drivers and ni-488 are compatible with this version as per ni chart. So, even with my VI did't run, give me the same error. And I have look up on the internet, there were some suggestions related to this error but didn't help me much.
For reference, I have attached the screenshot. I think, for being beginner level I might be missing something to make it run. Please let me know, if I have't clearly state my problem. Thanks.
11-15-2024 03:06 AM
Did you check on the device itself that its GPIB primary address is set to 19? It’s kind of a strange value for a default value and even if they are shipped with that address by default, a previous user of the device may have changed it.
11-15-2024 09:27 AM
Yes my device GPIB is set at 19, which I further verified in device configuration settings.
As a part of trouble shooting I also tried to open up the GPIB explorer app which is in NI-488-2 folder. But its throw me an error, "The attempted operation failed", I am also attaching it here too incase if someone is familiar with. In nutshell I have a problem with communication.
I really appreciate your involvement in this problem.
Ahad
11-15-2024 09:50 AM
@Ahad_50Tesla wrote:
Yes my device GPIB is set at 19, which I further verified in device configuration settings.
As a part of trouble shooting I also tried to open up the GPIB explorer app which is in NI-488-2 folder. But its throw me an error, "The attempted operation failed", I am also attaching it here too incase if someone is familiar with. In nutshell I have a problem with communication.
I really appreciate your involvement in this problem.
Ahad
The Keithley device itself has both a setting for GPIB Address and a separate setting for remote interface that can choose from RS 232 or GPIB. It is probably set wrong.
11-15-2024 10:15 AM - edited 11-15-2024 10:15 AM
Hmmm.... What GPIB interface are you using?
I had a problem with an Agilent USB-GPIB, it needed the Tulip driver enabled to work
Open NI-MAX (Measurement and Automation Explorer)
On the menu bar click on Tools---->NI VISA----->Visa Options
Select Passports from the tree under General Settings
Make sure NiVisaTulip.dll (Ni-VISA Passport for Tulip) is checked
11-15-2024 10:18 AM
Jay, I verified it the address are fine. I think I'am facing a hidden GPIB problem.
11-15-2024 10:59 AM
@Ahad_50Tesla wrote:
Jay, I verified it the address are fine. I think I'am facing a hidden GPIB problem.
If that is a 2400, there is also a remote enable switch on the rear panel. My cal lab used to flip that darn thing on me.
11-18-2024 09:03 PM
Hi,
I'm on macOS. Thanks for this suggestion but I think I'm on Mac that solution may not help me. My interface is similar as yours, USB-GPIB. However, the NI max application do come with Ni-visa drivers but in my case its got crashed whenever I tried to open it, similar thing with GPIB explorer app (error is attached). However, these applications are running smoothly on older version of LabView.
The problem is lies in somewhere in GPIB or maybe in NI-visa. On top of that I don't have much understanding to resolve this. For clarity here is my current states of version,
Labview 2020
Ni-Visa NI-VISA_23.5.0
GPIB NI-488.2 21.5
I have verified, in NI site, these version are compatible to LabView for macOS.
Let me know, if any possible solutions for this. Thanks
-Ahad
11-19-2024 02:31 AM - edited 11-19-2024 02:36 AM
You totally forgot to mention what MacOS you run. Apple likes to tumble around all kind of things and discontinue APIs too, sometimes without even offering a good alternative.
This makes it almost impossible to write apps that will run on newer OS versions than what was available at the time of the software release. On the other hand Apple is rather agressive in forcing users to the latest OS available if the hardware is still supported by that.
So you are likely running the latest MacOS but with a software already 4 years old. While LabVIEW itself is already problematic with such version discrepancies, hardware like your GPIB driver are even worse. They almost certainly won’t work if you don’t install a version that was released AFTER your current MacOS was released.
And if you own an Apple with Apple ARM silicon the drivers need to explicitly support that. I’m not sure NI ever released any software for that hardware except LabVIEW 2023Q3 and that was also the last LabVIEW for Macintosh version they said to ever release.
Basically using Apple computers with anything NI has been a frustrating exercise for many years but since end of last year it is nostalgic history.