05-26-2020 06:30 AM
I am having to use a blood pressure monitor which is a Welsh Alynn BP3400 which uses a detailed SDK for data download/control and reduced set from the SDK using Activex.
My exposure to Activex is quite limited and I am plodding through the info from Welsh Alynn and Labview and could do with some guidence.
I have loaded the Welsh Alynn SDK, which has the required windows drivers etc and then put Labview Activex Automation ref, Property and Invoke onto a vi to confirm that I can identify the various Active x items in the guide provided by WA.
Problem I have so far is that I cannot see how to access the Events under heading 'vitals'. As I understand from instructions so far the 'OnDevcieArrival' will be needed before I can proceed.
I have attached some screenshots showing what I have so far and appreciate thoughts.
05-26-2020 08:15 AM
Using the Activex Event structure I have now found the 3 missing properties as per jpg image. However unsure what to wire to the 'Event register callback' input?
05-26-2020 10:46 AM
Probably an Event Structure's dynamic events terminal (right click the border, Show Dynamic Event Terminals)
05-26-2020
11:20 AM
- last edited on
11-06-2024
03:46 PM
by
Content Cleaner
@jack1 wrote:
Using the Activex Event structure I have now found the 3 missing properties as per jpg image. However unsure what to wire to the 'Event register callback' input?
Hey!
I'm interested in callback events as well and I think You are on the right track. These registrations can hook a VI into the event given off by Your device driver. So when the event happens, LabView will execute the VI you wire into the VI Ref terminal and use the data from the event as input for that VI.
There are also examples on the use of this event registration in the example browser - check out https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/register-event-callback.html
Best wishes,
PS: For ActiveX and .NET-Events, You don't need the event structure itself. However, the concept is very similar and You might want to take a look at the user event examples if you are not familar with that already.