LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Solenoid Control using LabView and Arduino

Plase find attached the script. It is basically the same as Daniel, with just a minor change to make it working three times.

Thanks for your help.

Flavia

Dr Flavia Cardini

Senior Lecturer in Psychology

Department of Psychology

Faculty of Science and Technology

Anglia Ruskin University

Cambridge

CB1 1PT

0845 196 2346

0 Kudos
Message 51 of 53
(941 Views)

It is generally not recommend to open and close the connection to the Arduino multiple times in a VI.  It appears to make it work because some of the pins are getting set back to off when you close the connection but I would not recommend relying on this behavior.

I have recreated the original Arduino sketch in LabVIEW using LINX for you to see a more proper execution of this the original code.

0 Kudos
Message 52 of 53
(941 Views)

thanks a lot!!!

I will try to sort out the problem I had before to upgrade to LINX and try your script!!!

super thanks!

Flavia

Dr Flavia Cardini

Senior Lecturer in Psychology

Department of Psychology

Faculty of Science and Technology

Anglia Ruskin University

Cambridge

CB1 1PT

0845 196 2346

0 Kudos
Message 53 of 53
(941 Views)