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
moonm
Posts: 118
0 Kudos
Accepted Solution

labview fpga & labvew RT

Hi

i'm using CompactRIO to calibrate 20 electronic meters (counter) in parallel.

 

*CRIO FPGA to communicate with:

---> 20 meters in parallel: 20 UART(RS232 or Ethernet).

---> 1 generator: 1 UART(RS232).

---> 1 standard meter: 1 UART(RS232).

---> 1 automaton: 1 UART(RS232 or Ethernet).

*CRIO RT for calculations ( floating point),adjusment and verification of 20 meters in parallel.

 

Please who can help me in the development (how to start) of this application, then we will go into details

et merci^^

Member
Ryan_S
Posts: 70
0 Kudos

Re: labview fpga & labvew RT

Hey moonm,

 

It sounds like your application is going to need to have 3 main components: A Host VI on your computer, an RT VI on the cRIO, and an FPGA VI. For getting started, you may consider looking through the following documentation:

 

LabVIEW FPGA Module Training

http://www.ni.com/white-paper/3555/en

 

Getting Started with the FPGA Module

http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgahelp/fpga_getting_started/

 

If you're already familiar with the basics then you may consider starting with an example from the LabVIEW Example Finder. From LabVIEW, select Help >> Find Examples. Then select Hardware Input and Output >> CompactRIO >> FPGA Fundamentals. From here you can look through examples more specific to your application. Hope this helps!

 

--Ryan S.

Applications Engineer
National Instruments
Member
moonm
Posts: 118
0 Kudos

Re: labview fpga & labvew RT

hi

 

i'm a beginner in LABVIEW

 

i select Help >> Find Examples. Then select Hardware Input and Output.

 

But i didn't find CompactRIO !!

Active Participant
Pie56694
Posts: 391
0 Kudos

Re: labview fpga & labvew RT

Moonm,

 

Since this thread has been marked "Solved", the forums do not generate a follow-up task for the AEs.  To ask a new question, visit the appropriate forum board, such as Real-Time Measurement and Control and click New Message.  Generally, you'll have better results posting your own question to your own thread, unless it's directly related to the first post on an existing thread that hasn't been "Solved".

 

The examples you're looking for are available in the location you've identified after you install support for the cRIO platform.  Visit this page to determine the software necessary to support your cRIO.

 

-Steve

Member
legolas2612@gmail.com
Posts: 2
0 Kudos

Re: labview fpga & labvew RT

[ Edited ]

if you cant find CompactRIO that means the necessary toolkits arent installed. Install LabVIEW FPGA toolkit and LabVIEW RT toolkit... then you will find the path specified by the Application Engineer before ! If you still dont find it, check if the NI RIO Device drivers are installed !!

 

hope this helps !

 

cheers,

Dinesh

Member
moonm
Posts: 118
0 Kudos

Re: labview fpga & labvew RT

hi

thank you for your answers

 

For the serial ports, can i read them in FPGA or in RT ? If in FPGA, is it any processing in FPGA?

 

Member
Ryan_S
Posts: 70
0 Kudos

Re: labview fpga & labvew RT

Hey moonm,

 

You can read the serial ports, from a C Series serial module, in either RT or FPGA. If you access the serial port through the FPGA directly then you have to rebuild the serial signal bit by bit. A good example of this can be found here:

 

RS-232 Interface Reference Example for LabVIEW FPGA

http://zone.ni.com/devzone/cda/epd/p/id/2164

 

However, for most common applications it's easier and makes more sense to simply access the port from the RT side. Hope this helps!

 

--Ryan S.

Applications Engineer
National Instruments
Member
Jiembou
Posts: 7
0 Kudos

Re: labview fpga & labvew RT

Hellllllo....

 

could somewone try to help me??

i need also a vi called `Sample Rate to Loop Time.vi`, he has a polimorphycal behaviour .

cold somewone send me or atach this file ??

 

thx

 

Jimi 

Member
TheGeeze
Posts: 122
0 Kudos

Re: labview fpga & labvew RT

Hi Jimi,

 

This function is included with the FPGA module.  Do you have that installed?  Here is the help document for that function.

 

http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgahost/fpga_sample2loop/

 

Cheers,

 

Ryan

Applications Engineer
National Instruments
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