![]() |
C++ in LabView
I don't really like LabView, but it is the only thing that seems to be working on our bot. WindRiver just does not work. Besides, the rest of the team is using LabView. Someone said that we could code C++ in LabView, but I have no clue how to do it. There are a few problems we are having with the labview software that I could fix in a heartbeat in C++. Anyone know how to open a C++ editor in LabView.
|
Re: C++ in LabView
Nope, I'm afraid your someone is mistaken. While formula nodes can do formulas and math like C, you cannot do what your asking. Try looking up Formula Nodes and seeing if they can do what you want.
|
Re: C++ in LabView
you can do library calls to DLL's compiled in c++, but i dont think thats actually what you want to do.
|
Re: C++ in LabView
Quote:
Greg McKaskle |
Re: C++ in LabView
Quote:
Still, from reading these forums, I gather that this is the prevalent opinion. Wind River is getting a completely undeserved black eye for their sponsorship. This is largely a result of very poor documentation supplied to the teams. I have to wonder if they'll even bother with FIRST next year. The other day, I saw a thread in which someone proclaimed that they 'hated' Labview. The poster was cautioned that this might lead to unspecified fallout from NI. I really doubt it. |
Re: C++ in LabView
Thanks. Just realized why WindRiver is not working. I forgot to add the while loop to make it execute every time. That would be a problem.
|
Re: C++ in LabView
there is "C" in labview, its more like a type of pseudo"c";
an if looks like Code:
if(b==1)Code:
if((B*A)>a>(B*D))oh and you declare variables Code:
int32 x;yes thats it, no boolean, no 4 bits, not 64 bits.. Your switches look something like this Code:
switch (x) Sadly i don't know that much about doing more complex stuff in the formula node/C node, just basic stuff. Me and a programming mentor spent about 3 hours just figuring out the syntax for that, I caution you to try more complex items, but i also wish you the best of luck. good luck cody |
| All times are GMT -5. The time now is 01:06. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi