Accessing DIAdem Connectivity Library with C#

How do you call the method "DDC_GetChannelGroups" in the "nilibddc.dll" correctly with c#?
The method takes three arguments:
1. file handle (integer)
2. group handles (array of group handles)
3. length of array mentioned above
The first argument is ok.
But what kind of data structure should i pass as the second argument. I've tried Int32, but if the array contains more than one argument (even though i know there is more than one group) the method fails.
How am i supposed to know how many channel groups there are in a given file beforehand anyway (this is a lesser problem though, because even when i know the exact number of groups it doesn't work).

hi slate
did you manage to connet this dll via c#?
i have this problem
http://forums.ni.com/ni/board/message?board.id=60&thread.id=11821

Similar Messages

  • DDC_GetNumDataValues in DIAdem Connectivity Library

    Hi,
    I want to import a TDMS file (attached) into MATLAB using the sample script "ReadFile.m" by NI. The number of values in the channels are more than 1000. Nevertheless, I get the output only for first 1000 values. I looked into the script and found the variable "numvals" that gets the value 1000 when I run the script. This is the result of the DIAdem Connectivity Library function "DDC_GetNumDataValues". Something must be wrong with this function. Is there a way to see the function itself, otherwise how can I cope with this problem?
    Thanks in advance, Kadir
    Attachments:
    Bruxelles_09072013_9_15.tdms ‏3982 KB

    Hello Kadir,
    we could reproduce the issue with your file.
    There will be a new release of the ddc lib that would show up this year and will contain an fix for this behavior.
    Would this be O.K. for you to wait till ddc lib ships?
    Greetings
    Andreas
    P.S.: The only workaround that I currently think of is load/saveas the file with NI DIAdem to make it work with this DDC standalone version.
    P.P.S.: The file would load with NI CVI DDC but the standalone version of ddc lib has this behavior :-(

  • "No Internet Access" on connected device with mobile hotspot

    I've been on Verizon for 2 weeks.  Note II on a Family Share Plan with lots of data.  Using the built-in Verizon Mobile Hotspot application.  Connecting from my work laptop, which is Windows 7.
    Set it up and everything worked fine for a week and a half.  I had no problems connecting or accessing the internet from my laptop.  It worked fine Monday morning.  Monday afternoon my laptop started giving me the warning message "No Internet Access" when connecting to the phone's hotspot.  I'm in a 4g area where the hotspot has worked previously.  I've tried several times in several different 4g locations as time allowed over the last 2 days, and I have not been able to get to the internet on my connected laptop again.
    While connected to the mobile hotspot I ran Windows troubleshooter and it tells me that there is no DHCP server available, and that the default gateway for this network is unreachable.  My laptop has no problems reaching the internet via the wireless network at work or at home.  The laptop connects to both of those wireless networks every day (both before and since this problem appeared.)
    I have rebooted both the phone and the laptop, with no change in the problem results.  I renamed the hotspot, and connected to the "new" hotspot from my laptop, with no change in the problem results.  I have tried running "ipconfig /renew" from my laptop while connected, and that is when it tells me that it cannot find a DHCP server for this network.
    What broke?  How can I fix it?
    I'm still in the 100% refund return period on my contract and phones (for another day or so.)  This is an absolute deal-killer.  Hotspot on my phone is the single reason why I switched networks.
    * Revised 2/28:
    This morning I turned on the mobile hotspot feature on my wife's Galaxy S3 (on the same Verizon Family Share Plan.)  Then I connected to it from my laptop.  When it connected it said "limited internet access" for about 30 seconds, and then that warning went away and I had full access.  I surfed for a moment to confirm, and all was working.  I turned off the GS3 hotspot and turned on the hotspot on my Note II.  When I connected to the Note II's hotspot from my laptop I still had no internet access.  I left it for 3-4 minutes, and it never switched on.  I tried surfing and got only error messages in my browser.
    All of this was while sitting at my desk.  So I believe I have ruled out the laptop as a cause for this problem. 
    Thanks in advance,
    Randy

    After I posted the above in February I talked to Verizon support.  They could not resolve the problem.  They replaced the phone, and the new phone has worked for months.  My work schedule changed a bit, and so I started using the hotspot less often.
    Last week I noticed that after I connected my laptop I had a longer delay before it would change from "No Internet Access" to giving me access.  Yesterday morning it was so slow that I got the command prompt up on my laptop and determined that from the laptop's perspective the problem was that there was no DHCP server available through the hotspot network.  That morning it did eventually find the DHCP server and issue my laptop an IP address, and let me connect. 
    Yesterday afternoon the DHCP server never appeared, and I was not able to connect to the internet.  Same thing this morning.  I rebooted both the phone and the laptop.  No change.  The laptop connects to other wireless networks just fine, still.  This worked for months.  Why did it slow down connecting and then stop?  I'm guessing there must be some sort of buffer that has filled up.
    Anyone have any ideas?
    Thanks in advance.

  • How do I access my itunes library with apple tv

    I use itunes on my Ipad 1 and on my ibm computer with windows xp.  I have just acquired an Apple TV. The literature tells me I can access my ibm computer's itunes library on my Apple TV  by using home sharing but it just doesn't seem to work. I have an Ipad add a friend gave me called "remote" which is supposed to do the job.  When click on "Add an Itunes library on this device it tells me to "open Itunes on your computer and select "Steve's Ipad" from the device list. But my Itunes 10.5 has no device list nor does it contain a "Steve's Ipad" to select.  Any help will be most welcome.

    You cannot.  You will need to update your computer to OSX 10.5 at least so you can run a newer iTunes version.
    Get more information about your computer. Go to the Apple in the upper left corner of any window, then "About This Mac", then "More Info..."  Copy and paste the information here, but omit the serial number and Hardware UUID (if present).

  • Cant access my iphoto library with finder

    Hi everyone,
    i installed ilife 08 and since that, i cant find my photos with finder/pictures. I only have the iphoto logo
    Someone can help me ?
    Thkx

    lagomery
    Welcome to the Apple Discussions.
    There are three ways (at least) to get files from the iPhoto Window.
    1. Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. Show File: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    To upload to MySpace or any site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services.
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    The change was made to the format of the iPhoto library because many users were inadvertently corrupting their library by browsing through it with other software or making changes in it themselves. If you're willing to risk database corruption, you can restore the older functionality simply by right clicking on the iPhoto Library and choosing 'Show Package Contents'. Then simply make an alias to the folders you require and put that alias on the desktop or where ever you want it. Be aware though, that this is a hack and not supported by Apple.
    Regards
    TD

  • Accessing large music library with IOS 7 impossibly frustrating

    I have a large collection of music stored on iTunes Match. I used to access the music via my iPhone. Ever since upgrading to IOS 7 this has become impossible. My phone gets hung up for minutes at access a band for whom I have a lot of music (the wait used to be seconds). If I am patient enough to wait it out, navigating through the music to find what I want is impossible. Now I have to scroll through every song, no longer just through album titles. Also, there are no navigation bars on the side that allow me to skip to a particular alphabet letter or #. It's unbelievable to me that Apple would make using music so difficult. Does anyone know of a workaround to this? Or maybe there are "cleverly" hidden navigation buttons I am not aware of of. Any help would be appreciated. Thanks.

    Also, it cancels my syncin with the bar at some point too all the time. So struggling with it too. I do want to downgrade my software but already downloaded and updated my software now.

  • I want to be able to access my shared library with a C script.

    this is an extention of my previous question.

    Mikey,
    As Labviewguru said, calling a LabVIEW DLL is no different than calling any other DLL from C. You will need your LabVIEW DLL, the .lib and .h files for your C code and the LabVIEW Run-Time Engine for the version of LabVIEW that the DLL was built with. Other than that, everything else is the same.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Impossible to get access to my shared library with wifi extender

    Hi,
    Due to a weak wifi signal provided by my internent box, I have bought a wifi extender (repeater). Now my signal is good in all my house but when I am connected to the extender I cannot get or a very difficult access to my Itunes library. The name of the wifi network are not the same. The wifi from my box is called XXXXX and the other is called XXXXX_EXT. I have no problem to access at my library with the wifi from my box. Unfortunately, my apple TV 2 is too far from my box and I need to use the extender.
    Have you any idea to fix the problem ?
    Thanks

    Mikey,
    As Labviewguru said, calling a LabVIEW DLL is no different than calling any other DLL from C. You will need your LabVIEW DLL, the .lib and .h files for your C code and the LabVIEW Run-Time Engine for the version of LabVIEW that the DLL was built with. Other than that, everything else is the same.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Using one iTunes library with Vista and XP on a single PC

    Since I have converted my whole CD collection into AAC, my iTunes library
    is quite large. I have now installed Vista on a second partition as dual-boot
    with my old XP. I would like to access my iTunes library with both OSs - but can (and how) this be done ? I already changed the location in both Itunes to the same path, but the second iTunes running under Vista isnt able to import the songs.
    Any hints?
    Thanks in advance,
    Andy

    It's the "itunes library.itl" file in Windows, and the same thing without the itl file extension on Macs.
    http://support.apple.com/kb/HT1660
    You might be able to get it to update both copies in each partition with something like TuneRanger or SuperSync. That would run into some money, esp a Tune Ranger license for both Mac and Windows.
    Why not put your ITL file on a USB stick or external hard drive, and run your itunes library from that? You can tell the Mac to use the .itl for iTunes by changing properties on it. That's what I did so I can sync my iPods from either my XP PC or Mac and not get that dratted message about "iPod synced to another library".

  • "An error occurred accessing your Microsoft SharePoint Foundation site files" connecting site with SharePoint Designer

    I have a SharePoint 2013 environment with 1 AD Server, 1 DB Server and 1 APP Server, with 13 Web Applications running under the SharePoint.
    Recently I rebuilted the application because of some infrasctrucutre problems, and I was able to solve all of them, except one. I can't connect to any of those 13 Web Apps with SharePoint Designer. When I try to connect, it always ask credentials, then it
    seems like loading the site, then the error appears:
    "An error occurred accessing your Microsoft SharePoint Foundation site files. Authors - if you are authoring against
    a Web server, please contact the Webmaster for this server's Web site. WebMasters - please see the server's application event log for more details."
    I've spent hours troubleshooting it, but none of the information I found was valid. I've already tried to clean the cache, but didn't work. I found plenty of related data of this
    error with FrontPage and old versions of SharePoint, but nothing helped. All the Web Apps are SPD-Enabled at Site Collection Administration. I've tried connecting from many different PC's. The 15/LOGS folder doesn't get any data from this error, neither the
    Event Viewer.
    I really don't know what else to do. Please Help!

    I found the answer of my issue was in a .NET Agent installed by NewRelic on the server. I found a connection trouble with Fiddler, then I end up figuring this out:
    This can be the result of Real User Monitoring so the first step in troubleshooting would be to disable it and see how it affects the application. The .Net Agent injects snippets of javascript into the header of pages sent to the users browser to measure the
    page load time on the user's end.
    You can disable RUM by editing newrelic.config and changing this line:
    <browserMonitoring autoInstrument="true"/>
    to this:
    <browserMonitoring autoInstrument="false"/>

  • Why when I try to login the Itunes Connect with my Apple ID it always says: "Apple ID does not have permission to access iTunes Connect."?

    Why when I try to login the Itunes Connect with my Apple ID it always says: "Apple ID does not have permission to access iTunes Connect."?

    Look on one of your bank statements and be sure to enter the billing address exactly as it shows on the statement. Some folks forget where they actually get the statement. They put their home address in iTunes/Mac App Store and they actually get the statement at their place of employment or vice versa.

  • Cannot access to any site with ssl connection and fail to open safari and keychain, unless restart computer and login in with Guest account.

    when Update to 10.7.2 ,I cannot access to any site with ssl connection and fail to open safari and keychain, unless restart computer and login in with Guest account.
    OS:10.7.2
    Macbook Pro 2010-mid 13inch

    I also have the same problem, however if I use Firefox or Opera sites with ssl connection work fine. Still, I can't use Google Chrome (ssl), Safari (ssl), the Mac app store (generally), or the iTunes store (generally). Both the iTunes store, Safari and the app store won't respond, and Chrome displays this error: (net::ERR_TIMED_OUT). The problem persists regardless of what network I'm using. Also, when trying to access the keychain or iCloud, the process will not start (will hang). I didn't have these problems at all before updating to 10.7.2.
    Sometimes rebooting helps, and sometimes not. If the problem disappears by rebooting, then it only lasts a few minutes before it reappears. It is very frustrating, especially since there doesn't seem to be any obvious or consistent way of which to fix it.
    I'm also using a Macbook Pro 13-inch mid 2010.

  • I am getting a "connection timeout" message when trying to access my Airport Extreme with various laptops, Play Station 3 and Wii. My Airport Extreme is about a month old; it was working fine until about a week ago. C

    I am getting a "connection timeout" message when trying to access my Airport Extreme with various laptops, Play Station 3 and Wii. My Airport Extreme is about a month old; it was working fine until about a week ago. Suddenly, the "timeout" is not allowing me to connect to my wireless network.

    It could be that there's a new source of interference.
    Use the advice in the second message of this thread to investigate the signal and noise levels that each client sees:
    http://discussions.apple.com/thread.jspa?threadID=2347845&start=1
    By the way, you've been misled by the poor field labeling into trying to type your entire message into the subject field, instead of putting a one-line topic description there.

  • Can I have 2 iPhones with 2 separate Apple IDs access the same Library on a single computer?

    Here's our current set-up:
    - Dad has a laptop with iTunes and his music, iPhone and iPad all running off of his Apple ID.
    - Mom has a laptop with iTunes and her music, and iPhone running off of her Apple ID.
    - 2 kids with new iPods that we haven't set up yet (getting them for Christmas)
    We would like to create a SINGLE library with all family music and media on Dad's laptop, then use his laptop to sync all music, movies, audiobooks, podcasts, and other media libraries so that we can each pick and choose what gets synced to our devices without messing up any other data that is personal such as apps (with embedded personal profiles such as Evernote and Facebook), bookmarks, photos, iMessage, iCloud, etc.
    We assume that we need to maintain our two separate Apple IDs, and potentially set up some for the kids so that they can have some personal apps on their iPods, but if that is not the case we would appreciate some direction.
    Thanks. If you can offer a solution please be specific in the steps required.

    Hi, we don't have two iPhones in the family as yet but as I understand it each device can have separate settings for syncing calendars and contacts. For example my iPhone syncs these over the air with the Exchange server at work so if/when my wife gets an iPhone it would be easy to have hers sync to Outlook on our computer
    To make sure apps purchased on one device don't inadvertently merge with others turn off Automatically sync new apps from the apps tab when you connect your device.
    The Apple support document How to use multiple iPods with one computer suggests a number of ways for managing the media content. I use method two (Sync with selected playlists) with a slight twist. Rather than regular playlists I set the grouping field to indicate which users should receive which tracks and create smart playlists based on the content of this field.
    e.g.
    "Alice's Tracks" is "Grouping contains Alice" + "Kind contains audio"
    "Bob's Videos" is "Grouping contains Bob" + "Kind does not contain audio"
    Tracks that both Alice & Bob want on their iPods have the grouping set to "Alice/Bob"
    etc.
    I currently manage our family's five iDevices using this system, each getting a different selection to suit their tastes and the capacity of their device. An advantage of using the grouping field is that it is stored in file tags (for non-wav audio files anyway) so that it is relatively easy to recreate the playlists should the iTunes library get trashed and need rebuilding. Also useful if you move files about manually as playlist membership is preserved when you delete & re-import the tracks.
    So far we have managed everything with a single Apple ID, but that will probably change as the kids leave home. Managing app updates from multiple IDs is a pain as you have to manually sign in to each account in turn, however there are other benefits to each user having their own account.
    tt2

  • On imac 10.6.8 using current version of Aperture.  How can I access the Aperture Library  on my external hard drive that I use with time machine for backup?  I can only access the application but not the library..

    On imac 10.6.8 using current version of Aperture.  How can I access the Aperture Library  on my external hard drive that I use with time machine for backup?  I can only access the application but not the library..

    Go into Time Machine (the program not the bundle on the extrnal disk) and using Time Machine's browser go to the Folder where the library lives. You could look in the library bundle in Time Machine but that won't really tell you much,
    If you want to make sure it truely has backed up your library you will need to restore it and open the restored library with Aperture.
    If all this still has you confused you need to read up on Time Machine in order to get a feel for how it works, for what it is doing and for how to restore files from it.

Maybe you are looking for

  • Best practice to update an Iterator after commit

    Hi, I am using JDeveloper 11.1.1.6. I have basically two sections on my page. First section is one region showing status of the Row contained on my second section of the page. In my second section contains UIComponents to update/create Row informatio

  • Software problems with my imac

    hey I got a ipod shuffle for my birthday but i am struggling with the software on my computer. I bought Panther OS X 10.3 but cannot install it - it claims my firmware is not updated, I have updated the firmware from the instructions discovered in he

  • HELP! - iPad turns off by itself

    My iPad 2 recently started just turning itself off (screen wipes from left to right, shuts off and then restarts). I did all the reset settings and restores but the problem got worse to the point it would only stay on for about 10 seconds then shut o

  • Where is the Airport 7.6 Firmware Documentation?

    I guess the title says it all...I could not find any last night... Jerry

  • SSH to Remote Mac with Distributed IPs?

    Hi, I want to backup to a remote Mac using CCC (Carbon Copy Cloner) which has the ability to do a Remote Login via SSH. However the remote Mac is sitting behind an Airport Time Capsule which is distributing a range of IP addresses. How do I set this