IF-RIO

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1 Occured

Hi,

I am continuously receiving error -1. I have tried rebooting the system but still it gives me an error.

Has anyone else experienced similar problem?

Could someone give me possible reasons for it and how to recover from this error without keep rebooting the system?

Thank You,
P. Patel.

Possible reason(s):

Data write Error: Readback Value does not match written value.
Register:0x1
Written Value:0x80
Read Value:0x84


Complete call chain:
     ni5640R Spectrum Analyzer.lvlib:ni5640R ADC write_register.vi
     ni5640R Spectrum Analyzer.lvlib:ni5640R ADC 01 - Chip IO Access.vi
     ni5640R Spectrum Analyzer.lvlib:ni5640R ADC Global.vi
     ni5640R Spectrum Analyzer.lvlib:ni5640R ADC Default.vi
     (HOST)6262006.vi
0 Kudos
Message 1 of 5
(8,164 Views)
Hi pranavhp

I don’t specifically know what the issue is, other than the computer is writing data to registers on the module, and then reading the values back for a check, and they are different.  You see this in terms of the 0x80 being written, and the 0x84 being written back.

Have you tried another example?

Can you change this example to use the other ADC?

Have you tried moving the module to another slot?

Jerry
0 Kudos
Message 2 of 5
(8,144 Views)
Just for reference, this error can also present itself if you try to call any of the IF-RIO configuration VI's without first having started the FPGA VI (if you are using only the Open option on the open FPGA VI reference and not Open and Run).

Xaq
0 Kudos
Message 3 of 5
(8,044 Views)
Hi,
 
I am recieveing the same error, every time I try to run one particular VI. I tried recompiling it, doesnt help. I try another example, works fine. I guess there is something wrong that I am doing while making the VI, but the message is way too abstract for me to find out whats wrong. So were you able to remove this error?
 
Thanks,
 
Shom
 
0 Kudos
Message 4 of 5
(8,010 Views)
Hi,
 
I think I found out the problem. Seems like the lvlib library files had been corrupted in my system. The files like ADC default, etc were included in that library. I replaced that IFRIO Template example folder with a new one, and built my program on that, and that works.
 
Shom
NI India
 
0 Kudos
Message 5 of 5
(7,986 Views)