LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delay in write in Arduino?

For Arduino, LabVIEW LINX runs on a Windows host and communicates with it via the serial interface. The serial communication path and the jitter from Windows are causing the delay here. If you want to get a faster response of below 10ms, you should run the program on the Arduino directly, which is unfortunately not supported by LabVIEW LINX. You need to use the Arduino IDE.

If you don't want to learn text programming and want to stick with LabVIEW, you can switch to Raspberry Pi. LabVIEW Hobbyist Toolkit (or LINX) supports deploying and running VI on the Raspberry Pi. See Getting Started with Raspberry Pi and LabVIEW Community Edition

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 11 of 14
(501 Views)

Thank you for the reply.

The lowest clk I could make is 30Hz. With that the clk_out was more coherent but still not the same frequency. 

 

I think I need to find a way to created lower frequency clk (probably 10), or don't use labVIEW.

0 Kudos
Message 12 of 14
(495 Views)

Thank you for your reply ZYOng.

I didn't used LabVIEW for controlling Arduino. I am using Arduino and LabVIEW to do measurement for the circuit that I fabricated. To perform automated measurement.

 

 

0 Kudos
Message 13 of 14
(469 Views)

I tried making a clk with 10Hz frequency using LabVIEW like below.

I monitored the clk from digital pin of Arduino with scope, the period (on and of) of the signal seems ok (100 ms) but the frequency that the scope recognizes for the signal fluctuates between 5 and 16 Hz.

 

Capture3.PNG

0 Kudos
Message 14 of 14
(459 Views)