Trouble creating Variant format for ActiveX Function (MintMT Controller)

Hello!
I am creating a VI to control 2-axis motion using the MintMT activeX library and have run into a problem.  I was able to easily call and execute functions from Labview until I ran into one (VectorA) that requires an array of variant input.  I cannot format my input correctly and have exhausted myself trying different combinations of building this array and converting to variant type (To Variant). I also have wired Labview arrays directly (with no luck). The arrays are very small (only 2 elements). Finally I tried the OpenG library (Cluster to Varray and Array to Array of Vdata) without success.  The error code is: LabVIEW:  (Hex 0x80070057) One or more arguments are invalid.
Any advice?
Attached is the documentation for the function:
VectorA
Prototype:
VB      VectorA(nNumberOfAxes As Integer, nAxesArray As Variant,
                fPosArray As Variant)
Delphi  VectorA : (nNumberOfAxes: Smallint; nAxesArray: OleVariant;
                   fPosArray: OleVariant)
C++     void VectorA(short nNumberOfAxes, VARIANT nAxesArray, VARIANT fPosArray);
C       void VectorA(__int16 nNumberOfAxes, __int16 *nAxesArray, float *fPosArray);

Hi Mr. NiceGuy,
The code from the manufacturer has a To Variant converter between the arrays and the Property Node. I'd recommend converting the arrays to variants in your code. You can find that To Variant VI on the Functions Palette » Programming » Cluster, Class, & Variant »Variant. Let us know if that works.
Hillary
Regards,
Hillary E
National Instruments

