From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading 115vac 400Hz

Solved!
Go to solution

I am working on reading 115vac 400Hz power supply using an PXI-4472.

I got it working, but if the signal gets lost the loop crashes.

 

How do I stop it from doing this?

Anyone got an example of reading ac voltage even if its 0volt?

kls
0 Kudos
Message 1 of 6
(4,925 Views)

You should attach your VI so people can have a look...

0 Kudos
Message 2 of 6
(4,905 Views)
I will do it tomorrow 😏
kls
0 Kudos
Message 3 of 6
(4,892 Views)

In adition to the vi, it would be interesting to know how you are reducing the 115 VAC to a level that is compatible with the PXI-4472.

 

steve

--------------------------------------------------------------------------------------------------------------------------
Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
question. Give "Kudos" to replies that help.
--------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 4 of 6
(4,866 Views)
Solution
Accepted by topic author Kimlorentz

Got it working.

It was my sampling settings that was wrong and how I put my code together.

For reducing 115vac i used resistors (ATTENUATOR 20:1).

 

OLD vi. code

ac voltage vi old.JPG

 

 

New vi. code

ac voltage vi new.JPG

kls
0 Kudos
Message 5 of 6
(4,839 Views)

EDIT!!

 

The ATTENUATOR is an 40:1 and not an 20:1.

kls
0 Kudos
Message 6 of 6
(4,792 Views)