LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

interrupt labview occurences

Do anyone know where I can find the C example to fire occurences from a DLL.
 
 
0 Kudos
Message 1 of 2
(2,434 Views)
MgErr Occur(LVRefNum occ);
 
This is the prototype of the function. LVRefNum is the occurrence refnum you have generated somewhere in your VI
and pass to your external code.
 
But depending on what you want to do and if it is for LabVIEW 7.1 or newer you might be interested to use PostLVUserEvent() instead. Attached is a small project that uses this as an example but I believe there is also an official NI example somewhere here around.
 
Rolf Kalbermatter
 
 

Message Edited by rolfk on 10-23-2007 09:01 AM

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 2 of 2
(2,415 Views)