LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sweep output voltage from 2182A nanovoltmeter is not coming on computer screen ,sourcing current through 6221 current source

Solved!
Go to solution

I am trying to linearly Sweep current from Keithley  6221 current source and measure the voltage through  Keithley2182A.I have connected 6221 with KUSB-488B( GPIB to USB converter to computer and 2182A nano-voltmeter by RS 232 to the 6221,
triggering cable is also connected between 6221 and 2182A.My LabVIEW code is running error less but i am not getting any readings on the desktop screen.I am sourcing current to +I to -I or vice-versa with 11  sweep points.
I am attaching my VI for your reference ,Kindly help me to rectify this issue.

 

0 Kudos
Message 1 of 5
(1,659 Views)

Hi Salman,

 


@Salman206 wrote:

My LabVIEW code is running error less but i am not getting any readings on the desktop screen.


I don't think so. When it would be error free then you should get the expected readings…

 

Did you test that VI step by step?

Do those devices react on your commands?

Why is the block diagram so large? (What about implementing a small state machine? What about using loops to repeat certain commands?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(1,654 Views)

Dear GerdW,

Thank you for your fast response.

 

Code is running error free but i am not getting reading, that is why i am unable to rectify it.

i Checked the VI step by step, i did manual checking of readings also. Readings are stored in buffer of 2182A, By pressing RECALL i am able to see them on voltmeter screen.

Yes, my device is reacting to those commands.

I followed the SCPI commands in sequence that is why my block diagram is looking very big.I am attaching those SCPI commands for your reference.

 

Thank you

Salman

 

 

 

0 Kudos
Message 3 of 5
(1,648 Views)
Solution
Accepted by topic author Salman206

I RECTIFIED THIS ISSUE, BEFORE TRACING THE DATA FROM BUFFER OF 2182A, first i have to turned off the buffer of 2182a then trace the data from the buffer

0 Kudos
Message 4 of 5
(1,585 Views)

Hi 

 

I met a similar problem. Could you post what SCPI command you use to turn off the buffer? Thanks 

 

Lingjie

0 Kudos
Message 5 of 5
(1,289 Views)