cancel
Showing results for 
Search instead for 
Did you mean: 

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

SteffenS
Member

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

Message contains an attachment

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!

1 REPLY 1
SteffenS
Member

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

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.