Page 1 of 2

TeeChart 8 activeX with any version of Labview?

Posted: Tue Mar 25, 2008 3:10 am
by 15047998
Hi out there -
Is anybody using teechart with any version of Labview - perferrable 8.x?
I do experience serious problems when registering more than one teechart event on Labview 8.5. One event (the first) wirks fine - the subsequent raise errors and dont work. It looks like a teechart related problem as other ax components work fine with Labview 8.5. I would like to know if events work with other versions of Labview -

thanks,

hugh

Posted: Tue Apr 01, 2008 12:59 pm
by Pep
Hi hugh,

I'm sorry , we're not very familiar with LabView, I know there are customers who use TeeChart with it, but don't know with which version.
Does it gives you a specific error ?

Posted: Tue Apr 01, 2008 2:02 pm
by 15047998
Hi Pep,

I was trying Teechart 8 with Labview versions 8.2 and 8.5 - and on both versions I get an error registering more than 1 event. But as said - more than one event - a single event works fine. Other than this limition is seems to work fine.

I believe that Labview users are a great market area for TeeChart that's worth looking into as their charting controls are very poor and super slow.

thanks,
:(
Hugh

Posted: Wed Apr 09, 2008 9:55 am
by narcis
Hi Hugh,

I have downloaded and installed an evaluation version of LabView 8.5 and will try to investigate the issue here. Could you please send us an example project we can run "as-is2 to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.

Teechart and Labview 8

Posted: Wed Apr 09, 2008 11:40 pm
by 15047998
Narcis,

Sorry - I tried to use both links from your last message - but cannot get either one of them working.

Actually the problem with Labview is in the design mode - just try to register Teechart events - if only one event is registed it works fine - if a second or more event(s) is registered - the VI is not executable anymore - thats the problem.

Is there any other way to send the demo file?

Thanks,

Hugh

Posted: Thu Apr 10, 2008 10:37 am
by narcis
Hi Hugh,

Yes, sorry. It seems we are having intermitent problems at www.steema.net and seems to be working fine now. Anyway, I tried creating and empty VI with LabView and managed to add a TeeChart Pro v8 ActiveX control on it. What I haven't found so far is how to register the events. Could you please let me know the steps I should follow to do that or point me to some documentation?

Thanks in advance.

Posted: Thu Apr 10, 2008 11:24 am
by narcis
Hi Hugh,

As an update, I found I should use Register Event Callback but I'm still having problems on how I should connect the TChart object and the Register Event Callback object.

Labview Problems

Posted: Fri Apr 11, 2008 1:52 am
by 15047998
Narcis,

I did send a sample demonstration on how to register events in labview - on steema.public.attachments,

Thanks,

Hugh

Posted: Fri Apr 11, 2008 7:57 am
by narcis
Hi Hugh,

Thanks for the example project. We could reproduce what you reported but w will need some time to learn the basics of LabView and understand what is happening.

BTW: Do you know if any other ActiveX control can have 2 events registered in LabView?

Thanks in advance.

Labview Example

Posted: Fri Apr 11, 2008 2:30 pm
by 15047998
Narcis,

Yes it can any number of Events be registered - I am using e.g. the office web components and it works fine. The way it works is quite simple: you just wire any object to the event registration tool - right click that tool and create a callback vi that contains the logics for that particular event.

let me know if I can be of any help -

Hugh

Posted: Wed Apr 23, 2008 2:58 pm
by narcis
Hi Hugh,

We have been looking at the issue but we don't have the cause of the error yet. It's quite difficult for us as we are not familiar with the environment. Do you have any support contact at National Instruments who can elaborate on this problem? We will continue investigating the issue here as well.

Thanks in advance.

Labview and Teechart

Posted: Wed Apr 23, 2008 7:47 pm
by 15047998
Narcis,

I talked to my sales rep for Labview - and he replied as follows...

The easiest way to get this going is if they initiate the support incident by calling our tech support team directly at 512-683-0100 or send an email to support@ni.com.

This way, the incident can be tracked and escalated if needed.

Hope all is well with you.

Best regards,

Guillermo

Guillermo Vigna
District Sales Manager
West Houston
Office: (281) 465-0597
Mobile: (832) 326-0986

Posted: Thu Apr 24, 2008 2:15 pm
by narcis
Hi Hugh,

Great, thanks! I've just written National Instrument's support department.

Posted: Tue Apr 29, 2008 3:11 pm
by narcis
Hi Hugh,

I just got a reply from local National Instruments support and that's what they said:
I analized the Test - RegisterTeechartEvents.vi made by your customer and I noticed that a reference is missing. This is why the vi is not executable if you try to register more than one event.
I modified the vi and now it is executable; you can find the modified vi with some comments in the attachments so you can forward it to customer if you want.
I've forwarded you their example.

TeeChart and Labview

Posted: Tue Apr 29, 2008 5:38 pm
by 15047998
Narcis,

That way to make the broken line dissapear - I do know for a long time - the problem is that even there is no error in the design mode and you can run the vi - only one event is working - ALL others are not. I will send you a correced vi including 2 events - and you can experience it yourself.

Please call them and have them testing 2 event - e.g. mouseUP and mouseDown. Anyway the way I did is a correct way of doing it otherwise otherwise they would not offer it.

If you wish you can give me the reference number of your support incident event and I can call them up in perso too.

thanks,

Hugh