Import c struct from dll header file into TestStand?

Hi,
I'm writing a TestStand sequence to call some CVI functions I have compiled into a dll. One header file in the CVI code is the interface to the dll and declares some functions and some C structs which are to be passed into the functions as pointers. These structs are populated with test results as the CVI code executes. I want to import these structs into TestStand.
TestStand seems to have properly imported my function calls because I can select them from a drop-down list. But it doesn't seem to recognize my struct definitions, because it just says "unknown __struct 617*" -- it knows it's a C struct pointer but doesn't know what fields exist in the struct.
How do I get TestStand to recognize the fields that are in my structs?
The C functions and structs are declared with DLLEXPORT in the header file. I compile the CVI code into a dll, with the target settings set to export marked header files and symbols. The only header file marked in the target settings dialog is the header file declaring these functions and structs. So I think they're being exported properly into the dll.
Any ideas to help?
Thanks!

I'm using typedef struct {...} MyStruct; to make life easier in CVI world, so rather than changing that throughout my CVI code I think I'll just live with the fact that TestStand doesn't know what struct type it is.
But typedef or not, is it ever possible for TestStand to import the struct definitions (ie so that it knows what fields and types exist within the struct)? Or do I have to make containers in TestStand that match the format of the structs I'm using in CVI, and pass those container pointers into my CVI function calls?
Thanks!

