LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the message for an error and then cancel it

Hi everyone.
 
I am currently developing an application where I have to use a trigger (DAQmx). Now it can happen, that the user (who will operate the device later on) can activate the trigger without a valid source. After a timeout, he will get a quite strange message stating he either might want to wait longer (Error -200284 occurred at DAQmx Read). I would like to redefine this error.
 
So if this error number appears, he should get a message saying: "Your request couldn't be executed, since no valid trigger signal was found".
 
How would I do this .. Thanks for help 🙂
0 Kudos
Message 1 of 23
(3,127 Views)

Hi Somnatic

There are different ways. As you describe it, you'd like to cancel the occuring error (-200284) and show another message. I attach a vi with a view ways.

Hope this helps.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 23
(3,118 Views)
Thank you  - Perfect
 
Just what I've been looking for.
 
 
(How would I rate a reply?)
0 Kudos
Message 3 of 23
(3,116 Views)

Rating replies is very simple...

look at the bottom right of the message screen and click on the 5 star 😉

Message 4 of 23
(3,103 Views)

Of course, you must be signed in to see the rating radio buttonsSmiley Tongue

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 5 of 23
(3,092 Views)
Now how could I have missed that...
Good call AK2DM 🙂
😄
Message 6 of 23
(3,070 Views)
You may have been daydreaming about the next LV release... Smiley Very HappySmiley Very Happy
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 7 of 23
(3,064 Views)

euh...

Yes...

 

That was it..

Daydreaming of LV8..

Is that .... "normal"...

Maybe I need to seek help from a LV-Champion....

😄

Message 8 of 23
(3,061 Views)

JLV:

I see you were logged in. Thanks!Smiley Wink

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 9 of 23
(3,051 Views)

You're welcomed.

BTW, I see that you've been busy answering lots of questions..  Those bars are gonna turn to gold!!  😄

Enjoy the weekend!

JLV

😄

Message 10 of 23
(3,045 Views)