Program NI boards using the DAQ Libary and Borland C++ builder 5

Hi,
I am programming Lab PC-1200 NI boards using the DAQ Libary and Borland C++ builder 5.
But I get the following error msg:"[Linker Error] 'C:\NI-DAQ\LIB\NIDEX32.LIB' contains invalid OMF record, type 0x21 (possibly COFF)" although I have linked all DAQ lib files in C builder.
Anyone who had tried or succeeded in a similar application and solved this problem??
Thank you in advance for your help!

Hi w,
Please check out this related DevZone question/answer:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=5065000000080000007D180000&ECategory=Measurement+Hardware.Real-Time+Data+Acquisition
The basic reason is that we design our libraries for many environments, but Builder is not one of them. You can use the dll's (they're just dll's), but you will need to make your own library or use run-time linking.
For more information about run-time linking, you can try http://msdn.microsoft.com and search for "About Dynamic-Link Libraries"
I hope this gives you a start.
John N
Applications Engineer
National Instruments

Similar Messages

  • Using the DAQ-9178 and 9205 Voltage Module, how do I build a 16 Channel Voltmeter with a range of 0--50Vdc?

    I have already built an 8 channel 10:1 voltage divider using 1% resistors.  My problem is there is a lot of AC noise on the DC signal and the voltages don't match my Fluke DVM which is sitting beside.
    Solved!
    Go to Solution.
    Attachments:
    8 Channel Voltage Screen.JPG ‏172 KB

    A little more info... Only Channels one and two have signal going to them.  Ch1, (a0), is connected to a 9volt battery, and ch2, (a1), is connected to a variable bench supply set for 17Vdc.
    The DVM is rock steady, however the LabVIEW indicators show what I assume is a product of the AC noise.
    Any help would be appreciated
    Thanks so much
    -Matt
    Attachments:
    8 Channel Voltage Block Diag.JPG ‏269 KB

  • Using the xsd libraries in borland c++ builder

    I am having difficulties using the xsd libraries in my project. I am trying to use the schema validator. I have included the oraxml.hpp and oraxsd.hpp header files, and I have added the provided libraries to the project. The first error was that the library files were erroneous.
    I then used the implib tool to create the library files from the dlls in the bin directory. I then add these new library files to the project.
    Now the linker cannot find the functions.
    [Linker Error] Unresolved external XMLParser::xmlint(......).
    I get the same error whenever I try to use any of the functions.
    Is there anything I am missing out when trying to link and compile?

    Is there any difference between VC++ builder and Boland C++ builder? We have tested the sample using the VC++ builder.
    Which XDK version do you use?

  • I want to clean all of the cookies and bugs that are in my computer causing it to be slow. What program should I use that is safe and won't mess up my computer?

    I want to clean all of the cookies and bugs that are in my computer causing it to be slow. What program should I use that is safe and won't mess up my computer?

    Problem description:
    I would like to clean up my computer. Its beginning to run slow and I believe cookies and bugs are apart of the reason.
    EtreCheck version: 2.0.6 (91)
    Report generated October 26, 2014 at 4:59:31 PM EDT
    Hardware Information: ℹ️
      MacBook Air (13-inch, Early 2014) (Verified)
      MacBook Air - model: MacBookAir6,2
      1 1.4 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Not upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en0: 802.11 a/b/g/n/ac
    Video Information: ℹ️
      Intel HD Graphics 5000 -
      Color LCD 1440 x 900
    System Software: ℹ️
      OS X 10.9.5 (13F34) - Uptime: 13 days 2:41:41
    Disk Information: ℹ️
      APPLE SSD SD0128F disk0 : (121.33 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 120.47 GB (70.38 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
      Apple Internal Memory Card Reader
      Apple Inc. iPhone
      General USB Flash Disk 16.13 GB
      S.M.A.R.T. Status: Verified
      MSD (disk1s1) /Volumes/MSD : 16.13 GB (11.18 GB free)
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Library/Extensions
      [loaded] foo.tap (1.0) Support
      [loaded] foo.tun (1.0) Support
    Startup Items: ℹ️
      tap: Path: /Library/StartupItems/tap
      tun: Path: /Library/StartupItems/tun
      Startup items are obsolete and will not work in future versions of OS X
    Problem System Launch Daemons: ℹ️
      [failed] com.apple.wdhelper.plist
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [running] com.perion.searchprotectd.plist Support
    User Launch Agents: ℹ️
      [loaded] com.genieo.completer.download.plist Support
      [loaded] com.genieo.completer.ltvbit.plist Support
      [running] com.genieo.completer.update.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [invalid?] com.jdibackup.ZipCloud.autostart.plist Support
      [running] com.zeobit.MacKeeper.Helper.plist Support
    User Login Items: ℹ️
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
    Internet Plug-ins: ℹ️
      DirectorShockwave: Version: 12.1.3r153 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
      FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
      JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
      QuickTime Plugin: Version: 7.7.3
      Default Browser: Version: 537 - SDK 10.9
    User Internet Plug-ins: ℹ️
      TroviNPAPIPlugin: Version: 1.0 - SDK 10.9 Support
    Safari Extensions: ℹ️
      Trovi Search for Safari (Disabled)
    3rd Party Preference Panes: ℹ️
      Flash Player  Support
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          53% mds
          9% WindowServer
          3% mds_stores
          3% storeagent
          2% hidd
    Top Processes by Memory: ℹ️
      920 MB mds
      31 MB com.apple.WebKit.WebContent
      30 MB Messages
      29 MB Safari
      21 MB WindowServer
    Virtual Memory Information: ℹ️
      31 MB Free RAM
      713 MB Active RAM
      681 MB Inactive RAM
      1.09 GB Wired RAM
      17.85 GB Page-ins
      1.95 GB Page-outs

  • Using the Alt key and numeric code from Character Map to insert special characters in Office 2010 programs

    I am used to using the ALT key and specific numbers for characters from the Character Map to place characters in Office programs like Outlook, Word, Excel. I have a new Lenovo T530 Laptop running the Windows 7 Professional Operating System. I have MS Office
    2010 Home and Business. In previous versions of Office, this feature worked first time, every time. On this machine, it is a 'no go' situation. Lenovo tech support says it is a Microsoft issue and Microsoft says it is a Lenovo issue. Either way, I'm having
    difficulty resolving the issue and getting this wonderful featrure working for me. Any suggestions and guidance would really be appreciated. Thank you. 

    Hi,
    Haven't been verified this myself, but since this feature require to use the numeric keypad to input the value, I suspect the cause of the issue is the laptop keyboard.
    To workaround this issue, try enable the numeric keypad from your laptop keyboard, normally, we can enable it by press
    Fn + Num Lock.
    After that, try insert characters again.
    Max Meng
    TechNet Community Support

  • How to control a digital output signal using the DAQ assistant?

    I am using a USB 6251 DAQ board and would like to control a switch. I am gathering airflow, pressure, and acoustic data on the same board (analog input) and would like the switch to trigger when the airflow value is within a pre-determined range. Finally, I would like to reverse the polarity of the switch (to off) about a second after the initial digital signal, all of which is during continuous data acquisition.
    I am able to actuate the switch only when pressing the "run" button in the DAQ assistant window. I am proficient with data acquisition but have never tried programming an output... Please help!
    Thanks!
    -a troubled researcher
    P.S. I am running LabVIEW 8.5 as well.

    blsmith4,
    You probably won't get the control of the digital port on your card by only using the DAQ Assistant. One of the following examples should provide you the functionality that you would like out of the box:
    Digital - SW - Timed Output (Simple)
    Digital - Continuous Output (More Complex)
    Continuous Write Digital Port - External Clock - Non Regeneration (Most Complex)
    Let me know if these work better for you.
    Best,
    Jason M.
    Applications Engineer
    National Instruments

  • Elvis: Is It possible to use the Function Generator and the Oscilloscope simultaneously?

    Hi,
     We are using the NI Elvis to output a function or a sine wave at a certain frequency and using the oscilloscope on the same board/elvis to read a modified signal. Is this possible? Can we use both the Function Generator and the oscilloscope at the same time? Please help. The oscilloscope would be reading signal from an accelerometer. Thank you in advance. We have no VI as we do not know which to use and if they are possible.

    Hi,
    There is no problem using the Function Generator and Oscilloscope
    at the same time with NI ELVIS. Using the NI ELVIS soft front panels (Start
    >> Programs >> National Instruments >> NI ELVIS 3.0 >>
    NI ELVIS – see picture attached –‘NI ELVIS soft front panels.JPG’), you can choose
    to open more than one instrument at a time. We do this by opening one
    instrument, allowing it to begin, and then opening another. We can also program
    in LabVIEW using more than one instrument at a time by placing down multiple
    Express VI’s taken from the NI ELVIS pallet on the block diagram (see picture
    attached – ‘ELVIS Express VI's (LabVIEW).JPG’). One note when doing this,
    please see KB 41ODPHX1 
    for an example of how to program in parallel. If you do not wire the ‘stop’
    terminal of the express VI’s, you will get the error described.
    David L.
    Systems Engineering
    National Instruments
    Attachments:
    ELVIS Express VI's (LabVIEW).JPG ‏74 KB
    NI ELVIS soft front panels.JPG ‏56 KB

  • I am using the MODBUS library and can't receive data, however I can send it just fine?

    Hi,
    I am using the Modbus Library to communicate with a VFD to control a fan. I am using the master write and read vi. I can write data to the VFD and get the fan to do what I want. The VFD is supposed to send a confirmation packet after I tell it to do something and I can also read its registers. When I debug the VI it shows the problem is the buffer always reads zero and the VI timesout. If I watch the lights of the USB to RS 485 adapter I am using to interface with the VFD, I see that the RX light flashs right after I send a message. So I should have something in the buffer. Does anyone have any suggestions?
    Aaron
    Solved!
    Go to Solution.

    Ok, heres what happened for anyone who has this problem. In the MB Serial Receive.vi The Bytes at Port property node was reading 0 even though there was something in the buffer. The program execution was then stuck in a loop till it timed out and never went on to read anything from the serial port buffer. I didn't spend too much time wondering why that VI didn't work and created my own. With an appropriate delay after writing to the serial port,  I used the same Bytes at Port property node and was able to get the right number of bytes to then feed the read VISA vi the number of bytes to read. I got the right response message and everything seemed good. But of course NOT! I then experimented with writing different speeds to the VFD to get the fan to run at different speeds. I found a small range of speeds where I would get no response from the VFD, either by it functioning or sending me a response packet. After quite some time, I found there is an error in the LRC-8 code in the MODBUS NI library. It does not mandate the LRC be a two character value. So if your LRC turns out to be a single character value such as F (which should be 0F)  you get an incomplete MODBUS message. This was easily fixed in the LRC8 vi by telling the 'number to hexidecimal string' vi to produce an output with a minimum width of two. Then everything worked great. Moral of the story is the MODBUS library is clunky.

  • HELP! My old mac was requested to upgrade Firefox to 14.0.1. After the sucessfully installation, I received a message saying my old Mac couldn't use the new Firefox and Safari crashes. I have NO browser now!!!

    My old mac was requested to upgrade Firefox to 14.0.1. After the sucessfully installation, I received a message saying my old Mac couldn't use the new Firefox and Safari crashes. I have NO browser now! Any help would be appreciated.

    Hmmm...  So you upgraded Firefox and now neither Firefox or Safari will work?  Very weird.  I have no idea what might have gone wrong.  That said, when things start acting wierd, I always try a bit of maintenance first.  About 95% of the time, I luck out and it works.
    I use the free program Onyx.  I run all the clean up routines.  Then I boot to the recovery partition (Lion) or the OS X Install Disc and repair permissions and verify/repair the hard disk.
    Hope this helps.

  • Can't use the Calendar, Book, and Card functions

    I have updated my iLife programs to iLife 08 and cannot use the Calendar, Book, and Card functions as the program says the themes have not been installed. However, after looking in the Library/Applications Support/iPhoto folder, the themes are there but not being recognized by the program. I have reinstalled iLife 08 but still to no avail. Help!

    Grant:
    Try the following:
    A. look for a folder title Themes in the User/Library/Application Support/iPhoto folder. If you find one there move it to the HD/Library/Application Support/iPhoto folder and reboot.
    If that doesn't jump start iPhoto then go on to B.
    B.
    Restoring iPhoto Themes
    1 - delete the current application.
    2 - delete any files with iPhoto in the file name that reside in your HD/Library/Receipts folder.
    3 - delete the Themes folder from your User/Library/Application Support/iPhoto folder.
    Also look in the HD/Library/Application Support/iPhoto folder for a Themes folder. If there is one there then delete it also.
    5 - boot into the system disk that came with your computer and do a custom install selecting only iPhoto.
    After installing reinstall the iPhoto 7.1.1 updater again followed by a repair of disk permissions with Disk Utility. Also make sure you're running the latest Quicktime, 7.3.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How to save data acquired from NI-DAQ in text format instead of TDMS using the DAQ-mx ANSI C code?

    Hi,
    I wanted to save data acquired from NI-DAQ (for example, NI 9234) in a file using the DAQ-mx ANSI C Code. The response I got was as follows:-
    One way to do it is with TDMS logging. DAQmx comes with functions designed to log to a TDMS file. This is a special file type that is used for collecting data in a logical format. It can be displayed in a TDMS viewer where data is separated into groups and channels. NI-DAQmx provides examples for how to log to TDMS. Look at the TDMS examples in the C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage directory.
    However, now I want to know is there a way that using that same C code, can we save the data in a .txt file format (Text File) instead of a TDMS file? We actually want to access that file through MATLAB (that's why we want to save it in text format).
    Also on an other note, is there a way we can access & open TDMS files by MATLAB?
    Thanks,
    Sauvik Das Gupta

    There's a way you can access TDMS files in MATLAB:
    http://zone.ni.com/devzone/cda/tut/p/id/7446

  • To coerce passed values, use the In Range and Coerce function.

    -" Device Number for Card 1 uses data range coercion, which now only applies to data entry; values will not be coerced when passed to subVIs. To coerce passed values, use the In Range and Coerce function."
    Hi,
    I had program runnning fine in labview version 5.0, Recently i updated to labview version 6.0, but when i opened file i will see many warnings like above.
    I saved the file as 6.0, all the warnings are gone and program compiles as well but i am not sure saving as 6.0 eliminate those problems like..."value will not be coereced when passed to subvis"

    It means that some of your controls use coercion to alter data if it is not within a range. In LV 5.0 this worked for either typing the data into the control or passing it through the connector as a sub-vi. In 6.0 the data won't be coerced if it has been passed through the connector as a sub-vi, only if it is entered on the front panel. If your sub-vis relied on this coercion to operate properly then you will need to add the "In Range and Coerce" function to your block diagram to manipulate these values. If the coercion wasn't important then disregard the warning.
    Hope this helps
    Brian

  • I am using the mac QQ and when I login it said login timeout.

    I am using the mac QQ and when I login it said login timeout.

    If you are missing using google maps - try the Nokia map app called "here"

  • My LR 4 suddenly no longer recognized my memory cards. I am using the same cards and cameras but consisitently get the error message:"files not imported because the files could not be read. they are jpg and nef files...I am stuck without my workhorse! Any

    My LR 4 suddenly no longer recognized my memory cards. I am using the same cards and cameras but consisitently get the error message:"files not imported because the files could not be read. they are jpg and nef files...I am stuck without my workhorse! Any advice is helpful. This has never happened in 6 years

    answered in your other thread LR 4 suddenly no longer recognizes files.

  • I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. Can someone resolve this problem.

    I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. But in my purchased item library it indicates that you update iPhoto. I am not sure which account the aps store asking. Can someone resolve this problem.

    Contact App Store support. They're the folks who can help with Account issues.
    Regards
    TD

Maybe you are looking for