I can’t figure out how to adjust the sensor to scan the 270 degrees. I would like to start my own program, since the one they gave me is incredibly vague and non-informative. I have no clue where to start though!
I’m using a standard workstation, and communicating via USB. I have the sample code working, so I know everything is installed correctly. Unfortunately the sample code has next to no documentation with it, so it’s hard to understand where they get their values, and why they do what they do.
We’re using C#.
I’m starting to realize the complexity of this sensor. In years past, we’ve used SICK, and have been very successful. This is the first year, in about ten years, that we’ve used anything other than SICK. Very different, and very frustrating.
Thanks for the link. I’ve been there several times. I understand (I think) the SCIP protocol. What I don’t understand is the format to communicate with the device. Does it accept ASCII, HEX, raw binary, etc…
In the example code they gave me, it has this line:
(C++)
send_message, “MD%04d%04d%02d%01d%02d”
What does 04d represent? I know it is the starting index, but I need to know the exact value so that I can modify the starting and ending points. I think this is where my biggest problem is.
The unit communicates via ASCII formatted strings.
“%04d” actually is a code that means: “pad the number out to 4 digits with zeros” or “integer with 4 places zero padded”. They call this % formatting. Since that code snippet is taken out of context, hard to tell, can you paste the entire code?