Similar Messages

  • Can I create File Formats for Bank Transfers?

    Hello Everyone!
    I need to know if Sap B1 2007A allow me to create File Formats for bank transfers in outgoing payments. I¨m in Colombia, South America, and working as Chile does.
    It is available documentation related to this issue?
    Thanks very much
    Claudia
    Edited by: Darius Heydarian on May 6, 2008 5:28 PM
    Edited by: Philip Eller on May 20, 2008 9:10 AM

    Kerstin,
    Thanks for the information.
    I might be wrong, but I understood that SAP did allow you to create dll files for this purpose. In the Document Resource Center in the Add-ons section, click on Payment Engine. There is a document called
    'Payment Engine Plug-in Development Guide in Release 6.5'.
    Claudia - you might want to see if this document is any use for you.
    Although the name shows release 6.5, this document still appears for both 2005 and 2007.
    I also checked 2007A and it still has the prompt for File Format.
    As I said, I might be wrong, because I do not know anyone who has tried to create a plug-in, but if this is not for creating your own dll files, do you know what it is for?
    Let me know what you think.
    Regards,
    Douglas

  • Creating a Structure for BAPI Function Module

    Hi,
           I need to create an RFC for a BAPI call. For that I have to create a structure for the function module. Now, do I need to specify both import and export parameters in the same structure or do I need to create two different structures for Import as well as export parameters? If the import and export parameters are specified aleady, Do I need to supply this structures again under "TABLES"?
    Thanks,
    John.

    if u have/get more one records , then u have to use tables ?
    Regards
    Prabhu

  • How to create Import format for building  version Hirerarchy and Node

    Hi
    i Want to know  how to create  Import format for building version  Hirerarchy and Nodes.Can anyone  show me with example  or format  for version  Hierarchy  with few nodes for the hierarchy
    i Want to Build   this   1. Version1 (Version)
                                     2.Account (Hirerarchy)
                                     3. Balancesheet (Limb)
                                     4. Assets (Limb)
                                     5. Cash (Leaf)
    Thanks,

    Please follow the DRM User Guide,
    http://docs.oracle.com/cd/E17236_01/epm.1112/drm_user.pdf
    Below is my preferred approach, by selecting only relation and Hierarchy sections,
    The relation section contains the Node Name and Parent Name ( you can include any other properties, but as a best practice keep the Parent Node as the last column).
    The Hierarchy ( Hier ) section contains the Hierarchy Name, Top Node and Hierarchy description
    Follow the Import steps and provide a Name for the version.
    ++++++++++++++++++++++++++++++++
    [relation]
    AC_BalanceSheet AC_Account
    AC_Asset AC_Account
    AC_Cash AC_Account
    [hier]
    Account AC_Account AccountHier
    ++++++++++++++++++++++
    Note: Please delete all the special characters (TAB) created at the end of  [relation] and [hier] sections while you copy the content from an Excel sheet to a Notepad.

  • How do you create a package for a function?

    Hello,
    Can someone tell me how to create a package for a function? My understanding is to call a function like a beforeReport from the data template, is that the function needs to be in a package.
    Thanks,
    Susan

    Create package my_pack as
    my_val varchar2(40);
    function before_rep(my_param in varchar2) return boolean;
    end my_pack;
    create package body my_pack as
    function before_rep(my_param in varchar2) return boolean is
    begin
    my_val := '1=1';
    return true;
    exception
    when others then
    return false;
    end before_rep;
    end my_pack;
    hope this helps.
    Marcos

  • How to create print format for report

    Hi Experts,
    Can we create print format for report program. I need x_90_150 format,
    means 90 rows and 150 column. If possible then give me solution.
    Thanks,
    Ashish.

    Get with your Basis folks to set up a 90x150 printer option.
    Then you set something like this.
    REPORT zlmr_lead_account_list LINE-SIZE 150 LINE-COUNT 90.

  • How to create Variant file for ECATT(MM01)?

    Any one know how to create variant file for ECATT (MM01)

    Hello TJK,
    What do you mean by variant file? Please give some more details.
    Meanwhile here is the link on how to use eCATT,
    New to Materials Management / Warehouse Management?
    Hope this helps.
    Regards
    Arif Mansuri

  • Trouble Creating Padded Images for iMovie

    i am having trouble creating "padded" images to add to iMovie 09.  I followed the directions here (https://discussions.apple.com/message/10699725?messageID=10699725#10699725?messa geID=10699725) which recommend the following:
    Set up an Automator Workflow to
    1. Ask for Photos (You must select one or more photos and hit Select - you can make this easier by putting them in an album beforehand)
    2. Copy Finder Items (give it a folder to copy to- so you can find them easily)
    3. Pad Images. (put a check mark in "scale image before padding" and set for dimensions of your project.
    Hit Run and a dialog box will come up asking you to select photos. When you are finished, press SELECT and the Automator script will keep running.
    However, each time I run the script I get the following error: The action "Pad Images" was not supplied with the required data."
    My files are .jpg and I am running OS X.  Any suggestions on what I might be doing wrong?

    If you want a quick response it might make sense to try and contact user TessB directly. I say that only as that person was the one that proposed the Automater Workflow workaround, and that's not exactly something here can answer (Maybe the folks in another forum related to Autmator might be able to help). Unfortunately some solutions aren't as generic or easy to use for everyone as they are for the person who has written them up. I call it the "Works for Me" problem.

  • Create a procedure for SAE function by using trigger.

    how to create a procedure by using triggers.
    we Have a job constant for the SAE function to trigger psuedo code SAE_ENG_DOC description: Engineering Documentation requirement. This should only trigger 1 time per job regardless of how many up issues recosting there may be.
    and we have to add 2 hrs for Engineering Documentation .
    Please give me response as soon as possible.
    Thx & Regards
    Sridevi

    The response as soon say that shine light on document reflects wording on manual into retina for purpose of consumption by cerebral cortex for the understanding the problem to formulate solution.
    Or else you can try plain and simply English saying WHAT the problem is, without making assumptions that we understand your tables, your software, your database, your environment and your requirements.
    And drop the "give me response as soon as possible" as no one here owes you a damn thing in terms of how quick to respond to your problem.

  • Trouble creating custom AreaRenderer for AreaChart

    Quick first question: if I purchase the charting package, do
    I get the source code? That would certainly solve my problems.
    OK the real question: Does anyone have a quick example class
    that is a custom AreaRenderer for an AreaChart?
    I'm trying to create a custom AreaRenderer implementation.
    According to the docs, I need to implement the "AreaRenderer"
    interface (not IAreaRenderer (?)) which supposedly lives in
    mx.charts.renderers.interfaces but Flex Builder complains that the
    interface is not found.
    Link to the docs:
    http://livedocs.macromedia.com/flex/15/asdocs_en/mx/charts/renderers/interfaces/AreaRender er.html
    Alternatively I've tried simply extending AreaRenderer but
    the methods: beginDraw, draw and endDraw don't seem to be there or
    are not overridable?

    Ugh I always figure these things out just after I post. I've
    been banging my head on this for over a day too.
    Anyway, for anyone else all you do is extend ProgrammaticSkin
    and implement IDataRenderer. Here is my sample class:
    package
    import mx.core.IDataRenderer;
    import mx.skins.ProgrammaticSkin;
    import mx.charts.series.items.AreaSeriesItem;
    import mx.charts.series.renderData.AreaSeriesRenderData;
    import flash.display.Graphics;
    public class MyAreaRenderer extends ProgrammaticSkin
    implements IDataRenderer
    private var _data:AreaSeriesRenderData;
    public function get data():Object
    return _data;
    public function set data(d:Object):void
    _data = d as AreaSeriesRenderData;
    override protected function updateDisplayList(width:Number,
    height:Number):void
    super.updateDisplayList(width, height);
    var g:Graphics = graphics;
    g.clear();
    g.moveTo(width,height);
    g.beginFill(0xFF0000);
    for (var index:String in _data.filteredCache)
    var item:AreaSeriesItem = _data.filteredCache[index];
    g.lineTo(item.x, item.y);
    g.endFill();
    I'd still like to know if you get the source code to the
    charting package though.

  • [SOLVED] Trouble creating a ramdisk for my custom kernel

    Alright so I am compiling my own kernel and have been following the wiki here, https://wiki.archlinux.org/index.php/Ke … l_RAM_disk and I am stuck at that part, making a ramdisk for the kernel. The step before that, which was to copy bzimage to /boot and rename it the kernel name worked successfully. I am confused by the command the wiki gives me,
    mkinitcpio -k FullKernelName -c /etc/mkinitcpio.conf -g /boot/initramfs-YourKernelName.img
    what do I replace FullKernelName with? I tried running
    mkinitcpio -k FullKernelName -c /etc/mkinitcpio.conf -g /boot/initramfs-vmlinuz-3.18.0-ARCH2
    just for the hell of it and I get
    ==> ERROR: '/lib/modules/FullKernelName' is not a valid kernel module directory
    which is correct, as I dont have a file named FullKernelName however in my lib/modules directory I don't have any file for the kernel or anything. Did I do something wrong when compiling?
    Last edited by altiris (2015-02-20 23:02:27)

    Heh I am funny. I thought by /lib/modules it was referring to that in my kernelbuild directory but it was referring to root. I will just do everything from scratch and re-try.
    EDIT: Got it now its working I think a little note should be added that mkinitcpio is referring to the root /lib/modules although maybe I just wasn't noticing that it had / and not lib/modules
    Last edited by altiris (2015-02-19 23:19:57)

  • Creating Java code for the function module

    Hi Colleagues,
    I have a fuction module in ABAP system. Now I want to Generate java code for the FM.
    I cam to know that we can achive that using AXIS, By getting the XML file for the fuction module and generate Java
    Class file using that XML file.
    Can any one tell me how to achive it.
    Or any other way to do that?
    Please provide you valid suggestions.
    Regards,
    Sathya

    Hi,
    You can integrate axis2 in eclipse. I think you have to find the plugin for that.
    After that you can let axis generate the jave code (stubs and proxies) for your web service via the wsdl file.
    Kind Regards,
    Robin

  • How to create transport request for business function activation?

    Hi Gurús,
    I activated LOG_MM_MAA_1 business function in development (DEV) system:
    Component: SAP_APPL
    Release: 604
    Level: 0006
    SP: SAPKH60406
    I want to transport the activation to quality (QAS) system.
    In SFW5 transaction --> System Settings --> Transport only generated a workbench transport request with "Status Tables Switch Framework Client-Independent" (Object type = SF02, Object = A)
    Is this the only object to transport?
    Is the activation of business function should be direct in QAS system?
    Thank in advance
    Alonso Valenzuela

    > In SFW5 transaction --> System Settings --> Transport only generated a workbench transport request with "Status Tables Switch Framework Client-Independent" (Object type = SF02, Object = A)
    > Is this the only object to transport?
    Yes.
    The "after import" method during the transport will activate the BF as it did in the original system.
    > Is the activation of business function should be direct in QAS system?
    No, transport it.
    Markus

  • How to creat web service for a function module?

    who can provide me some resource on the topic.
    thanks
    Johnney.

    Hi John,
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/content.htm
    Reward Points if Useful
    All the Best
    Gokul

  • CS4-How to create a shortcut for media browser icon clean up function?

    Hi again.
    I recently upgraded my system, now running CS4 suite in Window 7 - 64bits. This to be able to manage AVCHD files within premiere.
    I'm just starting to work with it and I'm missing the ability to create a shortcut for this function I had in PP2 cs2. I did go to the recommended reading before posing my question. There the most appropriate area I could find was about Bins Behaviours, at least I thought it was, and there was nothing in it.
    I have gone to Edit / keyboard  customization then each of the 3 choices, application, panels and tools. but could not see "Clean Up"
    I hope someone has an answer for me as I like to use this panel as a story board and use this function often and thank those who will try to help me.
    (I'm pleased that my avchd files are now coming nicely on the timeline!)_

    Is this what you are looking for?

Maybe you are looking for

  • FAST Entry- A/P

    Hi Gurus Pls let me know whether we can post different vendor invoices and payments at a time, but document numbers should be different for every entry. eg:-  Rent payment Vendor a/c DR. [many vendors are there- need to post as if one    document but

  • HT201328 How wil I know if my phone has been unlocked?

    I've just phoned t-mobile to have my phone unlocked, how will I know when this has happened

  • Highlighting an object in the video clip?

    Isnt there a way to insert an arrow in the clip to point to a particular object/subject? I am working on a football highlight film and want a pointer on the player as the clip starts.....any suggestions/comments appreciated!

  • Create a black border for select list item

    Need help on creating border on a select list item. I tried using style ="border:1px solid black"; in HTML Form Element Attribute , but its not working for select list item, though it works on text field item. Nilesh

  • Can i use my new apple id i've made using laptop to my iphone 5?

    Can i use my apple Id on my new apple id I made from a desktop to my iphone 5 to be able to upload apps in itunes and appstore without asking any credit card?