LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino Continuous Sampling.vi doesn't give the VISA Resource free

Hi,

I'm using an Arduino Leonardo Board and it's working fine with some other sample vi's I tried before.

Now I want to continuous  sample data on an analog Pin, but it only work once.

If I stop the VI, it seems like the COM Port or VISA Resource is still in use.

I can see the "?" in the VISA interactive control porgram.

A reboot always helps.

What is the difference in this VI and why is it behaving like this?

I've attached a working VI (Graph Data Mag.vi) and the VI, based on the continuous sampling VI, which causes the problem (Strom_mess2.vi)

Thanks in advance!

Download All
0 Kudos
Message 1 of 2
(3,015 Views)

I just want to say, that I build a new project, not based on this example.

This is working fine.

I think the problem with this sample is, that the arduino stays in the coninuous sampling mode and need to be reset.

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