Charmed Quark Systems, Ltd. - Support Forums and Community

Full Version: Issues debugging IP based driver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm having issues trying to write an IP based driver. When I start the driver for debugging the IP address passed into InitializeSocket is always null. I wrote an IP driver a few years ago and don't remember having this issue. Am I missing something obvious?

Thank you
You have the manifest correctly set up for an IP address and the driver wizard is letting you enter one when you start the new session in the driver IDE? You are running in the separate standalone CML driver IDE, right? You can't debug drivers in the Admin Interface.
(09-20-2018, 02:06 PM)Dean Roddey Wrote: [ -> ]You have the manifest correctly set up for an IP address and the driver wizard is letting you enter one when you start the new session in the driver IDE? You are running in the separate standalone CML driver IDE, right? You can't debug drivers in the Admin Interface.

Dean,

Yep the manifest appears to be good and I am in the CML IDE and specifically in the InitializeSocket function. The value passed in that should be the ip addr is empty. The thing that is most curious to me is I have the same issue if I open and debug one of the IP Socket drivers in the system folder. I've also installed CQC on another workstation and I have the same issue. That why I'm thinking something I'm doing isn't right.
What CQC version are you on? Can you use the Tools menu and create a driver pack and e-mail it to support at our domain. I can import it and try it and see what I get.
(09-21-2018, 08:13 AM)Dean Roddey Wrote: [ -> ]What CQC version are you on? Can you use the Tools menu and create a driver pack and e-mail it to support at our domain. I can import it and try it and see what I get.

I am using 5.3.2. I have packaged up the driver and sent it to support. I've also got some screen shots of me loading the driver in the CML IDE that I will send as well. While I was capturing the screen shots, it did occur to me that i could try passing the ip in an additional CfgTPrompt field and assign that to m_IPConnect, since the CfgPrompts cvalues are getting into InitializeSocket(). If that works and I can get connected to this device I can at least keep moving forward.  
So the issue is that the Object Value column is only used for basic values (strings, numbers, or sometimes to show some basic information for more complex classes. But for classes in general it may or may not used. Click the ... column to see more details and it should be there.

Sorry about that. The CML IDE docs got sort of left behind in the massive reworking of the docs to HTML format, so some of these details can be a bit tricky. I hope to get that taken care of soon.