Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Labview control Agilent 33120A signals generated occurs an error occurs

hello,

The signal generator is the Agilent (33120A)
In Measurement & Automation which have caught this device (see below)

08082.png

 

 

But VI execution to half Shique the following error window

 

08081.png

 

in Initialize.vi, there is a problem
 
Such as photos

 

08083.png

 

 

Seems to be unable to distinguish the devices?

 

How can i solve this problem? thanks~

0 Kudos
Message 1 of 10
(5,467 Views)

Hi

 

Noticed that you are using serial port to communicate to instrument. Would you please double-check the serial setting parameters, such as Baud Rate, Flow Controls and etc. are insistent with the configuration on instrument? Or would you please try to use other interface rather than serial port.

 

If you have tried everything I mentioned above and it still raised that error, please manipulate the NI I/O Trace (You could find it in Windows Start menu) tool to trace and log the communication between PC and instrument. I should be helpful to analyze the root course if you investigate into that trace log. It would be great if you post it here!

 

Thanks,

 

- Charles

0 Kudos
Message 2 of 10
(5,456 Views)

A query interrupted message comes from the machine itself so probably nthing is wrong with the communication but you started a second query before the first one was finished. So check for end characters more than baudrate.

greetings from the Netherlands
0 Kudos
Message 3 of 10
(5,445 Views)

HI,

I check my baudrate is accurate(9600) 

0 Kudos
Message 4 of 10
(5,437 Views)

HI,

i check

serial port , Baud Rate(9600) , Flow control , parity   are all correct

However, I found a strange thing
I run this vi several times
Will not appear on the error message, and do not know why?  = =lll



0 Kudos
Message 5 of 10
(5,436 Views)

try  another computer.

0 Kudos
Message 6 of 10
(5,427 Views)

What about using NI I/O Trace to get the trace information?

0 Kudos
Message 7 of 10
(5,406 Views)

Thanks all~

 

I have been solve this question,

I modify this vi , and then it can work. 

0 Kudos
Message 8 of 10
(5,385 Views)

Did you modify the end characters? I'm getting the exact same error.

0 Kudos
Message 9 of 10
(4,989 Views)

Hi, trying to use a 33120A... exactly the same error.

Was there a resolution posted to this issue?

The tread ended but nobody posted the solution.

What was the change to teh VI?

 

Thanks,

catalin

0 Kudos
Message 10 of 10
(4,709 Views)