LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ESRI Map Objects

Please can anyone give any guidance on using the ESRI Map Objects OCX in Lab Windows CVI?

 

I have installed the OCX server function, and the ESRI MapObjects LT 2.0 instrument is shown with many function panels, but then I am at a total loss as to how to use the various functions that are in the library.    I have managed to display a basic map of the world from a *.tif file on my UIR display, but would like to be able to zoom in and display other 'overlays' (specifically satellite orbit paths which I am deriving from latitude and longitude data) details on the maps.

 

What callbacks need to be used (presumably derived from a mouse click and drag for the 'zoom'), and how do I implement them?

 

Any help will be very welcome!

 

Many thanks,

 

Allen Cherry

0 Kudos
Message 1 of 3
(3,651 Views)

Hi Allen,

You application sounds very interesting.

I have been looking into this for you but unfortunately there is no-one internally at the UK Branch of NI who has any experience using the ESRI Map Objects OCX functions.

 

Hopefully somebody out in the community has some experience using this software that they are willing to share.  Alternatively can I suggest the ERSI support site and community here.

The site seems to have a good range of resources related to using the Map objects, for example I found a range of sample programs here on the site.  It sounds like you have the basic functionality working so hopefully there will be some documentation or example relating to the functionality that you require.

If you have any issues integrating the code with LabWindows please let us know.

 

Good luck with the application.

Best Regards,

 

John P

AE

NI

------
John.P | Certified LabVIEW Architect | NI Alliance Member
0 Kudos
Message 2 of 3
(3,615 Views)

John,

 

Many thanks for your reply.  I had already visited the ESRI sites you mentioned - virtually all of the code suggestions there appear to be for Visual Basic and C# rather than 'C'.  I am not familiar enough with Visual Basic or C# to write the same functions in CVI 'C'.

I hope that there is someone out there who can help!

 

Perhaps the fundamentals of the OCX registration will be the same as with other programs..... but even there I will need some assistance!

 

Best wishes,

 

Allen

0 Kudos
Message 3 of 3
(3,610 Views)