07-13-2016 09:55 AM
I have installed the VISA15.5 for linux. Still could not control the serial. So I need to updateNIDrivers.
The output of "uname -r" is 4.2.3-300.fc23.x86_64.
I wondered that the file In /usr/src/kernels is 4.5.7-202.fc23.x86_64 and file in /lib/modules is 4.2.3-300.fc23.x86_64, they are different.
When I type updateNIDrivers 4.2.3-300.fc23.x86_64, the output is:
<11>Jul 13 10:50:11 nikal: ERROR: Error locating kernel sources for the requested kernel version (4.2.3-300.fc23.x86_64).
usage: /usr/local/bin/updateNIDrivers [--no-prompt] [kernelVersion]
When I typed updateNIDrivers 4.5.7-202.fc23.x86_64 , the output is:
<11>Jul 13 10:51:02 nikal: ERROR: /lib/modules/4.5.7-202.fc23.x86_64 directory not found.
<11>Jul 13 10:51:02 nikal: ERROR: Error locating kernel sources for the requested kernel version (4.5.7-202.fc23.x86_64).
usage: /usr/local/bin/updateNIDrivers [--no-prompt] [kernelVersion]
I am not good at linux, could someone tell me how to solve the problem.
Any suggestion would be good.
Thank you.
Li
07-13-2016 05:02 PM
not an expert, but my similar problem was that NI-VISA is a 32-bit package. Your Fedora installation must support 32-bit applications. If you try to run it without the compatability libraries you will get errors that make no sense. I suspect that update is looking for VISA compiled for your 64-bit kernel, which does not exist. Google "fedora 32 bit" and you will find plenty of help.
07-14-2016 01:54 AM
Thank You for your answer.
Could you say it more clearly. I do not understand it well?
I seem to be installed the 64 bit package. And the system was 64 bit.
Thank you
07-14-2016 08:56 AM
I may have spoken too soon. I see now that VISA runs on 64-bit systems, but can support only 32-bit applications. I misunderstood what NI was saying about the limitations of VISA, all they say is: "Currently, only 32-bit applications are supported on the x86-64 architecture.". I think that means that whatever you are using to access VISA needs to be a 32-bit app. I hope somebody else can verify that. What are you using?
My answer may have been incorrect. I don't have another answer for you, sorry.
07-14-2016 09:21 AM
I think I understood you already.
I would try it later,
Thank you for your answer.