11-10-2009 09:34 AM
Bonjour,
j'ai développé une appli avec labview 2009, et FPGA module avec un Host VI et un FPGA VI sur une carte PCI-7833R.
J'ai créé un executable avec application builder 2009 en intégrant Host VI (et sub vi's, ctrls).
J'ai lu sur le forum qu'il intègre automatiquement les FPGA bitfiles qui de toute façon ne sont pas disponnibles dans les sources files de l'application builder.
J'ai une deuxième carte PCI-7833R sur un autre ordinateur non équipé de labview ou fpga module, j'y ai installé les drivers NI-RIO fournis avec carte et transféré l'executable de mon application. MAX détecte bien la carte. Mon application se lance mais ne détecte pas les infos de la fpga; il n'y a par ailleurs eu aucune compilation des fpga bitfiles sur cette carte.
Comment compiler le bitfile sur la carte ?
Comment faire reconnaître la carte par mon executable ?
Pourriez vous m'éclairer.
Merci d'avance !
11-10-2009 10:04 AM
hi,
i have developped an application with labview 2009, and FPGA module. It has a Host VI and an FPGA VI on a PCI-7833R target.
I have created a .exe with application builder 2009 with Host VI (and sub vi's, ctrls) as source files.
I read on forum that FPGA bitfiles are automaticaly added.
i have a second PCI-7833R on an other computer that doesnt have labview or fpga module, I installed NI-RIO drivers and my .exe. MAX detects the target. My application launches but doesn't detect fpga info's; it makes sense because there hasn't been any compilation on this target.
How to compile my bitfile on my new target ?
How to make my application detect this new card ?
Pourriez vous m'éclairer.
Merci d'avance !
11-10-2009 10:45 AM
What error do you receive when attempting to run your application?
-Bob
11-10-2009 10:52 AM
Since the new target is the same as what you compiled for there is no need to recompile.
Make sure the new target resource name is identical to the compiled resource name.
11-10-2009 10:52 AM
Also, for reference, in your 'Open FPGA VI Reference' VI are you opening the bit file or the FPGA VI?
-Bob
11-16-2009 02:54 AM
hi, thanks for your answers
the target on the other computer is a PCI7833R but not the same one as in the first computer on witch i created the application
I have no error messages when i run the application
I guess the 'Open FPGA VI Reference' opens the FPGA VI, maybe i should try with the bit file.
11-16-2009 04:38 AM
it doesn't work with the bitfile ...
The "open FPGA VI reference" help states that FPGA VI has to be compiled before this vi is called. On the first computer i used to compile manualy before launching the application. Is there a way to launch a compilation (if not already compiled) in HOST VI.
The strange part is that I have no error message whereas when i was on developement computer, i had an error message and it didn't work if i hadn't compiled the latest FPGA VI version.
11-16-2009 06:45 AM
11-16-2009 07:10 AM
The goal is to use my application on any computer equiped with a PCI-7833R; but not equiped with labview or FPGA module.
Therefore on the second computer I have only my EXE folder with the application.exe and data folder; I cannot access the Add targets menu or the FPGA compile server.
11-16-2009 09:06 AM
Arthur
You HAVE to compile the PCI-7833R on your development machine. Select the Target per my previous comment. You do NOT need actual hardware to compile for a specific target/