NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
kamkon
Posts: 4
0 Kudos
Accepted Solution

6211 phase angle

Hello,

 

I wish to measure a constant phase angle between two signals (the same freqency) applied to two different input analog channels. I would be greatfull if someone explain the algorithm and give the code in LabWindows or LabView.

 

Second question: for what there is a number of scan list entries described in specification of the 621x devices? Is this possible to create scan list for that devices?

 

Member
arielmedina61
Posts: 40
0 Kudos

Re: 6211 phase angle

Hi kamkon,

 

I know a method to measure the phase angle between two signals, but it's necessary to take a signal as reference and a difference between signals. This method is useful to measure a small phase angle.

I don't know if it can help you.

Ariel

Member
JCollado
Posts: 67
0 Kudos

Re: 6211 phase angle

I see this marked as the solution but I dont see it.

 

I have a reference signal and an output signal and I need to find the phase angle.

 

In other instrument i know the phase angle is 8.69  but not getting the same results in Labview.

 

I'm also using NI-6211

 

thanks

JCollado
Member
BalazsNagy
Posts: 96
0 Kudos

Re: 6211 phase angle

Hi JCollado!

 

So if I understand your problem, you have two signals, and you want to measure the phase angle between them, with two AI of the NI 6211 ?

 

As I see this topic is quite old, and the solution isn't avaliable, maybe there was a private message between the other two guys...

 

I would like to ask you to open a new topic, and describe your problem there. I think it will be better to discuss the solution there. 

 

Thanks, and best regards,

Balazs Nagy
Applications Engineer
National Instruments Hungary
Member
JCollado
Posts: 67
0 Kudos

Re: 6211 phase angle

Thank you.

 

I will do that.

 

JCollado
Member
arielmedina61
Posts: 40
0 Kudos

Re: 6211 phase angle

Hi, J Collado,

 

I saw your post. Sorry by delay my post.

I know how to measure the phase angle between two signals, but is needed to get both a signal as reference and a signal difference or "DELTA".
Let me know if this way is possible for solve your problem.

I going to try to send a schematic draw.

 

Ariel

Member
JCollado
Posts: 67
0 Kudos

Re: 6211 phase angle

Hello

 

I have this VI which is giving me the Phase angle and it appears to be working except the actual phase angle  in my external instrument is 8.67 and the phase angle read in my Labview app is about 23.8 degrees.

 

I assume this is due to the 6211 not being a simultaneous reading for all channels. 

 

Or do you see any other problem with the VI?

 

Maybe you can upload the SubVi that is working for you to compare results?

 

thanks

JCollado
Member
BalazsNagy
Posts: 96

Re: 6211 phase angle

[ Edited ]

JCollado wrote:

I assume this is due to the 6211 not being a simultaneous reading for all channels. 



From NI USB-621x User Manual:

Each USB-621xdevice has one analog-to-digital converter
(ADC). The multiplexers (mux) route one AI channel at a time to the
ADC through the NI-PGIA.


 

I think you are right, the reason of the different phase angle is, that tha NI 6211 has multiplexed AI channels, so for such kind of measurements, you need a simultaneous sampling device, like these: http://sine.ni.com/nips/cds/view/p/lang/en/nid/209151

 

Best regards,

Balazs Nagy
Applications Engineer
National Instruments Hungary
Member
JCollado
Posts: 67
0 Kudos

Re: 6211 phase angle

Thanks fo rthe confirmation  BalazsNagy.

 

I have compensated for teh delay in the card and any time I get a different phase angle I am also getting the same reading.

 

Menaing I used the known phase and subtracted the difference from my labview reading. It may be off by up to .1 degrees but that will be ok for this project.

 

In the future I will have to buy the silmultaneous reading card.

 

I have posted the solution to " how to read in-phase voltage" in my other link:

http://forums.ni.com/t5/LabVIEW/HOW-DO-I-READ-VOLTAGE-IN-PHASE/m-p/2127274#M689940



 

Thank you.

JCollado
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page