Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

display getting flickered when i used current measure command and read from buffer of agilent n3302a load

Iam trying to measure the current of agilent load n3302a .I sent MEAS:CURR? query through visa write and then read 256 bytes using visa read.I am communicating through serial port.I am able to read current but load display is getting flickered(i am running vi in continuous mode).Also instead of reading the data into string if i put scan from string function and format string as %f it is showing error 1 occured.how to sove these problems?can anybody help me?.
0 Kudos
Message 1 of 7
(3,828 Views)

First, your image cannot be seen because it's on your c drive. Use the Browse button below to attach the file instead.

Second, there is a driver availble for that at http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=3861F85CD93D6FD0E0440003BA7CCD.... Have you run that?

Third, you should not be using continuous mode. If you want to keep running a section of code, put a while loop around it. Do you mean the display of the instrument or the indicator on your front panel?

Lastly, in order for the Scan From String to work, the format string needs to match the format of the string you are getting back. If you get a string like I=n.n, then you cannot simply use a %f. You would need to use I=%f. You would need to post details on the exact string you are getting.

0 Kudos
Message 2 of 7
(3,822 Views)
Thanks for reply.I have attached the image.Even when i run it single time i am getting that problem and display i meant was front panel display of the instrument.I am having the driver for which u provided the link.But when i used the measure instantenous current vi it was giving error -113.I checked the firmware revision .There was no such type of problem because it was A.00.08.
0 Kudos
Message 3 of 7
(3,810 Views)
You are triggering a measurement and a flicker of the instrument display is probably nothing to be concerned about.
0 Kudos
Message 4 of 7
(3,801 Views)
Thanks Dennis.I have uploaded the string image i am getting.can u help me in using the scan from string for this string
0 Kudos
Message 5 of 7
(3,780 Views)

Either of the two functions below will work.



Message Edited by Dennis Knutson on 05-01-2008 07:25 AM
0 Kudos
Message 6 of 7
(3,768 Views)
Thanks Dennis.It is working properly.
0 Kudos
Message 7 of 7
(3,729 Views)