11-27-2018 06:06 AM - edited 11-27-2018 06:09 AM
Wrong poly instance too. That daq read outputs a 2d array of dbl. There are multiple channels in the task. The queue data type should be array of waveform and the DAQmx read n ch n samples wfm.
11-27-2018 07:41 AM
Now that I'm at a computer,
Just drop an array constant and drag the waveform into it, rewire and you are fixed!
11-27-2018 12:57 PM
@BertMcMahan wrote:
Don't use Build Cluster Array, just use Build Array.
Good evening (:
maaaaaaaaaaaaany thanks for that hint Bert, of course it worked. So i further can keep on running.
11-27-2018 01:52 PM
@UliB wrote:
Hi Zottel,
as BertMcMahan already wrote: You have to use 'Build Array' (Array Palette, 2nd row, 2nd column).
By the way, if you hover with the mouse pointer over a wire you get information for the data type in context help window. If the wire is broken you get information why the wire broken.
UliB
Hey Ulib,
many thanks to you as well. but let me explain myself:
indeed i know that context help and i am using it as good as i can. but sometimes, especially if you are a "newbie noob" in a topic, it's not enough to read:
source type array blaaa; sink type waveform blaaa;
sometimes you don't know how to start, even if you know your target state like Waveform/Array of Waveforms blaaa. i'm practicing via trial-and-error method all day long and obviously i'm not good enough in any case...
anyway i'm not a kind of a "lean back'er" ( : and have read much guides, did many simple examples and so on.
so thanks for all your patience, i'm just missing the implicitness in that "labview" thing right now.
11-27-2018 02:09 PM
@Yamaeda wrote:
@Zottel wrote:
aaaaaand Yamaeda:
I'm blushing. But i dont think so, e.q. i still use "on" on everything =D; english tenses? uuuuhhhh ^^ practise makes perfect and i'm missing practise
greets.
i'll send feedback, whether i could make the labview thing or not
We all makes mistakes. Yours were very minor. A couple of 'on' too much, a 'a' instead of an 'an' and german Word flow in the last sentence. Still, this is a forum, not an English paper and i've seen/Heard native English write and speak with plenty more errors. 😄
(I'm in no way perfect, i'm Swedish ;))
So, it seems you want to 1 Signal to your queue, but is Reading out a 1D Array of signals (a, an? by logic it should be an, but isn't the expression 'a one'?). Either change the polymorphic instance to a singular signal or simply use Index Array to get a singular one.
/Y
thank you very much yamaeda 😃
i'm with you.
at this point i changed the array thing in front of the while loops, got an array aaaaand could wire it so far.
i placed a graph and a chart into "while" aaaaaaand at least i got accumulating data plots.
unfortunately i couldn't work really hard on it since last two days, because i had a lot of trouble with "advanced design suite" too ^.^ *sigh*
consumer loop:
- my next steps will be to collect data samples of 5 s on demand
producer loop:
- next step here will be to do not track and accumulate all data in a "live" chart/graph (caused by shifting register) but rather collect/plot maybe last 10 seconds
well, when i got down to work and got i trouble again, i'ld like to ask here again
11-27-2018 02:12 PM
@JÞB wrote:
Wrong poly instance too. That daq read outputs a 2d array of dbl. There are multiple channels in the task. The queue data type should be array of waveform and the DAQmx read n ch n samples wfm.
yeah, this should be what i've put into the machine.
i'll upload a picture of current state tomorrow, when i hopefully got at the desktop
11-27-2018 02:15 PM - edited 11-27-2018 02:16 PM
@JÞB wrote:
Now that I'm at a computer,
Just drop an array constant and drag the waveform into it, rewire and you are fixed!
sounds interesting, i'm excited to give it a try at my next turn, hopefully tomorrow.
"there's more than one way to skin a cat" ^^
ty
11-27-2018 05:40 PM
@Zottel wrote:
@JÞB wrote:
Now that I'm at a computer,
Just drop an array constant and drag the waveform into it, rewire and you are fixed!
sounds interesting, i'm excited to give it a try at my next turn, hopefully tomorrow."there's more than one way to skin a cat" ^^
ty
with later versions of LabVIEW there is a right click option to "Change to Array" but that's not in 2009
11-30-2018 02:34 AM
As for the consumer - Index array is automatically indexed from 0 with +1 for each expanded node, so the 4 integers are redundant and just clutter the code.
/Y
12-05-2018 06:32 AM
@Yamaeda wrote:
As for the consumer - Index array is automatically indexed from 0 with +1 for each expanded node, so the 4 integers are redundant and just clutter the code.
/Y
Nice, thanks for that hint 😃