LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help

Hi Toni,

no problem. Now there is the query vi and a global missing. Smiley Happy

Mike

0 Kudos
Message 11 of 17
(910 Views)
Hi Mike
 
I didn't understand what do you mean there is the query vi and a global missing . can you please give more details. what should i do ?
 
Toni
 
0 Kudos
Message 12 of 17
(904 Views)
Hi Toni,
i only mean that there are the following vi´s are missing. "C844_query.vi" and "C844_PortGlobe.vi". That´s all. Maybe you can upload them.
 
Do you know where the error from yeterday occurs??
 
Mike
0 Kudos
Message 13 of 17
(902 Views)
Hi Mike
 
I am still working on it . I have to clear the memory. I am trying to write *STB? in query.vi to clear the register after that i stoped the axis maybe it works, but everytime i stoped the axis ,  i have to shut down all the vis and to restart  them once again.
I noticed something that if I stoped the axis and restart the code again , the axis moves the rest of the first step + the new number of new step.
 
TOni 
 
 
Download All
0 Kudos
Message 14 of 17
(898 Views)
Hi Toni,
there is still one vi missing (C844_receive). Did you find the VI where the error occured?
Mike
0 Kudos
Message 15 of 17
(870 Views)
Hi Mike
 
yes I found the error . thank you a lot man .
I have another question .
1) to stop the axes I have to click with the mouse on the STOP buttom. is there any possibility to active this buttom using ALL the Keys on the keyboard and not just only one key (e.g. ESC)
2)The STOP command works like an emergency stop-switdch and I require to close the VI after the buttom is clicked.
any idea? ( I read about Quit labView)
 
Toni
 
 
0 Kudos
Message 16 of 17
(865 Views)

Hi Toni,

to use more than one key you can use a sequence structure. There you can handle all key down events. To close the vi after stop it, you can use the reference of the vi and set the property FP.open = false, after that close the reference.

Mike

Message 17 of 17
(856 Views)