The brand-new PN400 Phase Noise Test System is available for purchase! →

BB60C "Error opening device" using API in Matlab

Forums › BB Series Discussions › BB60C "Error opening device" using API in Matlab

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #162822
    mkwilinski
    Participant

    We just received our BB60C. It is recognized by Spike and seems to be working OK with that software. However, our objective is to use the unit for automated measurements under Matlab, so we also installed the SDK and have been trying to use the Matlab examples. In Matlab, whenever the bbOpenDevice() function is called, we get only “Error opening device”. We are using Matlab 2018a under Windows 10. Do you have any suggestions as to what might be wrong? Since the BB60C works with Spike, I have to assume that we have some sort of software or software configuration problem.
    Thanks!
    Mike

    #162823
    AndrewAndrew
    Moderator

    Mike,

    Yes I think I know what’s happening.

    The MATLAB example folder includes the bb_api.dll which is outdated. If you have a newer BB60C only the latest versions of the API will be able to be used. (The older API version can’t recognize your newer BB60C) In that same SDK, go to the core API folder and copy over the newest API.

    I’m assuming you are running 64 bit MATLAB so I think you just need to copy over the 64-bit API and header, overwriting what is already in the MATLAB folder. Copy the contents from
    signal_hound_sdk\device_apis\bb_series\win\lib\x64
    into the MATLAB folder with these existing files.

    I look forward to your results.

    Regards,
    Andrew

    #162824
    mkwilinski
    Participant

    Hi Andrew,

    Thanks very much for the fast response! I did as you suggested and the bbtest_getinfo.m Matlab script now successfully opens a connection to the BB60C instrument and returns the Serial Number and current temperature, voltage and current values. I’ll try some of the other examples tomorrow, but I’m expecting them to work now.

    Thank you, Mike K.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.