LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Cursor From File.vi

Solved!
Go to solution

Does anyone have an example of how to use this function?

maxnoder1995_0-1726219564714.png

 

0 Kudos
Message 1 of 6
(261 Views)

Hi Max,

 


@maxnoder1995 wrote:

Does anyone have an example of how to use this function?


The help for this function is quite clear: provide a filepath and the hotspot position (MacOS requires a 3rd parameter).

What is your real question?

 

(Btw. the SetBusy and the DestroyCursor functions accept a CursorID input…)

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(249 Views)

I was not able to use this function and therefore I am asking for an example using .ani or .cur files

0 Kudos
Message 3 of 6
(207 Views)

Open LabVIEW.  Click "Help" on the menu bar, choose "Find Examples", and search for "Cursor".  Study the examples.

 

Bob Schor

0 Kudos
Message 4 of 6
(185 Views)

There is no example that uses the specific function.

0 Kudos
Message 5 of 6
(171 Views)
Solution
Accepted by topic author maxnoder1995

Mikrobi74_0-1726418677050.png

Mikrobi74_2-1726419567807.png

 

Could you please be more specific what are you asking about?

Mikrobi74_1-1726419498025.png

All you should do when you replace in example file Set Cursor.vi with Create Cursor From File.vi is

- any .png file converted to .cur format using for example https://convertio.co/ online converter

-- used for this example png was 128x128 pixel size

 

 

0 Kudos
Message 6 of 6
(147 Views)