KaBoOom Posted March 1, 2005 Report Share Posted March 1, 2005 Hi ! I have a problem, and i hope someone can help me... I have an application which write 240 values in a table every 100ms. I want to read some of these value from an external application (VB or Labview). In order to do this, I use an active X server (the application which write the values) and a client (the application which read the values). That's work perfectly! My problem is the following: It's really slow, if i read more than 30 values in 100 ms my CPU works at 100 % !! I think that's come from the active X mechanism, is there something i can do to improve my program, or should i use another technologie ??? What are the others solutions.. i think dlls will not run faster ... Thank's for your advices !!! :headbang: Quote Link to comment
i2dx Posted March 6, 2005 Report Share Posted March 6, 2005 My problem is the following: It's really slow, if i read more than 30 values in 100 ms my CPU works at 100 % !! I think that's come from the active X mechanism, is there something i can do to improve my program, or should i use another technologie ??? What are the others solutions.. i think dlls will not run faster ... do you write into an Excel table via ActiveX ? that is really slow, and there is nothing you can change about that, except buying a faster CPU. if you want to write the values into a file on disk and evaluate it with excel later you should think about writing a *.CSV file ? best regards, cb Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.