01-30-2012 12:48 AM
I am very new to LabView and cannot understand why this error message continues to display each time I run the program.
Attached is my program with the error originating from the attempt at displaying the 3 different cursors
01-30-2012 04:25 AM - edited 01-30-2012 04:25 AM
@RocKyle wrote:
error originating from the attempt at displaying the 3 different cursors
1055 means "Object reference is invalid".
The problem that you haven't cursors. Just create three cursors, then error 1055 goes away.
Andrey.
01-30-2012 03:03 PM
Hello, RocKyle!
Andrey is right on the money - were you able to try this yourself?
01-30-2012 10:42 PM
Yes! And thank you. I thought that creating active cursor through the property node automatically created the cursors, but now my confusion has cleared up.
Thanks again!
01-31-2012 08:22 AM
You can create cursors programmatically if you need to, by modifying the Cursor List property. This is a 1D array of cursors. There's an example that ships with LabVIEW that shows you how to programmatically control cursors. Open the Example Finder and search for "cursors".