10-09-2007 03:59 PM
@tbd wrote:
OK tst, please provide more than one link where AQ specifically answers why a class-interface of the property/method type (used for VI-server, AX, .NET, and VISA ) would NOT work for LV-classes.
How about this?
I can't find a link at the moment (maybe it was explained in person), but one good reason not to have a simple access to the class data values is that using accessor VIs allows you to do range checking etc. and keeps the class data protected. You could probably create an interface which would allow doing this through property nodes, but it would be a bit complicated to handle (you would need to match the names to VIs).
You've said "LV Classes are nothing like VISA, ActiveX, .NET or VI Server", yet here's a link where AQ says properties can be listed in property nodes.
I meant that they are nothing like the others in the sense that they are not by-ref, not that accessing them through the property node interface is a bad idea. In fact, I thought it was a good idea a year ago.
Here, Stephen, now you have two users who sometimes prefer text to icons. The property and invoke nodes don't always work very well (for example, when using the nested .NET or ActiveX hierarchies), but they have the advantage of being much easier to understand for those who know the language they're in.
10-10-2007 08:35 AM - edited 10-10-2007 08:35 AM
Message Edited by tbd on 10-10-2007 08:42 AM
10-10-2007 09:53 AM - edited 10-10-2007 09:53 AM
tbd,
A couple years ago I had a burn-in test station app where I used my older variant-based test exectuve re-entrant-ly. It was a 24 channel burn-in and each channel had to be independent of every other and be able to run a different sequence from every other, so it might be similar to the reentrant app you are describing. I can tell you, if I had to do it again I would definitely use LVOOP, but I'd definitely use a patch release 8.2.1 or 8.5.1 when it comes out. It always seems like things aren't quite right until the patch release! But for me there is a huge memory and performance savings from my LVOOP implementation just because all that LVOOP private data doesn't get copied all over the place.
Message Edited by billings11 on 10-10-2007 09:56 AM
10-10-2007 10:05 AM
Oh by the way I've posted this before on a seperate thread, but for that re-entrant app this may interest you:
Classes can be passed on queues!
02-21-2012 02:54 PM - edited 02-21-2012 03:02 PM
"I'm not too experienced with C/C++ code, but I disagree that you can switch
development platform without problems.
Especially if you take into account c#, MFC, and stuff like that.
Compiling a VC++ program with GNU C++ isn't always easy (although it should
if the program follows all the c++ rules).
Regards,
Wiebe."
It shows that you don't have much experience because C# is not part of C++, they are different languages. Also MFC is Microsoft specific, so if you code in ansi C++, it is not compiler specific.
02-21-2012 03:45 PM
And what is your point?
That is what he said, that he is not too experienced with the C family of languages.
02-21-2012 04:01 PM
The point would be that they made an incorrect statement.
02-21-2012 04:28 PM
So. They said they weren't experienced with C. So are you going to take their word as Gospel?
Is there a reason why you keep hiding behind newly created fake aliases every time you comment?
Please say something constructive or stay off the forums.
02-21-2012 04:51 PM
@gls wrote:
It shows that you don't have much experience because C# is not part of C++, they are different languages. Also MFC is Microsoft specific, so if you code in ansi C++, it is not compiler specific.
It seems pretty pointless to nitpick a single 5 year old post that is pages away from your comment (embedded in a long thread of interesting discussions!) and most likely stale and irrelevant in the grand scheme of things. Where in the quoted post did you find a statement that "C# is part of C++"??? I don't see it. 😮 No incorrect statement was made here (at least not by Wiebe). 😉
Let's keep the forum relevant! Thanks! 🙂