LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

PointerList in CVI with ListType?

Solved!
Go to solution

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.

0 Kudos
Message 1 of 6
(4,057 Views)
Solution
Accepted by topic author susay

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.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 6
(4,048 Views)

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.

0 Kudos
Message 3 of 6
(4,043 Views)

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.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 6
(4,039 Views)

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

0 Kudos
Message 5 of 6
(4,015 Views)

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.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 6 of 6
(3,998 Views)