LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Transistor npn characteristic curve labview

Highlighted

Hello, we want to represent the characteristic curve of a npn transistor.
When making the diagram, the graph does not represent what it should, it gives us the following error: 

0 Kudos
Message 1 of 6
(529 Views)

Hello Jose,

 

A XY Graph takes a cluster of two arrays (one for X, one for Y) as input. Here you input a cluster of two single values. More info here : https://flylib.com/books/en/3.352.1.111/1/

 

To solve your problem you could move your bundle function and graph outside the nested For Loop, thus creating an indexed array for both your values. Yet, you would see only the last 5 values.

 

Does it help ?

CLAMaxime -- Kudos are a great way to say thank you
0 Kudos
Message 2 of 6
(523 Views)

Just change that Build CLUSTER to a Build ARRAY.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 3 of 6
(495 Views)

As far as I know, inputting a single array to an XY Graph will not work. Do you have an example Minions ?

CLAMaxime -- Kudos are a great way to say thank you
0 Kudos
Message 4 of 6
(490 Views)

My bad there, I meant to add the Build array to the Build cluster output.  This will only display a single element for each loop.  If you move the XY Chart outside of the inner loop, then it will display the 5 elements every time the outer loop increments.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 5 of 6
(487 Views)

All good, was just wondering Smiley Happy

CLAMaxime -- Kudos are a great way to say thank you
0 Kudos
Message 6 of 6
(484 Views)