NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Queue Array in Teststand and Dequeue in LabVIEW

Hello Everyone,

 

I apologize if this has been asked before but i didn't find any solution so i posted it. So my problem is as follow.

I am inserting data into Queue (Array) in Teststand  and dequeue data in LabVIEW(For monitor purpose) but when i create NewpropertyObject and give Value Type as Array. it always give me null reference. For single number it work fine, to dequeue element. I have created example program that attached with this post. 

 

Thanks 

Kuddo welcomed
CLAD-CTD
Download All
0 Kudos
Message 1 of 2
(2,117 Views)

Hi Gab008,

 

In the documentation for PropertyValueTypes, it directly states "This is not a valid value for PropertyObject creation methods such as Engine.NewPropertyObject and PropertyObject.NewSubProperty", so you can't use this method this way. Instead of specifying array here, you want to specify the type the array will hold. Then, if you set the "asArray" input to true, it will generate an array of the type previously specified. Try changing the input to the NewPropertyObject call to "PropValType_Number" leaving the "asArray" input TRUE.

Regards,
0 Kudos
Message 2 of 2
(2,029 Views)