LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW FPGA - Arbitrary Waveform

Hi all,
 
I can get the example about the Arbitrary Waveform ported to my CompactRIO devices, It shows me some errors about the reference. Is this because I am using the LabVIEW FPGA 8.0 and I think that application is created with an earlier version?
 
Can someone please help me out?
 
thank you very much
0 Kudos
Message 1 of 8
(6,500 Views)

Can you be more specific about which example you are porting to CompactRIO? Where did you find this example? Is this from LabVIEW 7.x?

Moving from LabVIEW 7.x to 8.0, there were some very significant changes in how you configure the project to interact with the FPGA. In LabVIEW 7.x the project was only used to configure the FPGA and develop FPGA VIs. In LabVIEW 8.x the project is a completely different structure and is used for all LabVIEW targets (FPGA, RT and Windows, as well as others).

LabVIEW does include a tool to move FPGA applications from LabVIEW 7.x to 8.0. It is found under Tools >> FPGA Module >> Import FPGA Files from LabVIEW FPGA Module 1.x.

After running this tool you will likely still have to make a few manual changes in the newly created project to get everything to run correctly.

authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
0 Kudos
Message 2 of 8
(6,482 Views)
First of all thank you for your reply Christian,
 
 
The scaling vi can't be found on my computer and the references don't work (for instance in:FPGA_Arb_Open_Ref.vi )
 
 
 
 
0 Kudos
Message 3 of 8
(6,447 Views)

Hello fpga.be,

Could you tell what is wrong with your program? But there is one thing you NEED to do, to make this example work on your cRIO, it's compiling this example on your cRIO to have a valid reference on the VI FPGA_Arb_Open_Ref.vi. Or not, your application will not run correctly.

Are you receiving an specific error message?

Regards,

Julien Roland - District Sales Manager
NI Belgium - Technical Support

Don't forget to rate a good answer
0 Kudos
Message 4 of 8
(6,204 Views)
See in the attachment the problem
0 Kudos
Message 5 of 8
(4,801 Views)

Hi fpga.be,

I didn't find the VI you mentionned above but a similar. I include it in the project and in the ZIP attached below.

One think I need to mention to! Don't forget that you need to download the *.LVM file on the FPGA itself because you are working on a remote target! So you need to reference to a file on the cRIO.

Also don't forget to recompile the VI for your cRIO system !!! It's very important.

Best Regards,

Julien Roland - District Sales Manager
NI Belgium - Technical Support

Don't forget to rate a good answer
0 Kudos
Message 6 of 8
(4,716 Views)

Hello I am trying to get this example to work in LabVIEW 8.5 / LabVIEW FPGA with my Intelligent DAQ 7831-R PCI card.  Is there an example already done that will work with this?

The FPGA portion compiles fine, but the Host has a ton of errors, (functions in the subVI's not compatible with my board).  I could spend a bunch of time weeding out code I don't need, but I wanted to check here first to see if there was something already done?

 

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

(Link with the code I am using)

Filename: arb_wavegen_lv821.zip

Project file that I am trying to work with.

 

-thanks!

0 Kudos
Message 7 of 8
(3,747 Views)

Hi

 

As far as I know there is no ready made example for the R-series cards. The reason the example runs into errors probably has to do mainly with the reading of the calibration constants etc, which are not available on your R-series card. So probably you will have to modify the example yourself, or build a new one based on the same principles. In this case the following link will be quite interesting, as it describes the procedures being used in the example step by step:

 

http://zone.ni.com/devzone/cda/tut/p/id/3027

 

Kind Regards

Best Regards

Michiel
Applications Engineer
NI Belgium
http://www.ni.com/ask
0 Kudos
Message 8 of 8
(3,672 Views)