LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

any event is there for continues touch

Let's see: your version is very old, I'm not sure I can remember how to do!

In the project window (where source and uir files are listed) you should have an Instrument menu with a Load... item inside: that should be the place where to load the Programmer'S Toolbox. Alternatively you should have a Library menu with a Customize... option inside: instruments can be loaded there too.

 

Search the product help: the process should be well described.



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 11 of 16
(2,847 Views)

I managed to find an online copy of CVI 5.5 user manual: you can download it from this page.

 

The process of adding instruments is described starting at page 3-35



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 12 of 16
(2,838 Views)

 

 

0 Kudos
Message 13 of 16
(2,466 Views)

While searching for an example of EnableExtendedMouseEvents I got in touch with the attached sample program that does exactly what you are searching for: it updates a graph while a button is continously pressed. You won't be able to execute it since it's for CVI2009 (you can look if it exists a version for your release on your disk: I would search in the help for the command), but you can look at MoveCB () function to understand how it works. Basically it intercepts EVENT_LEFT_CLICK to mark the start of the mouse press and EVENT_LEFT_MOUSE_UP to mark press end.

 

You can also look at the example shown on this page: it's rather obscure since you can only have program output in the debug window but it's another piece of code to study. To execute it you will probably need to rebuild the user interface in CVI5.5: it's basically a simple panel (name: PANEL) with a canvas inside (name: CANVAS; callback: CanvasEvents) and a quit button (name: QUITBUTTON; callback: QuitCallback).

 

 

** EDIT ** I already pointed you to the second example some posts ago: I leave it since I am adding some infos tha could help you to to run it in your system.



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 14 of 16
(2,460 Views)

thank you sir

i wil try

0 Kudos
Message 15 of 16
(2,442 Views)

Inside the attachment to my previous message the whole project is present: source, include, UIR, PRJ and CWS files.

How did you extracted the files from the compressed file?



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 16 of 16
(2,440 Views)