LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino LYNX error 5002, 5003 solution firmware question

Hi

 

Sorry for my bad english, I am french ( version en français en bas)

I installed an Arduino card with Labview and i had various problems.

Looking at the forums it wasn't so obvious.

 

So I'll make some clarifications.

 

You have to install:

 

- 1) 'Windows installer' that you will find on https://www.arduino.cc/en/Main/Software.

Once installed you will find, in the device manager under 'Ports (COM and LPT), your card

 with the name 'Arduino XXXX (COMx). With the Arduino program test an example program

(see on youtube)

-2) Then if it's not already done install VIPackage Manager that you find on

 https://vipm.jki.net/

-3) Then after launching VIPackage Manager, install 'Digilent LYNX'

-4) Then, and that's where it's poor described on youtube or the forum, after launching labview you have to go into tools - Makerhub - LYNX - LYNX Firmware Wizard then follow the instructions; it's very simple . At the end of the installation you can download an example program and run it no need to put a LED) with the tool 'animate the execution' you can check that the program is running well. Before running this sample program, specify the port on which the arduino is located or you will have a error 5002.

 

If you don't install the point 4 firmware you'll have the 5002 error or 5003.

 

It is imperative to stop LYNX program through the ‘close’ subprogram otherwise you'll crash the firmware and at the next run you'll have a 5003 error.

If you have a error you can’t restart except to redo point 4 (Makerhub - LYNX . . . . .)

 

Example you address an I2C module that is not installed you will have an ERR 54. This error will spread even if you later try the example program which does not address an I2C module.

 

 If anyone has a solution to avoid reinstalling the firmware it is welcome.

 

Thanks

 

Denis

 

Bonjour,

J’ai installé une carte Arduino avec Labview et j’ai été confronté à divers problèmes.

En regardant sur les forums ce n’était pas si évident que cela. Aussi je vais apporter quelques précisions.

Il faut installer :

  • 1) ‘Windows installer’ que vous trouverez sur https://www.arduino.cc/en/Main/Software une fois installé vous trouverez, dans le gestionnaire de périphériques sous ‘Ports (COM et LPT), votre carte avec la dénomination ‘Arduino XXXX (COMx). Avec le programme Arduino testez un programme exemple (voir sur youtube)
  • 2) Ensuite si ce n’est pas déjà fait installez VIPackage Manager que vous trouverez sur https://vipm.jki.net/
  • 3) Ensuite après avoir lancé VIPackage Manager, installez ‘Digilent LYNX’
  • 4) Ensuite et c’est là que c’est peu décrit sur les forums après avoir lancé labview il faut aller dans outils  > Makerhub > LYNX > LYNX Firmware Wizard puis suivez les instructions c’est très simple . A la fin de l’installation il vous est proposé un exemple que vous pouvez télécharger et exécuter (inutile de mettre une led)  avec l’outil ‘animer l’exécution’ vous pouvez vérifier que le programme s’exécute bien. Avant d’exécuter ce programme exemple précisez bien le port sur lequel se trouve la carte.

Si vous ne faite pas l’installation du firmware point 4 vous aurez l’erreur 5002 ou 5003.

Il est impératif de sortir du programme LYNX par le sous-programme close sinon vous allez planter le firmware et à la prochaine exécution vous aurez une erreur genre 5003.  D’une façon générale une erreur ne permet plus de redémarrer sauf à refaire le point 4 ( Makerhub > LYNX > …..) .

Exemple vous vous adressez à un module I2C qui n’est pas installé vous aurez une ERR 54. Cette erreur se propagera même si par la suite vous essayez le programme exemple qui pourtant ne s’adresse pas à un module I2C.

Si quelqu’un a une solution pour éviter la réinstallation du firmware elle est la bienvenue.

Merci d'avance

 

0 Kudos
Message 1 of 2
(3,048 Views)

So have you found the solution yet?

0 Kudos
Message 2 of 2
(2,282 Views)