07-25-2018 02:14 AM - edited 07-25-2018 02:19 AM
Hi all. I notice that the MakerHub LINX forum at the other site isn't very active --- with the last post currently dating back to 2-July-2018. So I thought I'd post here to see if someone could help me.
I'm using Labview with Linx with Arduino MEGA 2560, and managed to run an example VI (thanks to 'samkristoff') that demonstrates an "analogread" function (ie. a simple analog to digital conversion), which displays results of the A/D conversion on the front panel.
However, I notice that the indicator display only works (ie. shows values....numbers) when the error cluster wire is connected to the STOP button of the 'while' loop. I notice that if I remove (disconnect) the error cluster wire from the STOP button, this would then lead to blank display (no numbers popping up while the VI is running).
Until yesterday, I didn't even know that it was possible to connect 'error cluster' wires to STOP buttons of 'while' loops. So I have been a bit out of touch. The nice thing is that the example VI file does work. But I'm just trying to understand the reason for blank display (blank indicator on the front panel when the VI is running) for cases where the error cluster wire is not connected to the STOP button.
The first attached VI named 'LINX - Analog Read 1 Channel' is the original one (which works properly).
The other one ('untitled 4') is the one with the error cluster wire not connected to the stop button, which results in blank display (when running).
If anyone uses Linx with Arduino, then could you please let me know if it is actually necessary to have the error cluster wire connected to the STOP button in order to make things work properly?
Thanks very much in advance!
07-26-2018 01:41 PM
Hi,
LabVIEW forums do not support Arduino, however we have specialized forums that work more closely with Arduino. Try to post your question here:
LABVIEW INTERFACE FOR ARDUINO DISCUSSIONS
and you could look for documentation here:
LABVIEW INTERFACE FOR ARDUINO DOCUMENTS
Kind regards,
Mario_C
07-26-2018 02:15 PM
Did you select the right serial port?
Ben
(from SouthPark_PA)
07-27-2018 01:20 AM - edited 07-27-2018 01:33 AM
Thanks very much for your time and help Mario. Genuinely appreciated! I'll use those links that you kindly provided. I'm just on my other account right now.Thanks again!
07-27-2018 01:34 AM
Hi Ben! I used the right serial port, as the example file works just fine. But once the STOP button is disconnected from the error cluster bus ...... the result is blank indicator when the VI is running. The VI would just keep running, but no values show up on the indicator display. But once I re-wire the error cluster wire to the stop button..... the indicator display starts showing values again.
Kenny