LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA VI Reference

Why does the wire to an FPGA VI Reference into a Sub VI become broken when I copy my program to a different computer ?

To fix it I ned to go into the sub vi's and create new controls and indicators.
Bitfiles are moved with the rest of the files and I have tried to relink the bitfiles, no joy?
This happens on multiple computers.

Win XP pro
LV 8.20 and 8.21
FPGA 8.2
0 Kudos
Message 1 of 5
(4,890 Views)
The error it returns is:
  
You have two or more RefNums wired together, but the RefNums are of different types. Show the Context Help window to see what type of RefNum is required.

Message Edited by RRRRSSSS on 06-27-2007 12:57 PM

0 Kudos
Message 2 of 5
(4,888 Views)

Did you bind the FPGA VI reference to a type def?  I'm guessing this is the problem.  Whenever you use subVIs in your Host VI, you should always bind to a type def, as explained in the FPGA Help.

Please let me know if you have any more questions.

Regards,

Craig D
Applications Engineer
National Instruments

0 Kudos
Message 3 of 5
(4,725 Views)

I wanted to add a comment about the strange behaviour around these "Bind" and upcast function for FPGA reference.

 

I did'nt find a way on the RT  (I'm using 2 same bitfile for testing) to be able to access the DataRate of a NI 9239.

This control is a typedef > U8 (typedef nicrio_cRIO-9239_DataRatesRing.ctl)

Everything is fine expect this control...

 

Is it a bug?

Is there a way to fix that...???

 

Mathieu

0 Kudos
Message 4 of 5
(2,998 Views)

Mathieu,

 

Can you elaborate on what is going on? I was successfully able to access the dataring typedef from a subvi on the RT quite easily, as shown below:

 

Can you point me in the direction so I can better understand what is going on?

 

fpgacast.jpg

Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video
0 Kudos
Message 5 of 5
(2,976 Views)