Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9870 module

No..

how recompile it ?

0 Kudos
Message 21 of 32
(3,346 Views)

 

I can't drag the port from the project window into the FPGA diagram!! i don't know why!!

I think that something got messed up when i copied the example. Is there some rules to follow for copying??

 

should i restart?

0 Kudos
Message 22 of 32
(3,337 Views)

Hi moonm,

If you look through the Example 9870 code, you can see that the 9870 isn't written to like a normal port on a device.  For the 9870 module, you actually have to use an FPGA I/O Method in order to write out of that port.  The same thing applies for reading from the port.  If you look through the FPGA VI, you should see how this is implemented.  I hope this helps.

0 Kudos
Message 23 of 32
(3,328 Views)

Hi

 

I moved the example that comes with LV of NI 9870 to my project.

But i have an errors list that i can't correct it.

 

i have attached images(.png) to clarify.

 

Thank you in advance for any help.

0 Kudos
Message 24 of 32
(3,315 Views)

Hi moonm,

I would encourage you to try to replace that broken IO Method with a new method.  Just go ahead in your project and add a new IO Method Node and select the port on your 9870 that you are trying to read or write from.  That should resolve this particular error.  Regarding the exclamation mark next to your bitfile, when you recompile this FPGA VI, this warning should resolve itself as well.

0 Kudos
Message 25 of 32
(3,308 Views)

Hi

 

"replace that broken IO Method with a new method" ..i dont understand, do you mean remove/re-add the 9870 module in the project?

 

What do you mean with "new IO Method Node" ? and how do that?

 

Also how recompile my FPGA VI?

 

 

I've attached a zip file of my project

regards

0 Kudos
Message 26 of 32
(3,299 Views)

Hi Ben-N

 

Now i correct the errors of the FPGA VI by doing that:

 

hmd.png

 

But i still have a compilation problem..i've attached an image(.png) of the compilation status

0 Kudos
Message 27 of 32
(3,293 Views)

Hi moonm,

The error you are getting is stating that the compile worker that you are trying to connect to cannot be reached.  Are you trying to compile this locally on your machine or are you trying to use a compile farm somewhere remotely?  If you are trying to compile locally, do you have the Xilinx Compile Tools installed?  If so, what versions?  Also, what CompactRIO controller and chassis are you using this 9870 on?

0 Kudos
Message 28 of 32
(3,278 Views)

Hi Ben N

 

I have the controller cRIO 9022 with the chassis cRIO 9113( virtex 5 LX50).

 

i've installed the xilinx compile tool 11.5

But now after almost 12 min of the compilation process this error appears

 

what does that mean?

compilation status.png

0 Kudos
Message 29 of 32
(3,267 Views)

Hi moonm,

The error you are getting is stating that the compiler cannot find a specific text file that should be a part of the compile worker.  Have you been able to compile bitfiles before?  If not, I would suggest that you do a repair of the Xilinx Compile Tools. Additionally, it looks like the issue may be associated with the build specification for that specific project.  Go ahead and create a new Build Specification and try to recompile.  Let us know what the results are.

0 Kudos
Message 30 of 32
(3,255 Views)