02-24-2008 06:20 AM
02-25-2008 03:35 PM
Hello Call,
The 5640R has two personalities which can be used by the 5640R driver or LabVIEW FPGA. If you install the current version of the 5640R driver and would like to use that personality, then you will not be programming the FPGA. I would suggest using the compiled driver to interact with the 5640R because the VISA commands would give you the same functionality. You would not gain anything by using VISA over the driver. However, the VISA commands are going to be a lot harder to implement.
What development environment are you using? There are shipping examples that could help you program the 5640R. Were you able to communicate with the 5640R previously? What are you trying to get the 5640R to do?
02-25-2008 04:47 PM
Hi Robert F!!
There is the error, when I'v trying to work with the 5640R driver:
Error -1073807346
Possible reason(s):
VISA: (Hex 0xBFFF000E) The given session or object reference is invalid.
I that, that I have wrong commands inside the 5640R driver, but I understand, likely that this is not the case/
I am using LabVIEW 8.2.1 Full, FPGA modul, instrument driver 1.0(I think)
Examples does not work too
I wasn't able to comunicate.
I want to do some like the spectrum anakiser example:)
Pleese, look the other post, probably you could understand, what's happening^)^)
http://forums.ni.com/ni/board/message?board.id=270&message.id=4113&jump=true
Thank you for any help!!:):):):))))))
02-26-2008 02:03 PM
Hello Call,
There are two sets of examples, one for FPGA and the other set uses the 5640R driver. Were you ever able to get any of the examples to work? I would recommend using the 5640R driver before trying to modify the FPGA examples.
How many versions of LabVIEW do you have on your computer? If you have LabVIEW 8.0 and 8.2 with the 5640R 1.0 driver, then you may need to change the directory of some files.
The installer only installs in LabVIEW 8.0, so you would need to manually copy the files from LabVIEW 8.0 folder to LabVIEW 8.20 folder.
Here is the list of steps you should follow to get the IF-RIO 5640 card working in LabVIEW 8.20 with NI-5640R Driver version 1.0:
1. Copy labview 8.0\instr.lib\ni5640r to labview 8.2\instr.lib\ni5640r.
2. Copy labview 8.0\targets\ni\fpga\pci-5640r to labview 8.2\targets\ni\fpga\pci-5640r.
3. Copy labview 8.0\vi.lib\labview targets\fpga\pci-5640r to labview 8.2\vi.lib\labview targets\fpga\pci-5640r.
4. Copy labview 8.0\examples\fpga\ni-5640r to labview 8.2\examples\fpga\ni-5640r
5. Run labview 8.2\targets\ni\fpga\bin\lvfpga_make_resource_cache.exe.
That error (-1073807346) is identifying that the resource name is incorrect. However it seems that you might just need to move some files around.
02-26-2008 05:18 PM
03-14-2008 02:29 PM
Hello again:)
thank you very match for all help!!!:):)
I have almost work, it was my diploma project, it have been compiling, and there was an error after it, I think it was the computer (slowly mashin:):))
But It has almost work!!
Thank you, Robert F !!:):):):):)