LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga: By-passing the Host VI when passing data from the FPGA


I've created an FPGA VI that is counting pulses, read from a DIO, for a settable amount of time, for example 5 msecs.  I've created a Host VI that communicates with the FPGA VI.  I've taken all of that and created a DLL out of it to be used by a non-LabView application to communicate with my FPGA application.

However, what I'd really like is for the FPGA application to periodically send the pulse count directly to my non-Labview application.  Bottom line, I'd like the FPGA VI to do something like send an interrupt every so often to my non-Labview application, then have the ISR in my application update an internal variable in my application.

Is there anyway to by-pass the Host VI, and get data from the FPGA VI to go directly to my application?


Thanks,
Rick


0 Kudos
Message 1 of 2
(2,693 Views)

Hi Rick,

The only way to communicate with the FPGA VI is through the FPGA Interface VIs in the Host VI.  To use third-party software you need to create a DLL, as you have done.  It sounds like your current approach is the best option. 

Jennifer R.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,659 Views)