LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write to tdms file from queue?

Hi, yes, you are right, ctreating queue every iteration is problem, but when i put obtain queue out of loop, i get problem with data type. I dont know what use as input to this in. Element data type to obtain queue need data type of data what i want use in queue.
0 Kudos
Message 11 of 14
(1,363 Views)
In your block diagram, you are using a 2-D array of type I32.  You can put the obtain queue before the loop and just wire a constant of a 2-D array with representation I32.  The constant can even be a 2-D array that has no elements.  Just right click the wire you have now and select Creat Constant.  Move that constant outside the loop and wire it to the obtain queue that you move to outside the loop.
 
Try it and if you still have problems, please post your code at that point.
0 Kudos
Message 12 of 14
(1,357 Views)
Thanks You! that sound really good, its good trick with right click on wire and create constant, thanks, i was looking for a data type in function palette, but no effect before :).. so I will tray it and write back how its going. bye for now
0 Kudos
Message 13 of 14
(1,352 Views)
Hi! So it is working :). thanks to all who give me some tip. Have a nice time, Martin
0 Kudos
Message 14 of 14
(1,337 Views)