flush*tmsrc [PickMaster 3]

Hallo,

i have a IRB360 with PM 3.32 for a ind. place-area and after switch the position-generator-input ( manual-mode) the Queue-Level increase with pos.-number in pattern. Normaly are max. 10 Placetargets.
I have tested with Flush*tmsrc, but i have a failure in syntax.

var itmsrc Placesource:
queueLevel:=getqueuelvl…
If QueueLevel>10 Then
Flush*tmsrc Placesource;
Endif
Can anybody send me the correct syntax?

Thank,s very much
Martin

First of all, when you like to use the FlushtmSrc instructin, you have to make sure you haven’t got any outstanding items (popped with GetItmTgt but never acknowledged).
The right syntax is:
Flush
tmSrc PlaceSource;

/Mats

Weird, this portal is changing the characters.
Instead of the asterix, it should be an ‘I’.

Thank,s Mats,
it run,s with these instruktions:

IF reg1>10 THEN
Flush*tmsrc ItmSrcData{placeindex{1}}.itemsource;
reg1:= GetQueueLevel(ItmSrcData{Index}.ItemSource);
Endif

Martin, Dresden