NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing a FPGA Reference Back and forth from Test Stand

I am trying to pass a reference to a FPGA module from one step so I can start  an action in one step and stop it, or modify it in a latter step.  I Need to create a type for the FPGA VI
Reference but I can't seem to get the right type does anyone know how to do this?
 
Bruce Biendarra
0 Kudos
Message 1 of 4
(3,512 Views)
Hey Bruce,

Have you thought about using Functional Globals to pass the FPGA reference back and forth between VIs contained within the same project?  I'm don't have a strong FPGA background (our support structure allows us to choose product areas in which to specialize) but I do know that the FPGA reference is a pretty complicated type and I think that Functional Globals are the way to go.

Is there a good reason why Functional Globals wouldn't work? 

Derrick S.
Product Manager
NI DIAdem
National Instruments
0 Kudos
Message 2 of 4
(3,476 Views)

Biendarra,

Another way to do this would be to flatten the reference to a string before you pass it to TestStand, store it in a string propertyobject, and then unflatten it when you pass it back to LabVIEW.

You can find the Flatten/Unflatten to/from string in the LabVIEW palette under Programming»Numeric»Data Manipulation

Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 3 of 4
(3,455 Views)

I did finally get it to work by unbundling the handle and passing out the components to Test Stand and I then passed the information back into the other VIs I was calling and Re bundled the cluster.  It wasn't prety but it worked.  Adding a FPGA Handle type to Test Stand May be a good idea as I can see these devices used often in test systems because of their adaptability.

Bruce Biendarra

 

0 Kudos
Message 4 of 4
(3,449 Views)