LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulate a Current waveform

Solved!
Go to solution

for u said"To see the current of this signal it will be down to you using formulae to extract it from a power waveform."

 

Could you explain this or just making a simple vi to show me , i will great appreciate that, thank you!

0 Kudos
Message 11 of 17
(1,715 Views)

You're not confusing LabVIEW with circuit simulator software are you?  In order for current to flow there needs to be some kind of load for it to flow through.  A simulated sine wave doesn't have a path for current to flow so your request is confusing.  You could use math functions to pretend there is a load.  Just divide the sine wave by your resistance and plot the result. 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
Message 12 of 17
(1,706 Views)

Cool man!!!

 

Tell me tell me !!  i really want to know

 

im not quite know how to use labview

 

so could you show me how to use math to pretend a load?

 

just build based on my vi , i will great appreciate that!

0 Kudos
Message 13 of 17
(1,702 Views)

Here is a simple way to do it.  It is just showing the current based on ohms law (I=E/R).  This doesn't take any phase shift into consideration but it should do if you're just playing with simulations for now.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
Message 14 of 17
(1,692 Views)

Hi LeoLui,

If you are still learning in LabVIEW then it would be beneficial to look through our tutorials or try the examples that are already in your LabVIEW package!

Find examples from the 'Help' tab on the top of any LabVIEW window.

Regards,

John McLaughlin
Academic Account Manager
National Instruments UK & Ireland
0 Kudos
Message 15 of 17
(1,685 Views)

That's cool, man, it is what i want.

 

btw, if i want add a phase shift, how to do that?

0 Kudos
Message 16 of 17
(1,681 Views)
Solution
Accepted by LeoLiu

Well, unfortunately you're using dynamic data instead of real waveforms so there's no way to change the timing (I'm not really sure on that since I never use dynamic data, Express VIs or DAQ Assistant).  If it was waveform data types you could just change t0 with the Set Waveform Components VI.  You would have to know how much to phase shift of course.   That would depend on your hardware, cabling, load type, etc.

 

I would just save all that until you learn LabVIEW better and are ready to tackle the real-world signals.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 17 of 17
(1,673 Views)