• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 

How is nrGsm and devicebox linked together?

Started by henry64, December 28, 2009, 02:55:10 pm

Previous topic - Next topic

henry64

How does nrgsm know what comport to use? It's not clear to me how the demo actually links the components, except from those where you can select the "linked" component e.g. ntlogfile or visualout.

If I have to create a tnrgsm in a thread, do I also need to create a nrDeviceBox and a TnrComm?

And how do I set the nrGsm to use the right "device/com" if the server have multiple gsm devices installed (one device for my application) and other devices for other applications?

Could you show an example on how to set this up in a thread?

Roman Novgorodov

Hello Henry64

TnrGsm component should be attached to DataProcessor property of TnrComm or TnrBt components.

If you will take a look at source code of GSMDemo project you can see that.

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

henry64

So to answer the question,

I need to create one tnrcomm and one tnrgsm and set the dataprocessor property of tnrcomm to tnrgsm, right?


Roman Novgorodov

DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.