Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Program FPGA myrio

Hello!,

 

I'm working on programing (for now) some servo control for opening and closing some valves for a real plant in a myRIO 1900 hardware.

 

My trouble is about scaling the inputs and outputs on the FPGA. I have a FPGA.VI implemented where I define the PWM, but when I execute it I don't have any voltage signal (mesuring with the multimeter) and I think this error is correlated with the scaling raw values to voltage.

 

Can someone give me an idea how to scale it?  I tried using a property node with the Analog Output Value to work with the LSB value, but Labview does not accept it.

 

Thanks in advance,

 

Carlos

Download All
0 Kudos
Message 1 of 2
(3,258 Views)

Hi NiktuStark,

 

Here you have an explanation of how to scale analog I/O in FPGA:

 

Why is My Analog Input Reading Off By a Factor of 10 on My FPGA R Series RIO?

 

Hope it helps.

 

If you could program it in RT, take a look of Data Dashboard for myRIO.lvproj, you find it here:

C:\Program Files (x86)\National Instruments\LabVIEW 20XX\examples\myRIO\Data Dashboard

 

Have a nice day!

Álvaro Simón
Spain TSE | CLD, CTA & CPI
0 Kudos
Message 2 of 2
(3,126 Views)