Mighty79 Posted May 2, 2020 Report Share Posted May 2, 2020 Hey Community, at first I want to introduce myself. My name is Heiko from Germany. I also ask for understanding for my English as I'm not a native speaker. I was very happy to hear that the new LabVIEW Community Version was released, because you can now implement very simple projects with the Raspberry. Immediately I tried to connect my Raspberry 3 B to the LINX Target Configuration to LabVIEW. Unfortunately there encountered some problems during the installation, which and I hope you can help me with. After I had successfully connected to my Raspberry, I received the following message during installation. "The target LINUX partition is only 5GB of the available 7GB. It is recomendet to expant the partition." After I expanded the partion with the Configuraton tool, I received a message that ererything was sucesfull. But I have to say that I expanded the LINUX Partition manually bervore (via fdisk) to the mximum capacaty of my 32 GB card. After I continued with the installation I receided the following message. (copy from the log.txt) +++++Beginning of the Log.txt+++++ Connecting to target... Unable to connect to the target. Please make sure the specified Hostname/IP, Username and Password are correct and try again. If this problem persists please search then create a thread on the Makerhub forums at labviewmakerhub.com/forums/linx. Unable to connect to the target. Ignoring Error: 5000 LMH-LINX.lvlib:SSH Smart Open Session.vi<ERR> Unable to connect to the target. Please make sure the specified Hostname/IP, Username and Password are correct and try again. If this problem persists please search then create a thread on the Makerhub forums at labviewmakerhub.com/forums/linx. Device interrogation failed: Unable to connect to the target. OS Version: CPU: Systemd Version: Has Internet Access: False Device Type: Ignoring Error: 5000 LMH-LINX.lvlib:SSH Smart Open Session.vi<ERR> Unable to connect to the target. Please make sure the specified Hostname/IP, Username and Password are correct and try again. If this problem persists please search then create a thread on the Makerhub forums at labviewmakerhub.com/forums/linx. Connecting to target... Successfully connected to target. Successfully connected to the target. Target configuration updated. OS Version: 10.3 CPU: BCM2835 Systemd Version: Has Internet Access: True Device Type: Raspberry Pi 2 B Connecting to target... Successfully connected to target. Successfully connected to the target. Target configuration updated. OS Version: 10.3 CPU: BCM2835 Systemd Version: Has Internet Access: True Device Type: Raspberry Pi 2 B Warnings dialog cancelled. Install cancelled. Connecting to target... Successfully connected to target. Successfully connected to the target. Target configuration updated. OS Version: 10.3 CPU: BCM2835 Systemd Version: Has Internet Access: True Device Type: Raspberry Pi 2 B Connecting to target... Successfully connected to target. Successfully connected to the target. Target configuration updated. OS Version: 10.3 CPU: BCM2835 Systemd Version: Has Internet Access: True Device Type: Raspberry Pi 2 B Expanding file system. Rebooting Target... Successfully connected to target. Warnings dialog continued. blacklist spi-bcm2708is not present.dtparam=spi=on already exists.i2c-dev already exists.i2c-bcm2708 blacklist i2c-bcm2708is not present.dtparam=i2c1=on dtparam=i2c_arm=on already exists. Adding MakerHub feed... MakerHub Feed Already Exists Updating package index. This may take over 30 seconds depending on your internet speed... OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:2 http://archive.raspberrypi.org/debian buster InRelease Ign:3 http://feeds.labviewmakerhub.com/debian binary/ InRelease Fehl:4 http://feeds.labviewmakerhub.com/debian binary/ Release 404 Not Found [IP: 54.86.245.246 80] Paketlisten werden gelesen... Installing LabVIEW... Paketlisten werden gelesen... Abhängigkeitsbaum wird aufgebaut.... Statusinformationen werden eingelesen.... Rebooting Target... Successfully connected to target. Checking target status... Installation failed. If this is the first time the installation has failed try again. If this error persists search, then post on the LabVIEW MakerHub forumsat labviewmakerhub.com/forums/linx. Target configuration updated. OS Version: 10.3 CPU: BCM2835 Systemd Version: Has Internet Access: True Device Type: Raspberry Pi 2 B" +++++END of the Log.txt+++++ In the log text the device type Raspberry Pi 2 B is mentioned, but I have an Raspberry Pi 3 B. Even if the installation failed, I was able to start the sample project (LED). After I restarted the system, I was unable to establish a connection to the Raspberry and received the message "Connection to dhcpcd lost". What can cause this problem and how can I solve it? Quote Link to comment
Popular Post Michael Aivaliotis Posted May 3, 2020 Popular Post Report Share Posted May 3, 2020 I have the same board. This is what I did. Download the RaspBerry Pi Imager v1.2 and used that to format a microSD card used for the Raspi. Select the first recommended OS: Raspbian Boot up the Pi with keyboard and mouse. Walk through the startup config (installing updates, etc) and wifi setup. When asked to enter a new password, ignore this and just click next. Reboot as suggested. Go to RaspBerry Pi configuration and on the Interfaces tab, enable SSH Open a command prompt on raspi and type: sudo raspi-config Select 7: Advanced Select A1: Expand file system. (this will expand the file system if it's not already expanded) Reboot In LabVIEW select from the Tools > MakerHub > LINX > LINX Target Configuration Click the connection button and it should connect. Hostname: raspberrypi, username: pi, password: raspberrypi. These are all the defaults. Click the Installation button. Click the Update button on the installation page. it should go through the process of doing the update. At some point the raspi will reboot. this is part of the process. When the raspi reboots, the LINX target configuration dialog will lose connection and give an error. This is normal. it will take a while to reconnect. Eventually, it should come back. If not then click the Connection button and try to connect. The Installation panel should now show the installed version: Click on Launch Example. In LabVIEW, right-click on the Raspberry Pi Target and select connect. This should should show the deployment progress dialog and after connection a small green indicator will appear in the target tree You should be able to execute (run) the VI now. Everything should be good to go now. Sometimes you will try to connect, in the project, and then you will get an error not connecting. If that happens, just wait and try again. I find that the connection is more reliable if you use the IP address of the raspi instead of the DNS name. To specify an IP address, right-click on the Raspberry Pi target and select Disconnect. Then right-click again and select properties. In General, enter the IP address of the raspi. Then click OK. To find the IP address of the raspi, type: hostname -I in a raspi command prompt. I think the reason why the log message states Raspberry Pi 2 B, is because the LINX toolkit is old and that message was probably not updated to handle all the new boards that have come out since release? Not sure. i'm getting the same message on my system even though the board is Pi3. Quote Target configuration updated. OS Version: 10.3 CPU: BCM2835 Systemd Version: Has Internet Access: True Device Type: Raspberry Pi 2 B 3 Quote Link to comment
Michael Aivaliotis Posted May 3, 2020 Report Share Posted May 3, 2020 So I took a look at the code that pulls the device info and ya, my assumption was correct. Actually, not sure why they are even reporting on the model type. It should just return the generic type. Like Raspberry Pi. No need to report the exact model, since you will always be wrong and really, it doesn't matter. Quote Link to comment
Mighty79 Posted May 4, 2020 Author Report Share Posted May 4, 2020 Thank you for the reply and your support. I followed your instruction and I don't received any message concerning the partition. So the problem with the partition is solved. But before the installation was finished the following error message was shown. +++beginning of the message+++ Installation failed. If this is the first time the installation has failed try again. If this error persists search, then post on the LabVIEW MakerHub forumsat labviewmakerhub.com/forums/linx. Target configuration updated. OS Version: 10.3 CPU: BCM2835 Systemd Version: Has Internet Access: True Device Type: Raspberry Pi 2 B +++end of the message+++ Never the less the example project was running once. After rebooted the pi I can't get any connection to it. The strange thing is that I haven't changes any IP address or network settings. I also tried to post this problem to the MakerHub forum, but I haven't received any reply. Quote Link to comment
Mighty79 Posted May 4, 2020 Author Report Share Posted May 4, 2020 The main problem is that I lost the connencton to the DHCPCD after the installaton is finished the the raspi was rebooted. Quote Link to comment
Mighty79 Posted May 4, 2020 Author Report Share Posted May 4, 2020 254/5000 Ok i found the problem. Since the Raspi did not always connect independently in the explorer project, I replaced the host name "raspberry" in the target configuration under the network settings with the ip address. This has probably destroyed the DHCPCD host. 254/5000 Quote Link to comment
nagendra kothapalli Posted August 1, 2020 Report Share Posted August 1, 2020 Hi, I am using Raspberry pi 2B with Labview 2020 community edition,I could be able to connect to RPi but in the project explorer i am getting error when trying to connect and deploy Labview code to RPi please help if i have to install labview manually on the RPi or anyother method to work this connection I got stucked in middle of my work,please help on this scenario Screenshot attached, please some one help on this Quote Link to comment
hichem55 Posted October 22, 2020 Report Share Posted October 22, 2020 Hello Nagendra, I am facing exactly the same problem as you. Have you been successful to solve it? thank you. Quote Link to comment
Jimmy Chretien Posted December 17, 2020 Report Share Posted December 17, 2020 Hello guys, I had issues like that also. The 5V supply I was using was 2.1A, after changing for a 2.5A as specified the installation won't fail anymore, hope this helps. Another problem I had was that I had both LINX versions installed on my PC at the same time, make sure you're using the one from NI that works with LabVIEW 2020, the other one uses 2014. Jimmy Quote Link to comment
senovalitr Posted September 25, 2021 Report Share Posted September 25, 2021 On 03.05.2020 at 07:24, Michael Aivaliotis said: У меня такая же доска. Вот что я сделал. Загрузите RaspBerry Pi Imager v1.2 и используйте его для форматирования карты microSD, используемой для Raspi. Выберите первую рекомендованную ОС: Raspbian Загрузите Pi с помощью клавиатуры и мыши. Пройдите через конфигурацию запуска (установка обновлений и т. Д.) И настройку Wi-Fi. Когда вас попросят ввести новый пароль, не обращайте на него внимания и просто нажмите «Далее». Перезагрузитесь, как было предложено. Перейдите в конфигурацию RaspBerry Pi и на вкладке Интерфейсы включите SSH. Откройте командную строку на raspi и введите: sudo raspi-config Выберите 7: Advanced Выберите A1: развернуть файловую систему . (это расширит файловую систему, если она еще не расширена) Перезагрузить В LabVIEW выберите Инструменты> MakerHub> LINX> LINX Target Configuration. Нажмите кнопку подключения, и он должен подключиться. Имя хоста: raspberrypi , имя пользователя: pi , пароль: raspberrypi . Это все значения по умолчанию. Щелкните кнопку Установка. Нажмите кнопку «Обновить» на странице установки. он должен пройти процесс обновления. В какой-то момент распи перезагрузится. это часть процесса. Когда raspi перезагружается, диалоговое окно целевой конфигурации LINX потеряет соединение и выдаст ошибку. Это нормально. для повторного подключения потребуется некоторое время. В конце концов, он должен вернуться. Если нет, нажмите кнопку «Подключение» и попробуйте подключиться. На панели установки теперь должна отображаться установленная версия: Щелкните "Пример запуска". В LabVIEW щелкните правой кнопкой мыши Raspberry Pi Target и выберите «Подключиться». Это должно показать диалоговое окно прогресса развертывания, и после подключения в целевом дереве появится небольшой зеленый индикатор. Теперь у вас должна быть возможность выполнить (запустить) VI. Теперь все должно быть хорошо. Иногда вы попытаетесь подключиться в проекте, и тогда вы получите сообщение об отсутствии подключения. Если это произойдет, просто подождите и попробуйте еще раз. Я считаю, что соединение более надежное, если вы используете IP-адрес raspi вместо DNS-имени. Чтобы указать IP-адрес, щелкните правой кнопкой мыши цель Raspberry Pi и выберите «Отключить». Затем щелкните правой кнопкой мыши еще раз и выберите свойства. В общем, введите IP-адрес распи. Затем нажмите ОК. Чтобы узнать IP-адрес raspi, введите: hostname -I в командной строке raspi. Я думаю, что причина, по которой в сообщении журнала указано Raspberry Pi 2 B, заключается в том, что набор инструментов LINX старый, и это сообщение, вероятно, не было обновлено для обработки всех новых плат, которые вышли с момента выпуска? Не уверен. Я получаю то же сообщение в своей системе, хотя на плате стоит Pi3. I did everything as you wrote and everything became ok. thank you, I tried for several hours before I read your message. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.