How can I modify the "Type definition​s" of "Function Prototype" if I want build a DLL in Labview 8.5.1.?

Hello,
We have a library with several VIs (API - Interfaces to our Real Time Target). This VIs we provide to our customer to generate own VIs to control the Real Time Target.
Now we want to provide the functionality of this VI-library as DLL to our customer. The problem is, that labview use self definite name of type definitions. Also if I use "strict Type definition".
Example:
void GetOutputValues(VARIANT *Scale_In, int32_t ModelNr, uint16_t SignalID[], TD1 *errorIn, VARIANT *Scale_Out, TD2 *Data, TD1 *errorOut, int32_t len)
It is possible to modify "TD1" and "TD2"? I want to give useful names.
Greetings
Steffen

Hi Steffen,
      Try editing the .h file as follows:
CHANGE FROM:
typedef struct {
 LVBoolean status;
 long code;
 LStrHandle source;
 } TD1;
CHANGE TO:
typedef struct {
 LVBoolean status;
 long code;
 LStrHandle source;
 } TD1;
typedef struct {
 LVBoolean status;
 long code;
 LStrHandle source;
 } LVErrorCluster;
then your GetOutputValues prototype becomes:
void GetOutputValues(VARIANT *Scale_In, int32_t ModelNr, uint16_t SignalID[], LVErrorCluster *errorIn, VARIANT *Scale_Out, TD2 *Data, LVErrorCluster *errorOut, int32_t len)
If your source-code doesn't refer to "TD1", then you probably won't need to keep the TD1 prototype!
Cheers.
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)

