Jump to content

william wallace

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

william wallace's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi Michael Thanks for your suggestion.I've amend the VI according to your suggestion,and it worked well now. And also thanks for your comment. Because I only used VB brfore I use LabVIEW,and VB is my first programm develop tool.So I think that's my habit to resolve these question in that way(Use event structure).I will try to investigate the queues and notifers later.
  2. I use LabVIEW 7.0 This problem is that after you call the TMP_Main.vi more than one time,the TMP_Called.vi won't unload itself even after the TMP_Main.vi stopped.That means the event structure cann't handle the user event,"BooEve",which was registered in the TMP_Main.vi. see the attachment william
  3. Hi Michae: Thanks for your suggestion. But I think there also must be some misunderstanding First, I have tried all the squence,open VI->sent value->run VI / sent value ->open VI->run VI / sent value->run VI->open VI / open VI->run VI->sent value / run VI ->open VI->sent value / run VI ->sent value->open VI, before I creat that topic.But nothing happend,the case structure can't handle the event. Second, I can tell the case structure has worked well if the Tmp_called.vi stopped after the Tmp_called.vi stopped. This time I edit the VIs.And if the case structure handled the user event,Tmp_Called.vi will unload itself.Otherwise,the "NG" light will be lighted.I hope you try more than twice.Because sometimes,this structure can work normally at first run,but can't react the second time you call it. By the way,can you tell me where I can find the same information,just like how the user event work.I really want to know that. I haven't seen that in the manual which only tell me how can I use user event but not how the user event work. Hope for your help. william Download File:post-3059-1129859412.vi Download File:post-3059-1129859454.vi
  4. Dear all: I've made two VIs,Tmp_main.vi and Tmp_called.vi. A user event,"EveBoo",was created and registered in the Tmp_main,then I called and executed the Tmp_called.vi on which an event structure used to handle the "EveBoo" event was placed by VI server. After that I generated the "EveBoo" event,the strange thing happened.The case structure can't handle the evemt. I viewd the manual but can't find anything help.It didn't say that the event structure can't handle user events that were registered in other VIs The attachment is my VIs.Hope your suggestion. William Download File:post-3059-1129791584.vi Download File:post-3059-1129791618.vi
  5. Hi Raviļ¼š That's only a timeout error.You try the following step to see if it is helpful. 1.Make sure that the LAN work all right. 2.Amend the "timeout" property to make sure that your operation can contain the net delay. Best regards william
  6. Hi Aitor: Hope I got what you means. Try to use this to control the dialog in your case.Use the "Simple Error Handler.vi" and set the "Type of dialog" to 0("no dialog").This maybe helpful.See the attachment. Good luck. William
  7. Hi Entropy: You can use "function->time & dialog->one button dialog/two button dialog/three button dialog",or use the MS's API. William
  8. Hi Neville: Try to use the "save instrument" method in the "invoke node".See the attachment. Good luck. william
  9. Thanks for your help,Louis and lavezza.and now I know how to do it. William
  10. Dear all,I wonder If the VI can creat a new VI when it is running.Just like the form creat new form(IN Visual Basic). Though,I know that VB is OO but LV is not.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.