09-07-2005 05:47 AM
09-07-2005 06:01 AM
Currently, the only event which can be generated programmatically is the Value Change event. You can generate by using the Value (signaling) property of the control which the event is registered to. You can register your own event (called user-defined events) and fire those programmatically. Read the LV documentation for more information on that.
This is not available in LV 6.1.
09-08-2005 12:58 AM
Hi OlegUA, (and respectful greetings, tst,)
09-08-2005 02:17 AM
Yes, you can very easily move the mouse and simulate clicks using functions from user32.dll and I've even posted such examples several times, but moving the mouse to a specific point on the screen and "clicking" it is not a good way to do things. The full documentation for the windows API can be found in the MS developer network (MSDN).
User events are available in 7.0.
The events palette can be found inside the Application Control palette. If you want to find something inside the functions palette, click the search button which appears on the top of the functions palette (at least if you use the right view [that's the advanced view]).
09-08-2005 02:39 AM
@tst wrote:
...but moving the mouse to a specific point on the screen and "clicking" it is not a good way to do things.
Yes, but perhaps he has a PCI bus-analyzer for which there is no SDK, a solution is due in a week and all he has to do to is click mouse down over the "RUN" button in the GUI that came with the device - or something like that.![]()
Excellent - thank you for the directions, tst. A "Nut Brown Ale" is waiting for you in Southern California.
09-08-2005 02:55 AM
Obviously, there are good reasons for everything. For example, I used these features to create a "remote control" VI (it was relevant for a PDA where you can't use remote FPs). I just pointed out that this isn't a good way and that other options should be taken if available.
And I think I'll have to skip the ale, but thanks.