07-27-2018 08:49 AM
Hello guys.
I'm trying to read some industrial sensors with 4-20mA standard.
I tried to read them separately and it works well, problems come out when I try to read them both in the same VI.
This is the VI that I attempted to use to to read them both:
(attachment)
I tried it and the sensor at pin 11 works, while the one at pin 10 doesn't, perhaps I didn't use the array properly?
(I tried to post this on the LINX forum, but it seems to be quite dead)
Solved! Go to Solution.
07-29-2018 01:43 PM
I am not sure why you feel it necessary to convert an array to a cluster and then back to array!
Not saying that is what is causing you your problem, but it is completely unnecesary.
.
07-29-2018 08:05 PM
Thanks for the reply, so how can I split the output of the analog channels?
07-29-2018 08:49 PM
Index Array
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
07-30-2018 07:23 AM
But using Array Index will make me read one channel at once, won't it?
I meant if the loop is repeated 10 times and I've two indexes I'll read 5 times sensor 1 and 5 times sensor 2, also I need to implement an autoindexing
Anyway I'll try to study more the array part
07-30-2018 05:46 PM
Never mind guys, after studied array a little bit more I understood how to use them properly, it's quite easy and doesn't need any loop (unlike I thought)
After debugging the circuit a little bit I got the idea to try with another analog pin and it worked; so basically the problem was that one Arduino's pin somehow stopped to work