# LabVIEW

cancel
Showing results for
Did you mean:

## Re: NPN transistor

Hi Jay,

"now you know what equations am using can you help me ?"

As this clearly is a work assigned by your university it's your job to do the programming.You want to get a university degree, so please do the work needed to get one!

Up to now you did not attach any VI nor did you show any pictures of a block diagram... I will not do any programming work for you and I hope no one else will do. But we will always be happy to assist with code reviews and hints on what to do. You should have noticed all the comments given on your work task.

Please do some work on your own and be assured to get more help for specific problems.

(Links now included in older post.)

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
Message 21 of 40
(307 Views)

## Re: NPN transistor

Sir,

Am simulatenously working on the .VI. I know the rules and will not go against them. I certainly will do my part of programming. I will soon, very soon post my 1st .vi

Thanks Sir 🙂

Message 22 of 40
(303 Views)

## Re: NPN transistor

This is the VI which I implemented using the above mentioned 3 equations. The loop is working fine. But then the graph is coming to be a strainght line. Please help. I know this is a very basic try .

Message 23 of 40
(299 Views)

## Re: NPN transistor

Hi Jay,

in your loop you only output the last value, so the graph can only show that one very point...

Use a FOR loop instead and use it's autoindexing (then you also don't need the ExpressVI)...

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
Message 24 of 40
(296 Views)

## Re: NPN transistor

Yeah, I figured out the indexing problem. The for loop how and why ?

Now for the XY graph why after 25 is it going backwards. Can you explain me that slope reason !

Message 25 of 40
(292 Views)

## Re: NPN transistor

Hi Jay,

have you ever checked to points you're plotting? Then it should be pretty clear!

The array in the VI shows the point coordinates you have calculated. Maybe your equations are much too simple?

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
Message 26 of 40
(288 Views)

## Re: NPN transistor

Sir, But why the slope in the XY graph after 25. I need to remove that then for a given value of Ib 20ua the graph in XY is proper but the backward slope.

The equtions are the ones we study and use. What changes in them you think?

And the array points, I checked it using the bulb tab or the highlight execution tab

Message 27 of 40
(284 Views)

## Re: NPN transistor

The slope appears to be going backwards because that's the data you're plotting!

Check out the data outputted from your equations and you'll see the reason for the slope:

-CC

[EDIT] Sorry for the double post - you beat me to it Gerd!

----------------------------------------------------------------------------------------------------------------------------
"If anyone needs me, I'll be in the Angry Dome!"

Message 28 of 40
(282 Views)

## Re: NPN transistor

Now is this ok ??

Message 29 of 40
(276 Views)

## Re: NPN transistor

Well, all you've done is remove the last 3 data sets from the arrays above! I don't really think this is a solution.

I agree with Gerd - are you sure your equations are complex enough to describe the transistor behaviour?

-CC

----------------------------------------------------------------------------------------------------------------------------
"If anyone needs me, I'll be in the Angry Dome!"

Message 30 of 40
(272 Views)