LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Activex with blood pressure monitor and Labview

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.

wa3400ly.JPG

WA3400IVITALS.JPG

Labview Version 8.5
Labview Version 8.6
Labview Version 2014
0 Kudos
Message 1 of 4
(2,233 Views)

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?

 

wa3400LY2.JPG

 

Labview Version 8.5
Labview Version 8.6
Labview Version 2014
0 Kudos
Message 2 of 4
(2,196 Views)

Probably an Event Structure's dynamic events terminal (right click the border, Show Dynamic Event Terminals)

0 Kudos
Message 3 of 4
(2,177 Views)

@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.

0 Kudos
Message 4 of 4
(2,173 Views)