LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When can Obtain Notifier return error 1?

I am getting an error 1 from the following invocation of Obtain Notifier:

Obtain QuitN.PNG


Facts:

  • THis is running in a built EXE.
  • Instance Name is empty, so the Name input is just "QuitN".
  • The notifier "QuitN" is known to exist.
  • create if not found? is F in this case.
  • The element data type is a varient constant.
  • The failure has persisted for several days at a single installation.  Prior to this, there was no problem.  Other sites are not experiencing this problem
What conditions can lead to the error 1?
0 Kudos
Message 1 of 7
(3,958 Views)
I should add that this is LabVIEW 8.6.1.
0 Kudos
Message 2 of 7
(3,954 Views)

From the LabVIEW 8.6 Help General Error Codes, an error 1 generally indicates an invalid parameter.  However, I was able to run that code as an executable without receiving the same error.

 

Can you provide any more details on anything that coincided with the program not working?  Did anything change on the customer's system when they started receiving the error?

Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 3 of 7
(3,918 Views)
Are you really sure the notifier exists? The behaviour of sporadic occurance hint that there might be some sort of syncronization problems. Maybe something different goes wrong which in turn prohibits the first Obtain notifier or leads to a immediat release of the notifier, but this primary error is somehow overwritten by the error you're seeing.
0 Kudos
Message 4 of 7
(3,912 Views)

Your error 1 may not come from Obtain Notifier.

In the case that error in (no error) has already an error it is passed through.

Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 5 of 7
(3,907 Views)
Even if a notifier does not exist, that should return error 1100.  Waldemar's suggestion is probably the most likely.
Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 6 of 7
(3,883 Views)
Thanks to all those who have responded so far.The error is not on the incoming wire.  The error message (source) specifically says that the error occurred in Obtain Notifier.  And yes, we know the notifier exists.  Also, no, we can't repro it in-house; it normally works just fine.  The reason I posted the question was that, although error 1 is a documented possible error from Obtain Notifier, there is no explanation of how this error can be caused, since just about all inputs are valid, except the ones that specifically cause other errors, like 1100.
0 Kudos
Message 7 of 7
(3,854 Views)