LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Typedef FPGA VI Reference Does Not Retain Interface Definition

There seem to be a bug with the when typedefing a FPGA VI reference and importing an interface from a bitfile.

 

Steps to reproduce:

 

Have a previously typedef'ed FPGA reference inside a cluster as a member variable in a class.

 

- Configure the FPGA Ref typedef

Overview.JPG

 

- Import a a new Interface from a bitfile

 

ImportFromBitfile.JPG

 

- Apply the changed FPGA reference typedef onto the class

- Save all.

- Close the class, alternatively restart LabVIEW

- Start LabVIEW, open the FPGA Reference typedef.

 

ChangesNotPermanent.JPG

 

- Possible bug is that the typedef refers to the old interface for some reason?

 

Br,

 

/Roger

 

 

 

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

Wherever you have an Open FPGA VI Reference, do you have the option checked to bind the host FPGA reference to that type definition?  Somewhat confusingly, it is the Open FPGA VI Reference that configures that type definition, not the other way around.  If you bind the Open FPGA VI Reference to a type definition, update the interface in the Configure Open FPGA VI Reference dialog, and don't touch the type definition.

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

@nathand wrote:

Wherever you have an Open FPGA VI Reference, do you have the option checked to bind the host FPGA reference to that type definition?  Somewhat confusingly, it is the Open FPGA VI Reference that configures that type definition, not the other way around.  If you bind the Open FPGA VI Reference to a type definition, update the interface in the Configure Open FPGA VI Reference dialog, and don't touch the type definition.


 

 

I guess my problem is if I configure the typedef'd FPGA VI Reference with another FPGA interface (FPGA VI front panel + FIFOS) to be of another type and save, it should _not_ revert stuff back to the interface that was before? If it would be the expected behavior, why have it changeable in the first place?

 

FPGARef.JPG

 

See image above on how I open the FPGA Ref's.

 

Br,

 

/Roger

 

 

 

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