Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

HP Analyzer 4156b - Flex command

Solved!
Go to solution

Hi together

 

I am very new to Labview therefore I have lots of questions Smiley Wink

Does anybody have an example of how to use the flex command in a Labview VI? I already have the Programmers Guide of HP but a working example would help me to program my own VI.

 

Thanks 🙂

0 Kudos
Message 1 of 4
(3,760 Views)
Solution
Accepted by topic author twodays

First of all, identify what type of communication you have wih your device. i.e. GPIB, USB, Serial etc.

 

If GPIB is the right way, you may then use the measurement & automation explorer to find the GPIB address (if you don't know).

Then, go to "Find Examples" in Labview and see the GPIB communication examples that LabView has builtin. This will help you send commands and recieve replies from the instrument. If more detailed controll is required, you might endup creating a more advanced VI that can set the instrument with the parameters you define, then read the results. 

 

Another way around this is to find the LabView instrument drivers where most of the time, it contains an example of sorts for device communication.

 

0 Kudos
Message 2 of 4
(3,744 Views)

Hi

A driver exists in the NI instrument driver network

It is not written in LabVIEW but calls a dll that does the work.

The only problem is you can't change it but you can add commands that use visa if necessary

greetings from the Netherlands
0 Kudos
Message 3 of 4
(3,739 Views)

Hi zerotolerance and Albert.Geven

 

Yes, it is a GPIB communication.

Thank you for your reply. With that those clues I am able to begin 🙂

0 Kudos
Message 4 of 4
(3,723 Views)