PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

error using VI rt fifo create

Why do I get "error -1" when I am using the subVI : "RT FIFO create" with wired :
- type : array of double
- element in array : 8
- syze : 1
- name : default
- existing : false
I cheked that if I am wiring the same value to both "size" and "element in array" I do not get an error (ex : size=8, element in array=8). But if I want to change the size of the buffer (ex: size=1, element in array=8) I do get "error -1" which is not a critical stop error.
If someone could answe me it would be very helpful.
0 Kudos
Message 1 of 2
(3,538 Views)
Son,

One ne peut créer une FIFO avec un seul élément (size=1). Cela n'a aucun interet, car une FIFO à un élément, ce n'est plus une FIFO mais une variable.

Si vous spécifiez size = 2 et "element in array = 8", vous aurez une FIFO de 2 tableaux de 8 doubles.

Raphael TILLET
NI FRANCE
Cordialement,
Raphael T
Message 2 of 2
(3,538 Views)