LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Host VI write to FPGA VI Control in Emulator Mode

I set up PCI-7830R Target as FPGA Emulator in the LabVIEW project. There is a FPGA VI for this target that has some controls on its front panel.
 
I then created a host VI and used "Open FPGA VI Reference" followed by "Write to Control" in the host VI. I intend to use "Write to control" to write values into the FPGA VI control, thus effectively achieving the purpose of sending parameters to FPGA VI from host VI.
 
However, there is an error with the host VI. The error says that "The specified FPGA VI must be compiled in order to be used from the FPGA Interface." But I am having a target emulator and can't compile a FPGA VI on the emulator right?
 
How do I write values to FPGA VI front panel controls if the FPGA VI is targeted at an emulator device?
 
See attached VI picture.

Message Edited by maimai on 11-26-2006 10:53 AM

0 Kudos
Message 1 of 7
(5,165 Views)

You don’t need to create a host VI in order to access the FPGA VI running on the emulator. The host VI is required to access the compiled FPGA VI running on the actual FPGA target. So simply run the FPGA VI and change the value for the controls from the front panel.

 

Tunde

0 Kudos
Message 2 of 7
(5,132 Views)
Of course I know how to run the FPGA VI only and change the front panel control value. But I would also like to test the Host VI and check if it is able to change the controls on the FPGA VI. And I would like to avoid having to run a compiled FPGA VI on the actual hardware.

It will be nice if I can test Host VI with FPGA emulator.
0 Kudos
Message 3 of 7
(5,129 Views)
This feature is not supported for now but will be considered in future release.
 
Tunde
0 Kudos
Message 4 of 7
(5,113 Views)

Did this issue ever get resolved in the end? I am having the same issue now. 

 

 

0 Kudos
Message 5 of 7
(3,613 Views)
In your LabVIEW project, right-click the FPGA target and choose to execute the VI on the development computer. I've never seen the "Emulator" setting shown in the screenshot here, but it's also from nearly 10 years ago.
Message 6 of 7
(3,602 Views)

I just closed both VIs and opened them again and the error went away. Was quite strange as I had the FPGA running, yet RT was telling me I needed to compile the FPGA. Save and close and reopen and run did the job.

Message 7 of 7
(3,599 Views)