Similar Messages

  • How do I import several layers from one Illustrator file into another Illustrator file?

    Hi!
    I have ten Illustrator documents with appr. 100 layers in each document.
    Each layer in all documents are named correctly for automatic script exporting to PNG files.
    Now I want to import all layers from all ten documents into one master file. And importantly, I want to keep the exact names of each layer.
    Thank you for any help on this!
    David

    Layers Palette flyout >> Paste remebers layers (Enable)
    Now when you paste the layer names will come over.

  • How do I import the data from Excel (.xls) file into Oracle Database table

    I have an excel file with 5 columns of 5000 rows.
    I have to import 5000 rows of data into my oracle table with
    same column names & Data types.
    What is the best advise for this ?
    Thanks.
    Srini

    You can connect to Oracle from Excel directly. I know you can read data but am not sure if you can export data.
    Other option is to import the data into Access.
    Create an ODBC connection for Oracle
    Use the to connect to Oracle from Access
    Export data to Oracle from Access
    Shakti
    http://www.impact-sol.com
    Developers of Guggi Oracle - Tool for DBAs and Developers

  • How can I import data from a csv file into databse using utl_file?

    Hi,
    I have two machines (os is windows and database is oracle 10g) that are not connected to each other and both are having the same database schema but data is all different.
    Now on one machine, I want to take dump of all the tables into csv files. e.g. if my table name is test then the exported file is test.csv and if the table name is sample then csv file name is sample.csv and so on.
    Now I want to import the data from these csv files into the tables on second machine. if I've 50 such csv files, then data should be written to 50 tables.
    I am new to this. Could anyone please let me know how can I import data back into tables. i can't use sqlloader as I've to satisfy a few conditions while loading the data into tables. I am stuck and not able to proceed.
    Please let me know how can I do this.
    Thanks,
    Shilpi

    Why you want to export into .csv file.Why not export/import? What is your oracle version?
    Read http://www.oracle-base.com/articles/10g/oracle-data-pump-10g.php
    Regards
    Biju

  • Is it possible to import an Oracle 10 (export .dmp file) into Oracle 9 db ?

    hi Oracle Guru's
    Is it possible to import a oracle 10 (export .dmp file) into an oracle 9 database ?
    I tried & got the following error ...
    IMP-00010 not a valid export file, header failed verificationperhaps their is a work-around ?
    thanks

    Hi
    You can take export from a previous version and import to a later version. Having said that, there is still a workaround to do what you want.
    On 9i server add a connect string for your 10g instance. Then use 9i export utility to export 10g data. That way your export will be compatible with 9i. You can then import the data in your 9i instance.
    To create connect string you can either use Net Configuration Assistant or manually edit TNSNAMES.ORA file in your 9i server.
    Hope it helps.
    Rgds
    Adnan

  • I am trying to import Firefox bookmarks from a Windows machine into Firefox on an Apple. I do not want to use Safari. How do I do this?

    am trying to import Firefox bookmarks from a Windows machine into Firefox on an Apple. I do not want to use Safari. How do I do this?
    I have, on my HP laptop, running XP Pro, using Firefox 4.0, went under bookmarks to show all bookmarks. A window opens up that says library. I then go to import and back up, and I choose export HTML. I then move this file over to my new Mac Pro. On my Mac Pro I also have Firefox 4.0. I go up under bookmarks, show all bookmarks, import HTML. It lets me browse and I find the file on the desktop, I select it then nothing happens. I am not interested in using Safari. I would like to continue using Firefox. However, as an experiment, I followed the same process except on my Apple computer I opened up Safari and tried to import in the Firefox bookmarks. It came up with an error saying the file could not be accessed. I then thought perhaps the file got corrupted, so I went back to my Windows Firefox and re-exported the bookmarks again. Same problem. So, am I creating the bookmarks incorrectly on my Windows machine?
    Thanks,
    Kent

    Probably your Mac cannot understand the Windows html format, please try the following to see if it helps:
    In your PC, export the bookmarks in html as you did in your post. After you have saved it, change the name of the file to “bookmarks.html” and save it again.
    In your Mac, import the saved file as you posted.

  • PSE-10 how do I import and copy from external hard drive into organizer

    Can I import and copy from external hard drive into organizer? Under Get Photos, I select import  from folders/files but after browsing to the external hard drive the copy option is disabled/greyed out. I there a method to import and copy?

    That would be mounted as an internal drive and hence the corresponding option is not checked during Import.
    Once you import the media form this drive, you can select all and go for File >> Copy/Move files option and copy them wherever you want to.
    Hope this helps
    Thanks
    Andaleeb

  • Want to import avchd footage from a media card into FCE.

    Trying to import avchd video from a media card into Final Cut Express. Panasonic DMC-ZS3 / FCE 4.0.1 / MBP 10.6.8. Have taken a look at the footage using a trial version of Pavtube MTS Converter.

    A further comment : this is AVCHD Lite, and there are several online recommendations for software to convert files for Mac. Any suggestions??

  • Js import colour swatches from an other file

    Hi all
    I am trying to import the colour swatches from an other file into the current document.
    I was hoping this would be just like importing Par or Char Styles...
    ...    app.activeDocument.importStyles(_theFormat_, sourceFile, importPolicy);
    But I have so far had no luck.
    Can anybody give me some hints.
    Thank you very much
    Romano

    Hi Romano,
    Can you please try the below JS code, The code is just import the swatches from the desktop document onto the active InDesign document.
    var myColorDoc = new File("~/Desktop/color.indd");
    app.activeDocument.loadSwatches(myColorDoc);
    thx
    csm_phil

  • Do I have to import my songs from my cd's into itunes only? Or can I sync

    I just got fifth generationvideo ipod, however I am new to the itunes store etc. Do I have to import my songs from my cd's into itunes only? Or can I sync songs from windows media player off of my cd's?

    If you add your Windows Media Player songs to iTunes--the songs will stay in the original place on your computer and you only add a file path. This lets iTunes know where to find the songs. This doesn't take up very much hard disk space. The paths are stored in your iTunes folder (which can be found in your My Documents>My Music folder on your hard drive. You can watch this folder to see how big it gets. When you BUY songs from the iTunes store--then the song file will be stored in your iTunes folder on your hard drive. If you buy a lot of music, this folder could get large.
    To add song files or folders, go to the top line of iTunes, click File>Add File OR Add Folder and then navigate to the place on your hard disk where you have your Windows Media Files stored.

  • Reading one line from a text file into an array

    i want to read one line from a text file into an array, and then the next line into a different array. both arays are type string...i have this:
    public static void readAndProcessData(FileInputStream stream){
         InputStreamReader iStrReader = new InputStreamReader (stream);
         BufferedReader reader = new BufferedReader (iStrReader);
         String line = "";          
         try{
         int i = 0;
              while (line != null){                 
                   names[i] = reader.readLine();
                   score[i] = reader.readLine();
                   line = reader.readLine();
                   i++;                
              }catch (IOException e){
              System.out.println("Error in file access");
    this section calls it:
    try{                         
         FileInputStream stream = new FileInputStream("ISU.txt");
              HighScore.readAndProcessData(stream);
              stream.close();
              names = HighScore.getNames();
              scores = HighScore.getScores();
         }catch(IOException e){
              System.out.println("Error in accessing file." + e.toString());
    it gives me an array index out of bounds error

    oh wait I see it when I looked at the original quote.
    They array you made called names or the other one is prob too small for the amount of names that you have in the file. Hence as I increases it eventually goes out of bounds of the array so you should probably resize the array if that happens.

  • Uploading the data from a flat file into ztable

    Hi,
    I have a requirement where I have to upload the data from 2 flat files into 2 z tables(ZRB_HDR,ZRB_ITM).From the 1st flat file only data for few fields have to be uploaded into ztable(ZRB_HRD) .Fromthe 2nd flat file data for all the fields have to me uploaded into ztable(ZRB_ITM). How can I do this?
    Regards,
    Hema

    hi,
    declare two internal table with structur of your tables.
    your flat files should be .txt files.
    now make use of GUI_UPLOAD function module to upload your flatfile into internal tables.
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = 'c:\file1.txt'
          has_field_separator = 'X'
        TABLES
          data_tab            = itab1
        EXCEPTIONS
          OTHERS              = 1.
    use this function twice for two tables.
    then loop them individually and make use of insert command.

  • SQL Loader-How to insert -ve & date values from flat text file into coloumn

    Question: How to insert -ve & date values from flat text file into coloumns in a table.
    Explanation: In the text file, the negative values are like -10201.30 or 15317.10- and the date values are as DDMMYYYY (like 10052001 for 10th May, 2002).
    How to load such values in columns of database using SQL Loader?
    Please guide.

    Question: How to insert -ve & date values from flat text file into coloumns in a table.
    Explanation: In the text file, the negative values are like -10201.30 or 15317.10- and the date values are as DDMMYYYY (like 10052001 for 10th May, 2002).
    How to load such values in columns of database using SQL Loader?
    Please guide. Try something like
    someDate    DATE 'DDMMYYYY'
    someNumber1      "TO_NUMBER ('s99999999.00')"
    someNumber2      "TO_NUMBER ('99999999.00s')"Good luck,
    Eric Kamradt

  • I can't find the Show menu to import a song from a shared file.

    Where do i find the show menu to import a song from a shared file?

    Welcome to the Apple Community.
    Do you mean this one in the bottom left corner of iTunes.

  • Can someone please tell me how to import a photo from my iPhoto library into Photoshop Elements 11.             o library

    Can someone tell me how to import a photo from my iPhoto library into Photo Shop Elements 11.  When I am in Photo Shop Elements and I go to import the only option is to import from a camera.  I want to import a photo from iPhoto.  If I can't figure this out Photo Shop Elements is totally useless to me.

    Not sure what you are trying to do
    If you want to use PSE as an editor for iPhoto then set it in the iPhoto preferences (you need to search the forums for the exact settings - they are not obvious)
    The general answer to yoru question is to import a photo form iPhoto to  any other program is to select the photo in iPhoto and export to the desktop and import from there
    Please explain what it is taht you want to do
    LN

Maybe you are looking for