Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Two similar FPGA in the same VI host

Hi everybody,

this is my new problem. I have two similar VIs on FPGA (they have the same controls and indicators). I have a VI on PcHost and in this VI I have some SubVIs with some property node. I have to chose the first or the second VI on FPGA depending on a parameters. I tryed to use the UPCAST function but it doesn't work, I try to use a customize control but... nothing. How can I do? 

0 Kudos
Message 1 of 5
(3,786 Views)
Can you post what you have done? I would suggest looking at the Upcast example which is shipped with LabVIEW FPGA. Just be sure to remember that the FPGA VIs must have the same front panel (which you have already mentioned). Also, the FPGA VIs must be able to run on the same FPGA target (so they need to be compiled to the same FPGA target). Post your VIs so we can have a look.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 5
(3,785 Views)

Hi,

Sorry, but I don't know if I can post the two FPGA VIs. If it is useful, you have to know that when I use the UpCast function I have no Controls and Indicators available (in the FPGA I use interrupts, block memory, arrays...) and as I wrote before I have the same front pannel. If I use the type def control I don't know how to configure the "Configure FPGA VI reference interface".

0 Kudos
Message 3 of 5
(3,782 Views)
I apologize but I cannot help you much here since I don't have anything to work with. Did you try running the Upcast example that is shipped with LabVIEW FPGA? Were you able to compile both FPGA VIs and get them to run? Also, you mentioned in the first post that your code just wasn't working. What exactly happened? Did you get an error?
Message Edited by Adnan Z on 06-30-2009 08:55 AM
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 4 of 5
(3,776 Views)

Hello Fabio,

 

Did you already evaluated the following document? It could help you by providing the correct way to implement your task.

 

Unable to Select Controls/Indicators When Using the FPGA Upcast Function

 

Let me know if you need additional assistance.

Anyway if you can't post your source code you, could contatc National Instruments support and troubleshoot the issue.

 

Have a great day! 

Matteo
0 Kudos
Message 5 of 5
(3,752 Views)