Similar Messages

  • How can you modify the displayed columns on a Related Information List?

    How can you modify the displayed columns on a Related Information List? For example, how could you add the "Type" column to the List of columns displayed for Service Requests when you are viewing the Contacts Detail page?
    Thanks

    I'd have to say I think this is one of the biggest flaws in the OnDemand system currently. The solution I have come up with is to create reports and put them in webapplets showing the data I want to show. I have then removed the standard Related Info List Objects and added weblinks to create new records as the button on the List object is also gone.
    Keep in mind that doing this does slow things down a little, so it may not work if you have a big user base.
    RWB.

  • How can I modify the screen of TCode IW31/IW32/IW33?

    How can I modify the screen of TCode IW31/IW32/IW33?
    I'm trying to add new fields, so that after inputting the order type and hit on enter, a new field will be added under the Service area. Does anyone knows how can I do it?

    Hi,
    Screen badi's for IW31.
    IWO1_SCREEN_MODIFY
    IWO1_PREQ_BADI
    WOC_FL_DETERMINE
    Refer This:
    Screen exit for transaction IW31 for ref. object O150
    Regards,
    Shiva Kumar

  • How can I determine the type of video out connector I need?

    Howdy,
    I have a white macbook purchased Jun/2008. I want to connect to a TV but don't know what adapter I need. How can I determine the type of video out jack my macbook has?
    System Profiler says the model identifier is "MacBook 4,1". Under Graphics/Displays the only thing it says about the "Display Connector" is that no display is connected. Too bad it doesn't tell me what type of connector it is. If I knew the name of the connector I'd probably be home free. But it seems like every macbook model has a different video connector (since the state of the art has advanced over the years) and I haven't been able to keep up with the names.
    Now, I have a 6" long adapter that will convert this connector to VGA. And searching the Apple store for VGA adapters, the existence of mine says my connector is might be one of "Mini DisplayPort", "Apple Mini DVI", "Apple DVI", or "Apple Micro-DVI". But then there is also the connector at
    http://store.apple.com/us/product/M8639G/A?mco=MTY3ODQ5OTY
    and that looks like the one I have. But unlike the other adapters, this one is just called a "VGA Display Adapter". Does the connector have a name? How can I find adapters that have that same connector?
    I know I could use the adapter I have, plus a VGA to VGA cable, to hook up to a TV. But the quality of the VGA signal is poor in the digital world. My goal is to hook up to the TV via HDMI. Is this even possible? By which I mean, will my macbook generate the signals necessary to be able to be converted to HDMI?
    Thanks for any help,
    Zebulon T

    Thanks, Ded,
    You're right, the cable that I have won't work. I't from my previous, 2004 iBook. This is pretty embarrassing... I looked at the cable but didn't bother to try plugging it in.
    Looking at the close-up picture of the Mini-DVI to VGA adapter, that does look like the right connector. So I have Mini-DVI, and the other apter you pointed to can convert this to DVI. I'll take a look to see what makes the most sense, connector wise, downstream from that.
    Thanks very much.
    Zeb T

  • How can we modify the maximum no. of columns in pivot table ?

    hi all,
    How can we modify the maximum no. of columns in pivot table ?
    do i need to change the nqconfig.ini or instanceconfig file or else?
    thnx..

    A little search on the forum :
    In the instanceconfig.xml add a <PivotView> element under <ServerInstance> if one does
    not exist already.
    Within the <PivotView> element add an entry that looks like:
    <MaxCells>nnnnnn</MaxCells>
    where nnnnnn is your desired limit for the maximum total number of cells allowed
    in a pivot.
    Warning: an excessively large number will cause more memory consumption and
    slower browser performance.The details here :
    Oracle BI EE (10.1.3.2): Maximum total number of cells in Pivot Table excee

  • Qosmio X500-15F - How can I modify the DPI?

    Hello
    With Qosmio X500-15F and graphic card NVIDIA GeForce GTX 460M
    I'm using a professional software for jewelry building (Matrix 6.0 based on Rhinoceros 3D 4.0 SR9). When starting it, the software is asking me to set the DPI to normal.
    How can I modify the DPI? I already tried different resolution settings. It doesn't change the problem.
    Thanks for help

    DPI is how many pixels per inch of the LCD. You can't change that.
    I think the software needs a specific resolution or LCD size. Try lowering the resolution to 1280x800 or try an external monitor.

  • When I logon for XP, if I am no actively doing something for several minutes I am logoff and must reenter my logon again. How can I modify the time it stays active?

    When I first logon to windows xp if I am not actively doing something minutes I am logoff and must re-enter my ogon again. How can I modify the length of time that it stays active?

    You can find that in control panel

  • How can I modify the domain of a comment server?

    Acrobat 9 in Windows 7
    Besides editing the registry, how can I modify the URL for a comment server that I've been using for reviews?
    I earlier initiated a shared review but used only the hostname of the server, not the fully qualified name (FQN) that includes the full domain name. Now, when I reuse that server for other reviews that I initiate, I'm stuck with the unqualified name. Folks outside of my subnet can't publish comments to the server because the simple hostname isn't known on their subnet.
    How can I change the properties of that server so future reviews use the FQN?
    Jerry

    You can't edit the server profile through UI.
    The only way available through Acrobat UI is to first delete the earlier server profile and then re-create it again from the Shared Review Initiation Dialog.
    For deleting the profile, Go to  "Edit menu-> Preferences->Tracker" and from the 'Remove Custome Server Locations' section choose the server profile which you want to delete and click on Remove Server Profile.
    -Priyanka

  • How can i modify the check constraint   in the table

    How can i modify the check constraint in the table. This table containts check constraint, condition is code_value between 1 and 4. codevalue is column name.
    Please suggest me.

    Go to tahiti.oracle.com, pick version browse reference manual and see the alter table statement
    Also read the goal of this forum.
    Your question is more appropriate to Database general forum
    General Database Discussions
    Gints Plivna
    http://www.gplivna.eu

  • How can I modify the High Speed Data Reader VI to show correct time informatio​n in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its correct time information in the graph.
    How can I modify the High Speed Data Reader VI to show correct time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Hey Chunrok,
    I've modified the High Speed Data Reader VI slightly so that it now uses the scan rate of the data (as determined from the file) to set the scaling for the data points. If you wanted the start time to be a specific time you could use the start time obtained from your file to set the xscale offset as well.
    I hope this helps!
    Sarah Miracle
    National Instruments
    Attachments:
    Example.vi ‏281 KB

  • How can I modify the High Speed Data Reader VI to show the time information in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its time information in the graph.
    How can I modify the High Speed Data Reader VI to show the time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Format the x axis to either absoulte or relative time.
    You can do this by right clickingo n the graph and selecting x axis then formatting from the menu.
    Thanks,
    Naresh

  • How can I modify the High Speed Data Reader VI to show correct time information in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its correct time information in the graph.
    How can I modify the High Speed Data Reader VI to show correct time information in x-axis?
    I hope you can explain easily because I am a beginner.

    First, I couldn't seem to find that example either on computer or on the NI sites.
    The problem that we're running into is stated in the article that I pointed to - when real time VIs are running, then the OS will stop updating the OS clock. TO us it looks like the clock is losing time. There is a hardware clock on the PXI and it is read only during boot up to set the OS clock. Our discussions with NI have not led to a solution for this problem without checking the time on start and then checking the tick count (which does not lose time) and calculating what the current time is. No access to the hardware clock is supplied.
    We're still working on a simpler way to get accurate time.
    Rob

  • How can we modify the Task Priority in BPM workspace???

    How can we modify the Task Priority in BPM workspace??? Is it possible?? If so what is the best and easy way to implement this??

    Hi Chandra,
    First please find the job name in SM37 for FIGL and check the job status to be in "released" status. Select that job and go to job menu and click on change. then it will take you to the job screen where you have "job class". Here you can change the job class to "A" to get to high priority.
    If you are unable to edit the job then create a new job with the same variants by clicking STEP button in the Job screen.
    Try these steps, let me know if are able to do so.
    Regards,
    Ravi Kanth

  • How can we restrict the type of components that can be dragged and dropped from the sidekick CQ

    how can we restrict the type of components that can be dragged and dropped from the sidekick CQ

    Generally drop the components at parasys. The components allowed on the parsys is control via the design mode of the page.So restrict components at the design of the parsys. http://dev.day.com/docs/en/cq/current/wcm/working_with_cq_wcm/using_edit_designandpreviewm odes.html#Design%20Mode

  • How can I modify the speed of an titel?

    Hello,
    I have the following question. How can I modify the speed of an title.
    e.g. The "Starwars" Title.
    My problem is, that the words are flying in to quick.
    The people can not read the text...
    Thanks for your help!

    speed = length x time
    make you text shorter, or make the title appear longer to reduce speed.

Maybe you are looking for