How do I read in from a Lab-PC+ card using Visual Basic?

I have a Lab-PC+ card installed and hooked up to a number of pressure trasnducers etc. I want to read the data in using VB but I've heard that VB cannot interface to I/O without some extraq bits of software.

While your data acquisition programming in Visual Basic will be easier and faster with our Measurement Studio product, you are not restricted to using it. You can simply make calls into the NI-DAQ driver DLL. Take a look at the first Knowledge Base article I have linked below for information on installing NI-DAQ examples for VB. You will be interested in the second paragraph which describes how to install examples from the driver.
How Do I Install the DAQ Example Programs for VB and VC?
http://digital.ni.com/public.nsf/websearch/67B97D1BADB40A4186256C7500770847?OpenDocument
As for the API into the driver DLL, you will need the NI-DAQ Function Reference Manual, which I have also linked below.
NI-DAQ Function Reference Manual for PC Compati
bles
http://digital.ni.com/manuals.nsf/websearch/1630A0B68738B269862567C1007A2912?OpenDocument&node=132100_US
Regards,
Justin Britten
Applications Engineer
National Instruments

Similar Messages

  • How can we read filenames from a specific folder

    Hi forum,
    I have a situation that, there are several files coming daily in a specific folder.
    I want to read filenames from that folder and want to get that filename in a variable.
    That filename contains account nos. which I need for further processing.
    Now, how can we read filenames from a specific folder with using Oracle PL/SQL Procedure?
    Please suggest.
    Thanks & regards,
    Kiran

    If you are on 10g (not sure which exact release I'm afraid) you might look at Chris Poole's XUTL_FINDFILES that lists the files in a directory using PL/SQL and DBMS_BACKUP_RESTORE.SEARCHFILES (all a bit undocumented as it seems to be provided as part of rman).
    The conventional (i.e. supported) approach is to use a Java stored procedure - there is an example on AskTom.
    Message was edited by:
    William Robertson

  • How do I read text from specific rows and columns in a tree structure?

    How do I read text from specific rows and columns in a tree structure? In a table you can specify the cell to read from but I have not been able to figure out how to do this with a tree structure.

    You need to set two properties to activate the correct cell and then you can read it's string property.
    The positioning properties are the "ActiveItemTag" and
    "ActiveColNum" properties. With them you select the tree item by it's tag and the active column. The string can then be read from the "Cell String" property.
    MTO

  • How do i transfer music from one ipod to another using itunes

    how do i transfer music from one ipod to another using itunes

    Welcome to the Apple Community.
    There is more than one way, but to get it all on all devices, connect the first device to iTunes and choose to transfer the music from the device from the file menu. Once everything is in iTunes connect the second device, select the device in the device list, navigate to the music tab and check the content you wish to sync, click apply/sync.

  • How can I transfer photos from my pc to iPad using iTunes?

    HOw can I transfer photos from my pc to iPad using iTUnes?

    Connect and select your iPad on the left-hand side of your computer's iTunes, and on the right-hand side there should be a series of tabs, one of which should be Photos - if you select that tab you can then select which photo folders to sync to the iPad. There is a bit more info on this page (though it looks like Apple are doing some maintenance at the moment so the link isn't working). You will need to sync all the photos that you want on the iPad together in one go as only the most recent photo sync remains on the iPad - not including photos in a subsequent sync is how you delete them from the iPad (synced photos can't be deleted directly on the iPad).

  • How can i stream video from mac os x 10 using roku to my tv?

    how can i stream video from mac os x 10 using roku to my tv?

    Welcome to Apple Support Communities
    OS X can't write in NTFS disks. If you want to write in NTFS drives, you have to use a third-party app like Paragon for NTFS, being this application the best one to write in those disks.
    Another option is to format the external disk in FAT32 or exFAT on a PC, so you will be able to read and write in Macs and PCs without having to use third-party apps. Do it on a PC and copy the files of your external drive to the internal disk first

  • How do I get files from multiple DVDs that are using thesame file names?

    How do I get files from multiple DVDs that are using thesame file names? Message says "file already exists in catalog"
    Message was edited by: marcr56

    marcr56
    I am viewing your question from different perspective, that is, the issue that you face when you are ripping VOBs from a second DVD-VIDEO on DVD disc using Premiere Elements,
    It is best to give the Premiere Elements version and computer operating system that it is running on. In the absence of that, I will generalize.
    Assuming that you are using
    Premiere Elements 12
    Add Media
    "DVD Camera or Computer Drive"
    Video Importer
    Typically the Video Importer Save In: is C:\Users\Owner\Videos
    Each of your DVD discs is going to have the same names for the ripped VOBs (VTS_01_1.VOB and so on depending on the duration of the movie). Consequently, after the ripping of the first DVD's VOBs and their save to Videos, you will end up with that "files already existing..." block for the ripping of the VOBs from the second DVD.
    The answer is, for each DVD disc VOB ripping, to plan ahead and create and set for different folders in Videos in the Save In field of the Video Importer.
    Please review and then let us know if that works for you. Please do not hesitate to ask if you need clarification on anything that I have written.
    Thank you.
    ATR.

  • How to copy List item from one list to another using SPD workflow using HTTP call web service

    Hi,
    How to copy List item from one list to another using SPD workflow using HTTP call web service.
    Both the Lists are in different Web applications.
    Regards, Shreyas R S

    Hi Shreyas,
    From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
    If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
    As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
    So I recommend to achieve this goal programmatically.
    More references:
    https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
    https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How do i add contacts from address book to iPhone using itunes 11.0.2

    how do i add contacts from address book to iPhone using itunes 11.0.2

    Check the manual http://manuals.info.apple.com/en_US/iphone_user_guide.pdf, but it is done via the syncing process with iTunes or iCloud.

  • TS3720 how can i upload movies from Sony pj580v camcorder to use with imovie11?

    How can I upload movies from Sony pj580v camcorder to use with imovie 11?

    Transfer it to your computer and import into iTunes, make sure it's in a compatible format. Then simply sync with the iPad. If you have a camera connection kit and you know the footage is compatible you can connect it directly.
    Follow the link to see formats
    http://www.apple.com/ipad/specs/

  • How do I download pictures from my old sims card?

    How do I download pictures from my old sims card?

    You don't.
    What pics are on your SIM card?
    Iphone does not store to the SIM card. 
    You can import contacts from a SIM card ( if youor old phone stored to SIM).

  • How to restart base station from airport utility? I used to be able to do it remotely  I currently use a Mac Pro 10.8.4 and have a time machine for wireless 6.3 (630.34). Sometimes I cannot connect to the internet and use network preferences to diagnose t

    How to restart base station from airport utility? I used to be able to do it remotely
    I currently use a Mac Pro 10.8.4 and have a time machine for wireless 6.3 (630.34). Sometimes I cannot connect to the internet and use network preferences to diagnose the issue. This results in being told to restart the wireless. The airport utility includes the drop down option of restarting but is not clickable so I can't choose it.
    With my prior macbook and same time capsule, etc  if i had problems connecting to the internet I would run network diagnostics to help out. This included clicking on the airport utility ---> base station --> restart. This worked most of the time.
    Bottom line, is there something I am missing in not being able to restart the wi-fi remotely? ]
    Thanks in advance

    You are likely forgetting a step.
    Open AirPort Utility
    Click on the Time Capsule icon
    Click Edit in the small window that appears
    Now click the Base Station menu.....top of the screen....not the Base Station "tab" in the center of the screen
    Click Restart

  • How can I upload photos from ipad onto facebook whithout using adobe flash player which I could not download onto my ipad?

    How can I upload photos from ipad onto facebook whithout using adobe flash player which I could not download onto my ipad?

    http://www.google.com/search?q=upload+photos+to+facebook+from+ipad

  • How do you move songs from an iPod to itunes? Seems basic but not so.

    How do you move songs from an iPod to itunes? Seems basic but not so.

    See this excellent user tip from another forum member turingtest2 outlining the different methods and software available to help you copy content from your iPod back to your PC and into iTunes.
    Recovering your iTunes library from your iPod or iOS device
    B-rock

  • How do I get photos from iphone 3G to PC using Vista?

    How do I get photos from iphone 3G to PC using Vista?

    This should explain it.  http://support.apple.com/kb/ht4083

Maybe you are looking for

  • Using an Image as parameter

    I want to send an Image object to a method named insertimage and I don't know how to do it. I have the following lines: import javax.microedition.lcdui.*; import javax.microedition.lcdui.Image; import javax.microedition.midlet.*; public class MiBoton

  • Thinking about getting a new macbook pro, just a few questions first --

    Hey guys, I've been a mac user for about 5 years now and I love them. I've had a white 2.0 c2d macbook for about a year now. I primarily used this macbook for work, and my PC desktop for occasional games. I was thinking about getting a mac pro to do

  • ADF calendar date cell  background color change

    Hi, I am new to jdeveloper / ADF. I coded per the below calender sample in my jdeveloper and it runs fine. http://www.oracle.com/technetwork/developer-tools/jdev/calendar-091799.html The current date cell shows in yellow color background. How/where c

  • Container element value late update in ECC6

    Hi All, I have a problem with container element "RECEIVED" which has incomplete value. I'm using function SAP_WAPI_READ_CONTAINER (simple container) in my custom object ZBUS2081 method priceapproval. When 2nd person want to approve the workitem, the

  • Stacked Pictures show in online album

    How do I keep the stacked (hidden) pictures from showing in an online album?  Using PSE 10.