LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Upload Lifa base to arduino uno problem, Please Help Thank you

i want to use it on a project ( display of some values in labview , and command outputs from labview )

that's my project,

if you could help me please,

i really need your help,

Thank you

0 Kudos
Message 11 of 30
(2,756 Views)

When using LINX, you should use the LINX Firmware Wizard to setup the Arduino (do NOT try to upload the source code manually; technically you can but it's not recommend).

P.S.  I think you would probably need to downgrade your Arduino IDE to be able to successfully upload LIFA/LINX firmware.

0 Kudos
Message 12 of 30
(2,756 Views)

Hi,
why should i always use the LINX Firmware Wizard to setup the Arduino any time i want to test something,

it work once , but on the next try , error msg :

    

Possible reason(s):

LabVIEW was unable to connect to the LINX device using the following settings: 

Interface: Serial

COM Port: COM32

Please make sure that the LINX firmware is loaded on the device (Tools>>LabVIEW Hacker>>LINX>>Firmware Wizard)  that there are no other open connections to the device, then check the configuration settings, and try again. ....

and i use firmware again to make it work,

is that how it suposed to be ?

Thank you in advance

0 Kudos
Message 13 of 30
(2,756 Views)

now i lost ,

should i use lifa or linx, ( linx firmware should re upload at any time want to use it,)

can you help me with this:

i  want to use 4 or 5 analog inputs,

and use digital outputs/inputs,

how can i sktech it on labview ,

( im new with labview)

Thank you in advance

0 Kudos
Message 14 of 30
(2,756 Views)

You should be using LINX (because LIFA is not actively supported).

I've not used LINX all that extensively but I'm guessing that you might be using the abort button (the little stop sign) to stop your VI.  You should use the stop button that you create for you while loop to stop your VI.

0 Kudos
Message 15 of 30
(2,756 Views)

Hi Nathan,

even if if do,

sometimes stop stuck on runing,

i have this problems only with linx , and not lifa,

what the problem,

i even dump firmware manuely and automatic

0 Kudos
Message 16 of 30
(2,756 Views)

exaaa.png

this is an example of error i get sometimes,

in that error i have just setup firmware of linx from wizard,

vi is read of two analog input ( i use potentiometer )

bottom is from example, ( was working good )

but when i add top one for 2 analog read,

it not working,

maybe vi is not correct ?

let me know THank you

sorry for my english

0 Kudos
Message 17 of 30
(2,756 Views)

The error is occuring because you cannot initialize the the same Arduino twice.  You should only have one Init and one Close.  All LINX VIs should be inline with the others (each subsequent VI should use the resource from the previous VI).

0 Kudos
Message 18 of 30
(2,756 Views)

Hi Nathan,

yes it works, Thank you

0 Kudos
Message 19 of 30
(2,756 Views)

Hi Nathan,

i want to read digital ,

when i make this vi,

i put a wire in the digial pin,

but it's not stable,

( it go from true to fasle true false )

but when i put the wire on 5v it stop oscillation ( stick on true )

can you please help me ?

maybe there is a problem with the vi or something,

Thank you in advance

digital reda.png

0 Kudos
Message 20 of 30
(2,756 Views)