LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW

This is what you should see AFTER you press "Scan for Instruments":

NIquist_0-1714069042116.png

I have NI-488 (GPIB) and NI-VISA installed (in the Software section).  That should be all you need.

NIquist_1-1714069138349.png

Now, GPIB address #2 (my OSA) is available in the VISA pulldown.

NIquist_2-1714069289468.png

 

EDIT: If you still have problems try running the self-test on the GPIB-USB-HS interface (next to Scan for Instruments).  There are many fake GPIB-USB-HS knock-offs on the market and NI has changed their driver to detect them and disable them.  You know... for your "protection".  😉

 

 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
Message 11 of 20
(429 Views)

One more thing that I forgot...

 

On the OSA, you have to set the REMOTE INTERFACE to GPIB first, then set the GPIB address to whatever you want to use.  Make sure you're not set to RS-232 or ethernet.  This is on the second page (2/4) after you press the SYSTEM button on the OSA front panel.

NIquist_0-1714071081543.png

Sorry in advance if I'm being too obvious, but kinds of these thing have bit me in the butt before. 🙃

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 12 of 20
(419 Views)

You might also check that GPIB and USB passports are enabled.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 13 of 20
(408 Views)

IMG_20240426_125919_551.jpg

 Here are all installed applications/drivers. I also downloaded NI-VISA version 19.5, but for some reason it is not displayed here (or do I need to remove version 2023?)

Sorry, I'm probably asking stupid questions, I've just never used this app before.

0 Kudos
Message 14 of 20
(381 Views)

Drivers can not exist in multiple versions besides each other. Newer versions replace older versions. Older versions are only installable if you first remove (uninstall) the newer version completely.

 


@Zariya wrote:

 

Sorry, I'm probably asking stupid questions, I've just never used this app before.


If you are going to work with instruments (or NI hardware), there is almost no way around learning to use NI-MAX. And it is not a lost investment. It can be a great debug and diagnostic tool that lets you check if the problem is in your program or rather in the setup and configuration of the hardware. Once things work in NI-MAX, you can concentrate on the programming at hand and be sure that your application doesn't just fail to work because of a stupid broken cable or the like, while you frantically search for programming errors. 😁

Rolf Kalbermatter
My Blog
Message 15 of 20
(377 Views)

IMG_2024_04_26_13_11_46_5902446287123454750975.jpg

 I seem to have everything set up on OSA

0 Kudos
Message 16 of 20
(380 Views)

This is strange.  You seem to have everything correct.  I should have mentioned that I am using LabVIEW 2019 and that the VISA and GPIB drivers you see may be a later version.  That is fine.

 

Please ensure that you are plugged into the correct GPIB port on your OSA if you have two.  Some 6370s have an AUX, but you want to use the MAIN port.  

 

The only other things I can think of is your OSA has a bad GPIB, Or your NI USB-GPIB-HS is either bad or a fake.  Try running its Self-Test in NI-MAX and it will check it out for you...

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 17 of 20
(357 Views)

+1 to Rolf.  NI-MAX is a must learn if you need to troubleshoot connected instrumentation.  It doesn't take much to learn it, and once you do, you'll install it on every production PC.  🤗

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 18 of 20
(354 Views)

I just noticed that your GPIB interface is called "GPIB2".  I think that is only a text name and it doesn't matter, but just in case try right-clicking and rename it to "GPIB0" (zero).

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 19 of 20
(350 Views)

Ребята, получилось😃Вы бы видели мою

шок, я работал очень долго, и просто всё работало. Спасибо, вы мне очень помогли, без вас я бы пропал.😊

IMG_20240506_123422_694.jpg

Message 20 of 20
(266 Views)