Jump to content
  • 0

Auto-discover connected MCC hardware using LabVIEW


jrayeske
 Share

Question

Is there a LabVIEW method that replicates the following call I'm seeing in the Python and C# posts?

ul.get_daq_device_inventory(InterfaceType.USB)

I did try a CLF node using the DaqDevInfo.dll which does include the "GetDaqDeviceInventory" function name, but without a header file I have no idea what parameters the function is expecting or returning

Thanks,
Josh

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello @jrayeske

no, there is no ul.get_daq_device_inventory(InterfaceType.USB) for LabVIEW.  The device must be present in InstaCal.

Direct access to the DLLs is not supported.  Case in point, you don't ever access devices via DaqDevInfo.dll.  As stated, it is not supported, but if you really, REALLY want to,

then you would use cbw32.DLL for 32 bit LabVIEW or cbw64 on 64 bit LabVIEW. 

header file?  go to C:\Users\Public\Documents\Measurement Computing\DAQ\C for cbw.h.

Documentation on all function calls is found in https://www.mccdaq.com/pdfs/manuals/Mcculw_WebHelp/ULStart.htm

This is assuming you want to take this on, but as stated, Measurement Computing does not offer support for using our DLLs in LabVIEW.  MCC offers the ULx for NI LabVIEW, that we do support.

I just want to be clear on that. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...