Why does the InitVXIlibrary function return -32768 ?

Why does the InitVXIlibrary function return -32768 ?

Hello,
It would be extremely helpful to see a log of what is happening "behind the scenes" with the driver. To do this, you can use a utility called NI-Spy which can be launched from Start >> Programs >> National Instruments >> NI Spy or from the Measurement & Automation Explorer (MAX) utility.
NI Spy is a Win32 application that monitors, records, and displays National Instruments API calls made by applications. Use NI Spy to quickly locate and analyze any erroneous National Instruments API calls that your application makes, and to verify that the communication with your instrument is correct.
You can turn the log to file feature on via the Spy >> Options menu in the program. Please attach this log file to this Developer Zone post
so that we may further help you.
Best Regards,
Justin Britten
Applications Engineer
National Instruments

Similar Messages

  • Texting on iPhone 5.  When texting to multiple people why does the contact list return to the "A"s after you select a contact and try to add the next one in order?

    Texting on iPhone 5.  When texting to multiple people why does the contact list return to the "A"s after you select a contact and try to add the next one in order?  This really slows you down when trying to contact 50 people with information.  iPhone 4 worked just fine.  Any suggestions on how to fix this?

    None of my pictures that I uploaded into iPhoto are in my Finder under Pictures.  Should I copy and paste my folders from iPhoto into here, in case something happens to my iPhoto program (in addition to backing them up onto an external hard drive like I already do)?
    No, that's just wasting space.  A back up needs to be on a different disk.
    Your photos are within the iPhoto Library.

  • Why does the sum function not work when I try to add a column of decimal numbers?  The value is always returned as 0.  No problem with whole numbers but decimals do not work!

    just bought a MacBook Air and using Numbers to make a spreadsheet for financial purposes.  The sum function is working ok for whole numbers but when I try to sum a column of 2 decimal place numbers the result always comes back as 0.  Can anyone help?

    Hi laura,
    I suspect that your 2 decimal place numbers are formatted as text. Change the format of the column to currency and see it that works.
    Also You might want to update your profile to reflect your current systems!
    quinn

  • WHY does the radio function rely on a wired headse...

    I know this is a feature common to many phones but I'm sick and %&&(%&% tired of it, and just don't understand why.
    Picking up my Lumia 900 a couple of days ago it simply annoys me that the radio function cannot operate when connected to a BT headset.
    I had a 'tansistor radio' 40yrs ago that did not require an external antenna.
    The internal antennae of such devices are good for WIFI, BT, 3/4G. Just WHY THE HEY can they not be used for FM radio?

    Hi SuperGumby,
    Thanks for posting and welcome to the forum,
    You can use the radio without wired headset. You can find this and much more information here (specifically here);
    To switch between speaker and headset modes
    While playing a station, press and hold the station number.
    Press Switch to speaker or Switch to headset to switch between the two options.
    Hope this helps,
    Kosh
    Press the 'Accept As Solution' icon if I have solved your problem, click on the Star Icon below if my advice has helped you!

  • Why does the DLL function executed by call library node fail when the Vi is re-opened?

    Development System
    OS: Windows XP
    LabVIEW: version 10.0
    DLL: Custom 
    Compiler: Visual C++ 6.0
    Function Prototype: __declspec(dllexport) const char * test(void)
    We have developed a DLL for use.  The DLL compiles cleanly.  The DLL includes a function test.  The test function validates the functional capabilities of the DLL.  I have followed the examples online, and I have used the import shared library tool in LabVIEW.  The VIs created use the call library node. 
    When I create a VI calling the test function from the custom DLL using the call library node the VI executes the DLL function test flawlessly.  I close the VI.  When I re-open the VI and run it, I get an error code from the DLL.  However, if I go to the block diagram and set the path for the DLL in the configure call library node again then the VI executes the DLL function test flawlessly again. 
    I have to set the path for the DLL in the configure call library node every time I open the VI.  The examples I downloaded from the community do not require this.  What might the DLL be missing?  What am I missing? 
    Solved!
    Go to Solution.

    I think it was rather unfair of me to ask for help with my DLL issue without disclosing more detailed information.  As a corrective action, I have attached a zipped file.  The zipped file contains the entire VC++ 6.0 project for compiling the DLL, the DLL, and the VI I have been using to test it. 
    ###NOTE####
     As a prerequisite to compilation and usage of the DLL you'll need to have installed Python 26 on your system.   
    You may obtain the MSI for correct version of Python from the following location:
    http://www.python.org/ftp/python/2.6.6/python-2.6.6.msi
    ###NOTE###
    Thank you very kindly for any assistance offered!
    Thanks,
    Bill
    Attachments:
    C_DLL_PYTHON_AND_LABVIEW2010.zip ‏1685 KB

  • Why does the calendar function send invitations in GMT?

    I have updated my time zone to my local setting (CST), but whenever I send out an invitation using my calendar function on my macbook, it does so in GMT.  Why?

    From the menu bar, select
              Calendar ▹ Preferences... ▹ Advanced
    and check the box marked
              Turn on time zone support
    Then, from the menu in the upper right corner of the Calendar window, select your desired time zone.

  • Why does the 'block' function no longer work? I'm getting a bunch of garbage sites, and pop up requests on my normal sites!! :(

    I'm getting so tired of having that darn 'block pop-up windows' checked..and it doesn't do a darn thing. Why am I getting garbage sites when I'm going to my normal browsing sites? (e.g. yahoo mail, etc)
    I now get this weird MacVx garbage showing up everywhere and a bunch of these error messages which are annoying (I also have a Mac by the way)...it mentions 'my i.p. address' which is not correct (thank god), and it must think I'm an idiot...So....any way to resolve this before I trash my favorite browser forever???

    ''naradoe28 [[#question-1042141|said]]''
    <blockquote>
    I'm getting so tired of having that darn 'block pop-up windows' checked..and it doesn't do a darn thing. Why am I getting garbage sites when I'm going to my normal browsing sites? (e.g. yahoo mail, etc)
    I now get this weird MacVx garbage showing up everywhere and a bunch of these error messages which are annoying (I also have a Mac by the way)...it mentions 'my i.p. address' which is not correct (thank god), and it must think I'm an idiot...So....any way to resolve this before I trash my favorite browser forever???
    </blockquote>
    Thank you!! I can't believe it was something that simple.. I have no idea how I had those items added on, but I'll make sure to doublecheck them periodically now! Thanks again :)

  • Why does the Summary function give a datatype error when opening a data model for editing?

    I have two datasets (G1 and G2) within a data model; i've used a field in G2 and placed it into G1 as a Summary Function of G2. The datatype of this field in G2 is Integer, however if you set the Summary field in G1 to the same datatype - Integer, an error appears.

    Oracle have provided a patch.
    We are running OBIEE  at patchset  11.1.1.7.140715, Oracle have provided us with a  patch p17563277  backported to the 140715 patchset.
    This fix will presumably be incorporated in later releases.

  • Why does the replay function repeat the same songs?

    I like to start playing music from the locked screen and I always keep shuffle by song turned on .  I double click the home button and then press play as instructed.  More often than not though, it starts playing some song I have listened to recently and it then plays through the same "shuffled" songs from before in the same order.  When I am running arrands and listening in the car for just a few songs at a time, I end up listening to the same three songs over and over unless I open the music app and reselect shuffle songs.  It didnt used to do this, just after the iOS6 update.  Anyone else have this problem?  Anyone know how to fix it?  Or is this a programming issue I hope Apple changes?
    In the same vein, if you have watched a video from your photo album recently and then do the same quick start music from the locked screen, you dont get music, you get the sound only from that video you watched.  Why would Apple program it to do that?  Why would we want to quick start the sound of a video when we intend to listen to music?

    I can change iCloud mail settings on my Mac, but do not have the same access within the app on the iPad.
    I will keep looking for a way to change the settings on the iPad, but in the mean time, set mail settings to ask before deleting.

  • Why does the Java method ServletContext.getResourceAsStream return null with a know good path to an xsl file?

    iPLANET ISSUE
    Why does the Java method ServletContext.getResourceAsStream return null with a know good path to an xsl file?
    CODE
    ServletContext context = mpiCfg.getServletConfig().getServletContext();
    // Debugging
    out.print(context.getServerInfo());     // Get server info
    out.print(&#8220;getRealPath = &#8221; + context.getRealPath("WEB-INF/xsl/RedirectToAcs.xsl"));
    String strXslName = "RedirectToAcs.xsl";
    InputStream is = context.getResourceAsStream("WEB-INF/xsl/"+ strXslName);
    TRACE FROM THE LOG
    [26/Jul/2002:08:23:15] info ( 2868): [0][][ClearCommerceCcpaMpi][]getServerInfo() = iPlanet-WebServer-Enterprise/6.0, getRealPath() = C:\iPlanet\Servers\web-apps\ccpa\WEB-INF\xsl\RedirectToAcs.xsl
    [26/Jul/2002:08:23:15] info ( 2868): [0][][ClearCommerceCcpaMpi][]strXslName = RedirectToAcs.xsl, is = null
    [26/Jul/2002:08:23:15] info ( 2868): [1][][ClearCommerceCcpaMpi][16]ResourceAsStream is null
    [26/Jul/2002:08:23:15] info ( 2868): [1][][ClearCommerceCcpaMpi][30]Problem reading XSL file.
    DIRECTORY DUMP
    C:\iPlanet\Servers\web-apps\ccpa\WEB-INF\xsl>dir
    Volume in drive C has no label.
    Volume Serial Number is 9457-EBF4
    Directory of C:\iPlanet\Servers\web-apps\ccpa\WEB-INF\xsl
    07/22/2002 05:54p <DIR> .
    07/22/2002 05:54p <DIR> ..
    07/22/2002 05:54p 3,086 RedirectToAcs.xsl
    07/22/2002 05:54p 3,088 Response.xsl
    2 File(s) 6,174 bytes
    2 Dir(s) 1,797,405,696 bytes free

    I think there's supposed to be a forward slash before WEB-INF.
    InputStream is = context.getResourceAsStream("/WEB-INF/xsl/"+ strXslName);

  • Why has the mail function screen on my iPad not rotating.  All of my other applications are working fine.  It just started doing this two days ago.

    Why does the rotate feature on my iPad when i am in the mail screen. It works for all other applications.  This just started two day ago.

    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.

  • Why is the scroll function not working after accessing the voice feature in settings?

    Why is the scroll function not working after accessing the voice feature in settings?

    For some prerecorded audio files the Transpose slider will not work reliably. I found no clear pattern, when it does and when not.
    If all fails, create a loop from the audio file. Select the region in the track and use the command "File: Add region to Loop library".
    Set the current key and tempo, name the loop, and save the loop.
    Now add it from the loop browser to a new track and delete your old track. The search field in the Loop browser will help you to find the loop quickly.
    You will be able to transpose the sample as described above, like a regular loop.
    For example - a audio file turned into a loop and transposed:

  • Why does the hdmi adapter(purchased from apple for $40) no longer mirror my iPad 2?

    Why does the hdmi adapter(purchased form Apple for $40) no longer mirror my ipad 2?  If ios6 prevents this, will they return my money?

    Does this involve iPhoto in any way? I believe you need to post in a different forum - and since these are strictly uuser to user forums answers about what Apple does or will do are not likely nor reliaible - you need to contact Apple for Apple answers
    LN

  • Why does the Apple mouse drain so quickly?

    I'm not sure if this question is in the right place. I bought a iMac back in January and I've been changing the batteries like every few weeks. My question is why does the mouse drain so quickly?
    The batteries in the keyboard have been in there since I got the computer. I think I should buy a wired mouse and just plug it into the back of the iMac. I'm getting sick and tired of having to change the batteries so often.

    Hello:
    Battery drain is a function of how much the device is used (no surprise to you).  I find that my mouse batteries last less - probably because I type so slowly, I use the mouse for anything I can.
    Let me give you a suggestion based on my own experience.
    I use rechargeable batteries and a 15 minute battery charger.  I currently have a drawer full of Energizer 2450 mAh rechargeable batteries and an Energizer 15 minute charger (works for AA and AAA batteries).  Rechargeables last less time than Lithium batteries - I think the reason is different voltages (1.2 vs 1.5).  I obtained all of the batteries and the charger - new - on eBay at a very reasonable price.
    By using rechargeables, you are never without a fresh battery more than 15 minutes, and you are environmentally friendly to boot! 
    Barry

  • Why does the youtube app doesn't play in HD?

    Why does the youtube app doesn't play in HD? I couldn't find any option of changing the stream option also. Please help!

    Me too, ipad mini can't get YouTube app to function via the official app and the same error message," ...tap to retry", but to no avail. The app launches but it will not allow me to sign in. The drop arrow just tilts up and down and ...nothing. I can still access YouTube through Safari browser but strange, I can't find a solution to the app not opening or being able to sign in on either ipad mini or phone even though they are up to date apps.

Maybe you are looking for