Hi Mjcoon
Thanks for coming back to me.
The "instrument" is the Total Station (a Land Surveying equipment that reads angles and distances...in this case the Nikon Nivo C). What has been done in the past is that you have a external handheld computer (like the Workabout from Psion, Recon from Trimble,etc) on which my program is running. This handheld is connected to the Total Station via a cable to the RS232 port on the Total Station or via bluetooth. All commands are send from my program to the Total Station to do something...i.e read the horizontal angle, read the distance, etc. The syntax of the commands are different for each model of Total Station...Leica, Topcon, Nikon, etc.
Because the onboard processing power of the Total Stations have become much more powerful, it is now possible to load my Surveying program onboard the Total Station.
My program runs fine on the Total Station, but I cannot get the Total station to respond to the program's commands. I think the problem is that I am addressing the wrong port...remember that the program is not connected to the Total Station anymore via Bluetooth or a cable.
How do you think should I go about sending a command to the Total Station when the program is onboard?
I hope that you can give me some advise please or push me in the right direction.
Regards
Michael