10-24-2005 03:03 PM
10-25-2005 07:02 PM
Hi plf,
This is an expected behaviour. If you develop your FPGA code targeted to a PXI-7831 but then specify it as a PCI-7831 in your host vi, the 'HW Exec Ref' link will break. Is there a particular reason why you would want to specify it as a PCI in your host?
Regards,
Prashanth
10-26-2005 05:43 AM
The Host is downloading the code and executing it on the FPGA using 'Open FPGA VI Reference' and then the reference generated as a result of this is being used by additional code running on the Host to monitor the status of the routine.
What I developed on the PXI version is now being used in another department that has both PXI and PCI versions of the 7831R and they would like only one set of source code... I had them make 2 'HW Exec Ref' controls and save them as strict typed defined controls one for the PXI, HW Exec Ref[PXI].ctl, and one for the PCI, HW Exec Ref[PCI].ctl. The source code was then updated using one of these strict defined controls named as simply 'HW Exec Ref.ctl'
Now when they go to use the code they must first copy the HW Exec Ref [xxx].ctl control with the proper bus type and rename it to simply 'HW Exec Ref.ctl' Upon loading the code the proper control is used and then it is a simple matter of selecting the target if needed my right clicking on Open FPGA VI Reference and making the corresponding selection. Not the most graceful approach at the moment but acceptable.
Peter
10-31-2005 07:09 PM