03-06-2017 06:11 AM
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
04-12-2017 06:05 AM
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!