05-28-2024 05:09 AM
Hi beginner,
@beginner1234 wrote:
I need to plot an X-Y graph between Voltage and Current, then which parts of the block diagram must I eliminate, and which voltage and current output do I connect to X and Y axis of the graph?
As the context help shows: build two 1D arrays from your voltage and current values, then bundle both arrays into a cluster. The XY graph accepts a cluster of [X array, Y array) for a plot…
05-28-2024 05:24 AM
What exactly I am trying to understand in this block diagram is where the voltage and current values are to build the array.
Please explain through the block diagram and I am really sorry for being a nuisance and thank you.
06-04-2024 12:46 AM
In the examples that came along with instrument drivers of Keithley 2450, there is one example for pulse and acquire measurements, and I have tried to perform it by connecting the 2450 device, but it shows error1074000000. Upon going through all the functions in the example, it is clear some of them are compatible with only 2461, but I only have a Keithley 2450 and need to perform a pulse with that device, what do I change or modify?
Also how do I get a Current vs Voltage graph instead of Current/Voltage vs Time graph? As in where exactly are voltage and current output terminals that are to be connected to the XY graph in this block diagram?
06-04-2024 01:02 AM - edited 06-04-2024 01:07 AM
Hi beginner,
@beginner1234 wrote:
Upon going through all the functions in the example, it is clear some of them are compatible with only 2461, but I only have a Keithley 2450 and need to perform a pulse with that device, what do I change or modify?
Read the manual of your device to learn how to configure your measurement requirements.
Once you know "how to configure" manually you can implement the same using SCPI commands…
@beginner1234 wrote:
Also how do I get a Current vs Voltage graph instead of Current/Voltage vs Time graph? As in where exactly are voltage and current output terminals that are to be connected to the XY graph in this block diagram?
You have been told to downconvert your VI before attaching as you are using the very latest LabVIEW version. (I even prefer LV2019.)
Instead of helping us to help you you even started a new thread with the very same question: why do you think spreading a discussion over several threads would help to solve your problem?
06-04-2024 01:43 AM
I apologize, it was not my intention to do so and I did not know how to down convert before, thus I provided the screenshots of the same. Now that I know it, here is the example I am talking about in 19.0 version
06-04-2024 01:51 AM - edited 06-04-2024 01:51 AM
Hi beginner,
@beginner1234 wrote:
here is the example I am talking about in 19.0 version
I guess you get current and voltage values from your Read function when you use the decimate function to split the data into two plots of your waveform graph. To create a XY plot you could use the bundle function (as shown in the context help of the XYgraph):
06-05-2024 01:52 AM
Thank you, this might work the way I want it, but I just tested this on a sweep example but both waveform and graph are not working. I tested it with an LED whose limits I know, there's a light indicating sweep going well but the graphs aren't showing. What might be the problem?
And is it possible to save the image of the graph?
06-05-2024 02:07 AM
Hi beginner,
@beginner1234 wrote:
I just tested this on a sweep example but both waveform and graph are not working. I tested it with an LED whose limits I know, there's a light indicating sweep going well but the graphs aren't showing. What might be the problem?
The problem might be the response of your device - I don't have that hardware and so I cannot run your VI.
Which string response do you receive? Does it contain the data you expect for creating your plots?
You need to do some debugging on your own!
@beginner1234 wrote:
And is it possible to save the image of the graph?
Yes.
Use a method of the graph to export the image!
(Most often it is more useful to save the measurement data instead of images of some graphs…)
06-05-2024 02:13 AM
The data I need is an IV graph and I cannot confirm if the string gives current and voltage since the graph did not work but I was advised to create the XY graph in the way I did in the block diagram from this community. The device does well on other software and gives the graph properly, so what debugging should I do?
The image is also required along with the data so I will try the method you suggested.
Thank you.
06-05-2024 02:25 AM - edited 06-05-2024 02:25 AM
Hi beginner,
@beginner1234 wrote:
I cannot confirm if the string gives current and voltage since the graph did not work …
Because the "graph doesn't work" you cannot verify the string content?
What about using probes and indicators???
As I wrote before: do some debugging on your own!