LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a LV user event in CVI

Is this possible?  Or maybe register a LV vi within a CVI callback such as CNVCreateSubscriber

0 Kudos
Message 1 of 3
(2,701 Views)

I am not sure what your end goal is, but I dno't beleive this is possible.  Some potential ways to accomplish what you are looking to do would be to use data sockets from the CVI program to the LV program, have an event structure in the LV program waiting on the change value event of a boolean network shared variable and change the value from the CVI program, or build the LV program into an executable or dll that you call from CVI.

 

Hopefully one of these will be a workaround to what you are trying to accomplish.  Good luck

Jensen
National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(2,672 Views)

Hi,

 

just two notes concerning the suggestion of using data sockets:

 

  • DataSocket functions have been superseded by the Network Variable Library functions.
  • The DataSocket Library is not supported for 64-bit applications.

Wolfgang

 

PS: It might be of interest to NI that the documentation in CVI2010 is outdated: its help still lists all DS functions...

0 Kudos
Message 3 of 3
(2,669 Views)