LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using an FPGA Read Wirte Node from inside a OO Class

I'm trying to develop an object orientated program for a RIO.

 

In the broadest of terms I'm just try to use one of my VI's to change the status of a control on the FPGA. Even with putting the FPGA reference in to the encoder typedef I'm unable to select the control as the VI doesn't know which FPGA it's referenceing.

 

Is there a way to do something like this?

 

ClassFPGA.png

0 Kudos
Message 1 of 3
(2,294 Views)

You might try associating the FPGA reference with a type def.  I've not done this before, but this sounds like the application for it.

Chris
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 2 of 3
(2,288 Views)

I've just done as suggested here: http://forums.ni.com/t5/LabVIEW/Typedef-FPGA-VI-Reference-Does-Not-Retain-Interface-Definition/td-p/...

 

And that appears to be working.

0 Kudos
Message 3 of 3
(2,285 Views)