LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

instrument control

You must stop the program in order to go into local mode. This is an intentional design feature.
0 Kudos
Message 11 of 22
(1,751 Views)

if i post the serial interface will i be able to get the help to change the frequency of device

 

Regards

0 Kudos
Message 12 of 22
(1,722 Views)

I got  two problem in attachment .What should ı do ?

 

Thank you for your attention .

Download All
0 Kudos
Message 13 of 22
(1,676 Views)
What VISA Resource Name are you using? You should be clicking on the pull-down menu on the right side and selecting it from the list.
0 Kudos
Message 14 of 22
(1,664 Views)

VISA resource name is DSO-X_3014A_Agilent .

0 Kudos
Message 15 of 22
(1,656 Views)

That sounds like its model number not a VISA resource.  I have a DSO-X 2014A connected with USB and my VISA address is:  USB0::0x0957::0x1796::MY51450847::INSTR

 

If you have your scope connected and LabVIEW running this is SOOOOO easy.  Help > Find Instrument Drivers  Click on Connected Instruments... Double click the scope and download the drivers.  Click Start Using This Driver   Open the project and/or pick an example VI like  Agilent 2000 3000 X-Series Acquire waveform.vi  POOF, your scope's trace is now in a LabVIEW waveform indicator for further processing.  Should be the same for your generator, just use the NI Instrument Driver Network (IDN) and save yourself some headaches.

 

The driver is a LabVIEW Project full of useful helper VIs, examples, etc.  Makes life very easy, especially for USB instruments.  Good Luck!

 

EDIT: In case you're curious, the VISA resource is USB0::Agilent's ID::Device Model ID::Device Serial#::INSTR   So mine means an Agilent Model 2014A whose serial# is MY51450847

 

You can know what's what if you read the serial#s on the back of your instruments and write down their serial numbers.  Smiley Wink

 

EDIT2:  Oh Yeah, once the driver is installed this way you will find all the SubVIs in your LabVIEW palette auto-magically.  They're in Instrument I/O > Instr Drivers > Agilent 2000 3000 X-Series.  In addition, you will find the LabVIEW Example Finder populated with the Agilent X-Seris examples.  Help > Find Examples...  Hardware Input and Output > LabVIEW Plug & Play.

 

Have Fun...

 

EDIT3:  Why did the bold capital D's in my VISA resource turn into smileys???       D  D   😄    Ah, bold 😄 is the code for that smiley.  😄  Hmm, not bold, just the : and the D together.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
Message 16 of 22
(1,639 Views)

Hello Sir, 

My VISA resource name is USB0::0x0957::0x17A8::MY51360432::INSTR. 

0 Kudos
Message 17 of 22
(1,563 Views)
Now that you have the correct resource name, what is the problem you're having?
0 Kudos
Message 18 of 22
(1,554 Views)

Did you download the drivers through the NI IDN?  Have you tried them?  Have you looked at the examples?  

 

If you're new to this the best way to get started is to look at some examples and see how they're being used.  Then you can apply that knowledge to your own applications.  This is one of the best parts about LabVIEW, you already have a wealth of code that does all the low-level communication to 1000s of instruments available though the IDN.  You can leaverage that and make your job much easier.

 

You can use the Tools > Instruments > Find Instrument Drivers and load drivers automatically OR you can learn more about the IDN and get your drivers manually from the website here:  http://www.ni.com/downloads/instrument-drivers/

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 19 of 22
(1,537 Views)

Thank you for your attention.

Where can ı find  the example codes ?

0 Kudos
Message 20 of 22
(1,505 Views)