LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with recording the front panel

I'm using Camtasia 7 to capture the cursor movement in the screen. I can record the mouse movement but it dousn't record the cursor position when instead of the mouse, I am controling the cursor position with SetCursorPos dll in my vi. Does anybody know why?

 

Thanks,

Elnaz

0 Kudos
Message 1 of 8
(3,558 Views)

Why are you asking about an issue with Camtasia 7 on a LabVIEW forum?

0 Kudos
Message 2 of 8
(3,538 Views)

Because I'm recording the cursor movement on front panel. As I mentioned it captures cursor movement with mouse but not the cursor movements that is caused by my vi (SetCursorposition).

0 Kudos
Message 3 of 8
(3,534 Views)

I still don't see what this has to do with LabVIEW - you're using a third-party capture tool and you say the tool is not recording the mouse position. Are you saying this happens only with LabVIEW front panels? Perhaps the tool doesn't register changes in mouse movemements when the cursor is moved programmatically, whether it's done from a LabVIEW VI or a C program.

0 Kudos
Message 4 of 8
(3,526 Views)

I'll try to explain as best as I can. I do have a LabVIEW VI where I get the control of a cursor position using an external device. Inside that VI, I call the "SetCursorPos" dll to get the control of window's cursor position. Then, as a record I want to capture the cursor movement on the screen with that external device; however, the Camtasia software doesn't capture the movement caused by the external device. I thougt other people here may have used the software or other similar software for the same purpose and they may know the trick or the reason for this experience.

 

Thank you

Elnaz

0 Kudos
Message 5 of 8
(3,507 Views)

So basically you set the cursor position with SetCursorPos and then try to get the cursor position in LabVIEW using a dll provided by Camtasia and called from the call library function node? It'd probably help if you post your VI or at least a screenshot of it. Also, are you sure that SetCursorPos succeed? Do you check the return value of the function call?


0 Kudos
Message 6 of 8
(3,500 Views)

The Camtasia software doesn't provide a dll; it is just a screen recording software (like an internal camera) to capture what happens in the screen.

Yes, the SetCursorPos.dll does perfectly work and I can control the cursor position and go and click on some targets. 

The problem is that for some reason the cursor movement produced by SetCursorPos.dll inside my VI  is invisible to Catasia but Camtasia does capture the real mechanical mouse movements on the screen. 

0 Kudos
Message 7 of 8
(3,491 Views)

More likely than not the Camtasia software is using OS events to track movement of the cursor. When you programmatcally set the position in LabVIEW I doubt any OS event is firing, therefore the movement can't be tracked. I don't thing you can accomplish what you want. Also, as mentioned this is really an issue with the third party software and not a LabVIEW issue.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 8 of 8
(3,483 Views)