Hello olivier66,
Here is an example that might help. It uses the data queue ptbypt function. You write a single element into the vi and it outputs an array. You can specify how many points you want in the output array. I'm not really certain if you want only the last two points or the first point to be constant.