LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX queue and events

Solved!
Go to solution

Hello,

Please see the snippet.  

I am trying to duplicate the top routine using 'primitives' as in bottom example.  Since the password-locked AX-Events vi's are buried in the vi.lib, just wondering if these useful sub's will be deprecated soon.

I cannot understand how to construct in my limited exposure to ActiveX and COM. 

Perhaps this has been discussed before, but not successful after a moderate search.

Thanks for any comments or links.

Chris

 

AX Events.png

0 Kudos
Message 1 of 5
(1,997 Views)

You've stated what you're trying to do but not what problem you're trying to solve.  What's the problem you're running into using the top option?

Generally speaking, it's a bad idea to go digging into vi.lib.  You won't get updates on whether or not those VIs are going to be deprecated and in many instances they're not tested for uses outside of how they're being used by NI VIs.  If you run into issues with them, you're mostly on your own and you're setting yourself up to have unexpected bugs in your code when they're modified/deprecated without warning.

 

If we know what you're trying to solve (rather than what you're currently doing in an attempt to solve it), it's easier to give you helpful feedback.  The only feedback I'd currently have for you is to stop going down the path you've started.  There's only pain in that direction.

0 Kudos
Message 2 of 5
(1,958 Views)

Thanks.

To be clear, I agree with you about 'digging' in the vi.lib folder.  I suppose that was my point.  

I have an instrument that sends a 10ms average of an analog data stream via serial port.  The software that interprets this data is an AX routine that requires a specifying a queued mode, an event to wait for, and an an interface to accept event data and display as numeric...then wait for the next event.  

I do not know how to do so using the vi's in the ActiveX toolkit.  The top vi's ib my snippet are in the current (2020) ver of LabVIEW and were used in the vendor supplied example from ver, 5.1.  They are obviously useful, but as you say, may be deprecated soon - looking for alternatives.

The examples I've found on-line are helpful, but not quite complete for this AX-challenged user

  

Chris

0 Kudos
Message 3 of 5
(1,948 Views)

For clarity, it's rare VIs in the palettes are deprecated without a replacement being provided.

 

The potential deprecation I was mentioning was for VIs you're finding in vi.lib instead. 

 

If you're using VIs that are provided in the palettes, you should be fine.

0 Kudos
Message 4 of 5
(1,913 Views)
Solution
Accepted by bonnerupc

Thank you.

I have passed this question on to NI Technical Support.

This issue is 'solved'

0 Kudos
Message 5 of 5
(1,866 Views)