04-29-2010 08:01 PM
05-13-2010 04:34 PM
Hello KavehV,
As you may or may not have figured out by now, when you call a dll from within LabVIEW, LabVIEW will not call the dll itself into the same memory location each time. This is something about LabVIEW that I do not know that you can change, but a better question might be, why exactly do you want this functionality? If you have a decent reason, this might be something to post on the LabVIEW forums as they could probably offer a better answer.
05-13-2010 04:53 PM
05-13-2010 04:56 PM
05-13-2010 05:00 PM
Based on the DBC file and various conditions, I dynamically allocate memory and read to/write from that memory to XNET interfaces. This gives me complete control over what gets sent and let's me access everything I need through hashes and pointers quickly.
Rearchitecting is kind of out of the question. It'd be easier to rewrite it from scratch (and even that isn't so easy).
05-13-2010 05:07 PM
05-13-2010 05:09 PM
05-13-2010 05:21 PM
Well KavehV,
I apologize that I cannot give you a better answer. I will encourage you though that if you think this might be useful to others to post it to the community site for others to use. Or if you don't want to do that, you can just post it on here and I will be happy to upload it for you. It also still wouldn't hurt if you maybe took a stab at the LabVIEW forums as there are some smart cookies out there and you might find someone who can give you an idea of how you can achieve what you are looking for with minimal effort.
05-13-2010 05:28 PM
I'm not sure how usefull it would be, and a lot of it is proprietary so I won't be able to post it.
On a side note, though, when are we going to be able to grab custom attributes out of a DBC file using XNET? I'm still waiting for this critical functionality to be implemented.
05-18-2010 10:47 AM
Hey KavehV.
I did some asking around here and did not come up with anything solid. Could you offer a few more details on what these custom attributes are that you're refferring to? Are you thinking just free fields that aren't neccessairly tied to any specific message/frame? More along the lines of a traditional database type file?