LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga stand alone application

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 !

0 Kudos
Message 1 of 12
(4,968 Views)

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 !

0 Kudos
Message 2 of 12
(4,953 Views)

What error do you receive when attempting to run your application?

 

-Bob

0 Kudos
Message 3 of 12
(4,944 Views)

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.

Visualize the Solution

CLA

LabVIEW, LabVIEW FPGA
0 Kudos
Message 4 of 12
(4,939 Views)

Also, for reference, in your 'Open FPGA VI Reference' VI are you opening the bit file or the FPGA VI?

 

-Bob

0 Kudos
Message 5 of 12
(4,937 Views)

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.

0 Kudos
Message 6 of 12
(4,880 Views)

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.

0 Kudos
Message 7 of 12
(4,875 Views)
Since the Target- PCI-7833R is different than the original PXI-7833R you will have to recompile for the new target. Select new from the Add Targets menu.
Visualize the Solution

CLA

LabVIEW, LabVIEW FPGA
0 Kudos
Message 8 of 12
(4,862 Views)

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.

 

0 Kudos
Message 9 of 12
(4,849 Views)
blank_page

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/

 

 

Visualize the Solution

CLA

LabVIEW, LabVIEW FPGA
0 Kudos
Message 10 of 12
(4,838 Views)