Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

agilent MXG 5181 signal generator control using USB

Hi,

 

I am trying to control  agilent MXG 5181A signal generator via USB .I want to control the frequency generator by myself(not using a while loop in my vi) and output the instant response to my desktop. How do I do it using labview?

Thank you in advance

0 Kudos
Message 1 of 5
(3,719 Views)
Help> Find instrument Drivers will get you the code and examples.

I don't know what you mean by without a loop or output the response to your desktop.
0 Kudos
Message 2 of 5
(3,712 Views)

Hi,

 

I am sorry for writing it unclear.

I have attached my VI. there is an error msg on Signal generator indicating that " -222, data is out of range". but VI runs from 100MHz-600MHz.

Can you kindly explain me why I am getting such an error.

 

Thank you

0 Kudos
Message 3 of 5
(3,689 Views)

I'm not sure why you decided not to use the available driver and write your own code. Anyway, look at your condition for stopping the loop. It doesn't stop until a value of 1000. Accrding to what you just said, it only goes as high as 600MHz, not 1000MHz.

0 Kudos
Message 4 of 5
(3,683 Views)
I came back to look at this again and I think I misunderstood what you were saying. I thought the instrument was only rated at 600MHz.

Your first iteration, you are sending zero. See if that is allowed.
0 Kudos
Message 5 of 5
(3,664 Views)