09-28-2010 02:21 AM
I want to build PointerList like QList in C++ QT.
I read something about a ListType in LabWindowCVI. But "ListType PointerList;" do not work in my structure.
Error: syntax error; found 'identifier' expecting '}'.
Unrecognized declaration.
Can someone explain me this type I do not found more informations.
Solved! Go to Solution.
09-28-2010 03:32 AM
The declaration ha apparently no problems; the compiler could point to that line but the error may originate some line before: revise the file where this line is checking for possible errors (you may want to temporarily exclude that line from build woth Ctrl+E and see if the error is then found elsewhere).
Documentation for Lists functions can be found in the online help for the functions in the programmer toolbox. A sample project is available in <cvisampledir>\toolbox\list.cws for you to study and experiment with this instrument.
09-28-2010 04:50 AM
Now I know the program could not run when you need the toolbox.fp. I include the Toolbox and the related header file and now use the ListType is no problem.
Sorry it I had to interfere, because such a trivial thing.
The sample file help me very much. But I do not find it by myself with the seachword "list". Somehow I never find an answer in the online help or the sample files even though they are there. Only the forum seach is very well.
Ok now I know I can found all ListType informations in the connection of the programmer toolbox. It is perfect for my pointer list. Thank you.
09-28-2010 05:24 AM
It is to be said that the online help (Help menu or F1) does not covers the programmer's toolbox at all! Nevertheless, all functions in this instrument have their specific help, which as you know can be accessed right-clicking on the function panels or on any of the parameters on them.
I strongly suggest you to give a deep look into the Programmer's Toolbox, as there are a lot of useful functions in it: after discovering its existence back in CVI 4 or so I added it directly to my library list so that it is automatically added to each project I create: I am extensively using several of its funciton in my applications.
09-28-2010 11:01 AM
Roberto,
Actually, you should be able to see toolbox functions in the online help. If you hit <F1> over some function, say, ListCreate, does it not take you to the help topic? You should also be able to get to it by clicking Help>>Online Function Help from the function panel.
In the table of contents of the help, the toobox help is in Tools Library>>Programmer's Toolbox.
Luis
09-28-2010 02:13 PM
Hi Luis, I know how to get the help on specific functions / parameters: that's what I told to susay before.
I missed the library help in the help TOC: either it was not present in CVI8.5 which I am uctually using or I mislooked it. Thanks for pointing us to it.