10-19-2006 02:36 PM
10-20-2006 08:51 AM
10-20-2006 09:25 AM
That definitely looks like the proper way to go, a little involved but thorough.
Is there another way? I have a proven documented application available to me that works under a DOS using the interrupts and I was hoping to reuse the code by replacing the interrupt calls with something CVI understands and I'd be done in a half hour versus a few days for a totally new application.
We have a few custom cards that are FPGA controlled I/O that we will be controlling with simple I/O register accesses and no interrupts. All I supposedly need to do is get the base address then use the offsets from that to communicate with the FPGA.
Thanks.
10-20-2006 02:49 PM
Howdy ljstrick,
Using NI-VISA is the recommended method of doing that low-level programming. If you don't want to use that method, you might check out the KnowledgeBase Register Programming a PCI Device and Finding the Correct Address.
We do have some low-level functions that can be found in the Library Tree under the Utility Library. Specifically check out the Port IO and Physical Memory Access categories.
For further information on low-level programming inside LabWindows/CVI, select Help >> Contents; Type register-based in the Index tab; Notice there is a whole section discussing register-based communication.
Hope this helps!
Best Regards,
10-23-2006 08:25 AM