Initialize Behavior of VirtualBench Digital Lines in LabWindows™/CVI™

Updated May 1, 2018

Reported In

Hardware

  • VirtualBench All-in-One Instrument

Software

  • LabWindows/CVI

Issue Details

I am controlling my VirtualBench through my LabWindows/CVI and I was wondering what the default behavior is of the initialize function?

niVB_Dig_Initialize(niVB_LibraryHandle libraryHandle, "VB8012-3104586/dig/6", true, instrumentHandle);

Solution

When using that function with Reset set to TRUE it will configure all lines specified as input. If reset is set to FALSE, then the line will remain the state that it was previously set to.

To configure it as output use the write function:
niVB_Dig_Write()

WAS THIS ARTICLE HELPFUL?

Not Helpful