hexagon logo

DataPage+ 5.0 SP1 What is the difference between Listening - and Recieve All - ?

What is the difference between Listening - and Recieve All - ?


Do they do the same thing?


If they do the same thing do I need both in the same program?


Or do I have to choose between one or the other method?




From what I see Listening is gathering all Data live and ReceiveAll dumps all data at the end which would extend the running time of a program.
  • Hi Paul,

    The listening function (-L) was added as a command at the beginning of the program followed by a -end at the end, this way the data coming from Pc-Dmis was indeed live and sent the stats data as it measured, this shortened the cycle time.
    Unless this has changed recently (I don't use it any more due to changing jobs) you would add the external command at the beginning of the program with -l and end of your program with -end.

    Neil
  • -L and -end

    Are you just abbreviating or is this code?
  • You can use -l or -listening, -e or -end. At least that's what the code was when I last used it.
  • Thanks, will try it and get back with you. If you have any tips or tricks you I would really appreciate any input on Datapage. I have not used Datapage in over 10 years so it has changed some what. Its coming back to slowly but surely.
  • -E /-End is not required unless you're using it to finalize data inside a loop.

    Receive all ignores flow control (I assume you mean using the stats command at the end of the program without any flags.)

    Listening obeys all flow control and only reports what was ran.

    If you're using 2013MR1 and above and you have a valid ODBC data source then you can just use the stats command similar to the old Datapage but you just change it to Datapage + and point the program to the data source.
    If you do not have a valid ODBC datasource (basically a link to the database through SQL which can be created if you know how) this method does not work.
  • Hello All:

    I have stats/on on my program and the external command at the end of my program that works well. When I tried adding the external command at the beginning of my program with -l and -end at the end of my program, I got an error that the -l wasn't recognized. I actually copied the bottom part and paste it to the top with -l. Not sure why it's not working.

    Its our first CMM, 2015, DP+5.0