IF-RIO

cancel
Showing results for 
Search instead for 
Did you mean: 

Error DIO on 5640r with labview 8.5

Hi. I've a problem with DIO on my 5640r board. When i use DIO resource in a fpga vi, the compile doesn't start and appears this error message:



An internal software error has occurred. Please contact National Instruments technical support at ni.com/support with the following information:

Error 1063 occurred at an unidentified location

Possible reason(s):

LabVIEW:  Specified terminal not found in the object.


Thanks

0 Kudos
Message 1 of 17
(10,081 Views)
Hi luchigno
 
Can you attach a simple project showing this?  We have a number of programs in LV 8.5 that use the DIO lines, including the driver personality of the ni5640R.  I don't have enough information to guess what the problem might be.
 
What version of the ni5640R software are you using?
As well as ni-RIO and LabVIEW FPGA?
 
Jerry
0 Kudos
Message 2 of 17
(10,070 Views)
Hi Jerry!

On my Pc are installed:
- Labview v 8.5
- FPGA Module v 8.5.0
- Rio Drivers v 2.3.1
- 5640r drivers v 1.2

This is the first labview installation on my new pc. There are not previously version of labview on my disk.

I tried to use the "single tone output", with inside the configuration loop, the dio output (see attached file).


Thanks


0 Kudos
Message 3 of 17
(9,731 Views)
Hi luchingo,

I tried you project and was able to see your error by starting a compile. I have not determined why, but I was able to run a successful compile after deleting both elements on the block diagram (the FPGA I/O Node and the boolean indicator) and then re-creating them.

To place the FPGA I/O node, I dragged it from the project tree (FPGA Target / Digital Line Input and Output / DIO_1) to the block diagram and placed it in the configuration loop. Then I rt. clicked the output terminal and chose 'Create -> Indicator'. I then saved the VI and the project and compiled the FPGA VI. I stopped seeing the error.  Could you try this and see if it causes your error to disappear?

Is this how you originally wrote the code (using this exact sequence)?  Or did you copy the IO Node from a different VI? Or drop a blank IO Node and then choose the DIO_1 target? Or.. ? [I haven't been able to re-produce your error by starting with an unmodified version of the example.]

On a side-note, I'd recommend you add the RTSI_Ref_Clk to your project (rt. click on 'FPGA Target' and 'Add -> FPGA Base Clock') and create a separate timed loop configured to run on that clock. Then I'd place all of your custom DIO code in that loop and not mix it into the configuration loop. This will let you run your DIO at a different speed without affecting the configuration of the rest of the board.

~Philippe


0 Kudos
Message 4 of 17
(9,673 Views)
Hi Philippe.

I tried to re-create my FPGA VI in your way, but the problem doesn't disappear. I see always the error!
I don't understand!

Thank you....

 


0 Kudos
Message 5 of 17
(9,555 Views)
Hi lunchigno,


I have  exactly the same problem as you. This week u upgraded labview 8.2 to labview 8.5 (and all other components I use, LabviewRT, RIO) on my computer and PXI. When I try to run a simple program on the FPGA module of the PXI , a program that used to work perfectly before I updated Labview, it produces the same error that you have. When I remove all I/O Nodes from the program, it compiles again. Placing the I/O nodes back into the program by any method (dragging from project explorer, opening from function diagram), brings back also the error.

This is the generated Error:
An internal software error has occurred. Please contact National Instruments technical support at ni.com/support with the following information:
Error 1063 occurred at an unidentified location
Possible reason(s):
LabVIEW:  Specified terminal not found in the object.

Hopefully, somebody can help us with this strange problem.

Regards, Sebastiaan.
0 Kudos
Message 6 of 17
(8,993 Views)
Hi luchigno
 
Can you try compiling this version of your VI?   It compiles without any problem on my computer.  Your original project had the same issue that Philippe said he saw.  In my case, I simply added a new FPGA I/O Node from the Functions palette, and then right clicked on it, and selected “Select FPGA I/O” and then the DIO that is in the project.  It compiled without any issue.
 
In addition to seeing if you can compile my version, can you try adding the I/O node the same way I did?
 
There is definitely an issue that we are seeing here in terms of not being able to compile, but in all cases, we have been able to work around it here at NI by creating new controls/ I/O nodes.  So we also need to figure out why you can’t.
 
Jerry
0 Kudos
Message 7 of 17
(8,941 Views)
Hi luchigno, Sebastiaan
 
Do either of you have NI DSP installed?
 
Also, can you email me at: ni5640r.support@ni.com
 
Thanks
Jerry
0 Kudos
Message 8 of 17
(8,891 Views)
Hi Jerry,

I have got the NI Labview 8.2 DSP module installed, but not the Labview 8.5 DSP module. Is that the reason behind the problems?

Regards, Sebastiaan.
0 Kudos
Message 9 of 17
(8,210 Views)
Hi Jerry! I tried with your example and the compilation start.

But I have tried to create a new VI, with the explanation in your post, and it doesn't work.

I have dsp module installed. Then I have reinstalled labview 8.5 without dsp-module,  ni rio drivers, ni5640r drivers.

Now DIO seems to work!!

Then the problem was the DSP-module!



Thanks...

0 Kudos
Message 10 of 17
(7,794 Views)