Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Advanced search

Accessing the DAIO pins of VN5610A, VN5640, VN7640 using the XL Driver Library (Activation Line)

Last updated: 2019-05-16

(How) can I access the DAIO pins of VN5610A, VN5640 and VN7640 hardware interfaces using the XL Driver Library?


Using the XL Driver Library, it is possible to access the DAIO connectors of Vector Hardware Interfaces.

Creating an XL Driver Library application for the VN5610A, VN5640 and VN7640 in particular, it is possible to use the digital I/O masks for e.g. accessing their Activation Lines (DoIP).

The required pins for each interface are described in their dedicated user manual.

However please note the following rules for accessing the pins of the above mentioned interfaces when using the XL Driver Library:

For VN5640 and VN7640:

  • Pin 2 uses the port mask XL_DAIO_PORT_MASK_DIGITAL_D3 (Activation Line)
  • Pin 3 uses the port mask XL_DAIO_PORT_MASK_DIGITAL_D4 (Activation Line)
  • Pin 8 uses the port mask XL_DAIO_PORT_MASK_DIGITAL_D0 (not related to the Activation Line)

Figure 1: DSUB9(CH5) from VN7640 / VN5640 User Manual

For VN5610A:

Pin 1 (Lemo Connector) uses the port mask XL_DAIO_PORT_MASK_DIGITAL_D3 (Activation Line)

Figure 2: IO CH5 (Lemo Connector) from VN5610A User Manual

Sample usage:

You can use one of the DAIO demo samples that are installed with the XL Driver Library and use the xlIoSetDigitalOutput function in order to set e.g. the pins for the Activation Line.

Please note that in all three cases, the Activation Line pins are Digital Input/Output ports and will therefore receive events.


Code snippet for a VN5640:

XLdaioDigitalParams daio;

// Set the activation line
daio.valueMask = XL_DAIO_PORT_MASK_DIGITAL_D3 | XL_DAIO_PORT_MASK_DIGITAL_D4; // depending on which port you want to toggle…

xlStatus = xlIoSetDigitalOutput(g_xlPortHandle, g_xlChannelMask, &daio);

Sleep(1000); // or another timeout

// reset the activation line
daio.valueMask = 0;

xlStatus = xlIoSetDigitalOutput(g_xlPortHandle, g_xlChannelMask, &daio);

Article Options
Views: 535