Enumerated Types Exposed in Teststand Not Working Quite Right

Hi All,
I have a LabWindows/CVI driver where one of the APIs is an enumerated type. I followed some of the posts where it instructed me to create the enumerated data type in *.h file, add it to the *.c API, create a FP and add the new type to the API, configure the target settings to "add type library resource to DLL" and build.
I see the enumerated data types, but the description of the new type is garbage. See the attached JPG. I see "__MIDL__MIDL_itf_IALdi1_0000_0001" for the description of the enumerated type.
I have looked all over the place for a setting, etc. but can't figure it out. Does anyone else have or had the same problem? And a solution.
Thanks
Minesh
Attachments:
Types.jpg ‏113 KB

Hi All Again,
I found an example from NI, cvi_enumerated_values.zip. If I include the DLL that was prebuilt, everything is fine, no Enumeration name mangling. But if I rebuild with LabWindows/CVI 8.5 or 2010 and then use the corresponding DLL, I get the description naming mangling again. So, it seems to be a build or environment issue. Still trying to track the issue down.
Thanks
Minesh
Attachments:
cvi_enumerated_values.zip ‏70 KB

Similar Messages

  • Timeout script not working quite right.

    I'm doing a kiosk project that has 11 scenes that house about
    70 videos for playback. I need to include a timeout function that
    needs to revert back to screen #1 if there is no mouse activity for
    around 8 minutes. There is another timeout script in scene #2 that
    forwards ahead to scene #3 if no activity within 30 seconds. The
    timeouts do seem to work, they go to and stop where they're
    supposed to but then they seem to rerun themselves so that several
    are running at the same time. When I click into other scenes which
    start the videos, then they will quit and jump back to screen #1
    after 30 seconds or so.
    Any help on this would be greatly appreciated...

    You're posting AS2 code in the AS3 forum. Anyways, Try moving
    your mouse around while you're watching the videos and see if they
    kick back to the first scene... chances are myInterval is still
    working in the other scenes.
    I'm not sure, but I don't think changing scenes cancels that
    kind of functionality. From what I heard, when you work with
    scenes, when the file is compiled, it melds them all into one long
    timeline (hear-say only, so I won't mind being straightened out on
    that).

  • ScrollPane  in Flash8 not working quite right Flash8

    http://www.karaedwardsvo.com
    When you click on either "about" or "clients" it takes you
    down the timeline to a ScollPane that is set to load an external
    swf (with a tranparent background if that makes a difference). This
    works fine for me 100% of the time on my Mac but have had a couple,
    including the client, who say the in IE on a PC the scroll bar
    doesn't appear and the swf shows up low on the screen. Anyone have
    any thoughts on this?

    Hi All Again,
    I found an example from NI, cvi_enumerated_values.zip. If I include the DLL that was prebuilt, everything is fine, no Enumeration name mangling. But if I rebuild with LabWindows/CVI 8.5 or 2010 and then use the corresponding DLL, I get the description naming mangling again. So, it seems to be a build or environment issue. Still trying to track the issue down.
    Thanks
    Minesh
    Attachments:
    cvi_enumerated_values.zip ‏70 KB

  • Lightbox not working quite right

    I am updating our portfolio page on our website.  Everything looks fine in the design mode, but when I switch to preview, or even put it live, things shift. There are to be < > to the right and left to allow you to scroll through portfolio pieces and the X (to close) and the write up should both be to the top right of the image.  However, on some of the pieces the arrows change to Xs and appear with the write up on the top left hand side.  Here is the link to the test site and if you need files to figure out what the issueis, please let me know.
    http://bobby.kinezo.com/razor-creative-solutions-portfolio.html
    Brandi

    Thank you for sending your file. The lightboxes are working correctly for me when exported using the Private Beta build. Can you launch the Private Beta and make sure you update to the latest version (if it notifies you of updates) and test this one more time?
    Mostly unrelated, but you may want/need to consider a different design for your Portfolio page. At present a number of things are compounding to make your Portfolio page especially large (>25 megs) and thus very slow to fully load.
    According to Akamai, average US download speed is 6.7 Mbps (with the global average being 2.6 Mbps). That equates to about 700K per second for US site visitors. So for the average site visitor in the US the current design of the Portfolio page would take ~25/.7 = 36 seconds to load.
    The slower a page loads, the less visitors will stick around to wait for the page to appear. Some surveys claim as many at 40% of page visitors abandon after waiting 3 seconds, but other surveys are less severe in their findings estimating ~50% abandoning after 15 seconds <http://blog.kissmetrics.com/loading-time/>.
    In any case, a 25+Mb page won't be visitor-friendly to load.
    So, why's it so big and what can you do about it?
    First, there's a lot on this page due to the 35 accordion content areas containing a total of 154 images in 34 slideshow lightbox widgets which means 308 total lightbox images (one for each thumbnail and one for each hero image).
    Next, all the images are PNGs. Rounding the corners on images is not well supported across all browsers, so to achieve the rounded corners Muse does so by cropping off the corners during output. However, to represent the now transparent area of the corners the images have to be PNG or GIF (JPEG on the web doesn't support transparency) and PNG is roughly 5 times larger than JPEG for a photographic image. Thus the lightbox hero images and thumbnail images are probably about 5 times larger than they need to be. If the rounded corners were removed the page load would probably drop to ~5 Mb, which would be much faster, but still very large. To go lower than that you'd probably want to consider dividing the content across multiple pages.

  • Bluetooth connection with Samsung u740 not working quite right?

    I have a new Samsung u740 cell phone and I set it up to sync my contacts b/w the computer and the phone. I also set it up so when someone calls me it pops up on my computer who's calling, but when someone calls it just says "unknown caller". I have synced the contacts on both devices. Does anyone have any advice on what to do?
    Thanks Taylor

    With your bluetooth connection does your computer allow you to answer the calls? I am currently working on the same issue but with same problems.

  • Rectangle outcode() not working quite right

    I wrote the following to try to capture if the rect is top bottom right left, however it doesnt work right. If I replace the statements eg lets say for top to code==2 || code ==6 || code ==3 it works fine. Any idea what im doing wrong
    code = nodeRect.outcode(currentRect.getX(), currentRect.getY());
    if(code & Rectangle.OUT_TOP) != 0 ||
    (code & (Rectangle.OUT_RIGHT | Rectangle.OUT_TOP)) != 0 ||
    (code & (Rectangle.OUT_LEFT | Rectangle.OUT_TOP) ) != 0)
         //This means the point is above the rectangle
    else if(code & Rectangle.OUT_BOTTOM) != 0 ||
    (code & (Rectangle.OUT_RIGHT | Rectangle.OUT_BOTTOM) ) != 0 ||
    (code & (Rectangle.OUT_LEFT | Rectangle.OUT_BOTTOM) ) != 0 )
    //This means the point is below the rectangle
    else if(code & Rectangle.OUT_RIGHT) != 0 )
    //This means the point is to the right of the rectangle
    else if(code & Rectangle.OUT_LEFT) != 0 )
    //This means the point is to the left of the rectangle
    }

    >there is no tone upon startup.
    First of all, check whether the speaker is properly connected.
    >Perhaps it's time for the motherboard dishwasher trick.
    Before attempting to clean the logic board, it could be a good idea to closely examine it. Look for leaking electrolytic capacitors, other discoloured components, damaged printed circuits, et cetera.
    As you probably know already, repair work inside a compact Macintosh computer can be very dangerous due to high voltages, and must be carried out by someone with the necessary expertise only.
    Jan

  • "Document type" in access sequence  not working in free goods

    Dear All,
    our requirement is to provide free goods with the main items in portal.
    for this i defined access sequence 1.Customer/Material and 2. SalesOrg/Documnet Type/Material.
    for access sequence Customer/Material  it's working fine but when i use SalesOrg/Documnet Type/Material it's not working.
    problem is that when i use Document type in access sequence it's not working.
    pls help.
    Radhashyam Sahoo

    Hi Apoorva!
    What do you mean with "Access Sequence"?
    In CRM 7.0 EHP1 there is a generic framework-feature available which allows the defininition of the tab-order.
    Best regards
    Arno

  • In photoshop cc is not working properly right button on the tablet stylus genius

    in photoshop cc is not working properly right button on the tablet stylus, when clicked, the menu appears and immediately disappears in Pshotosho CS6 everything was OK, and in other programs all OK.
    Tablet - Genius G-Pen M712X.

    have you participated on here before, smihop? -- do Adobe representatives ever provide a solution? I pay monthly for all adobe cloud applications <-- doesn't it seem like that should come w/some kind of support? (especially when they push out buggy releases <-- which make me wish I could go back a version)

  • Inferring type in variable declaration not working in interface generation

    I am writing my DSL's Model inferrer, which extends from AbstractModelInferrer. Until now, I have successfully generated classes for some grammar constructs, however when I try to generate an interface the type inferrer does not work and I get the following Exception:
    0 [Worker-2] ERROR org.eclipse.xtext.builder.BuilderParticipant - Error during compilation of 'platform:/resource/pascani/src/org/example/namespaces/SLA.pascani'.
    java.lang.IllegalStateException: equivalent could not be computed
    The Model inferrer code is:
    def dispatch void infer(Namespace namespace, IJvmDeclaredTypeAcceptor acceptor, boolean isPreIndexingPhase) {
    acceptor.accept(processNamespace(namespace, isPreIndexingPhase))
    def JvmGenericType processNamespace(Namespace namespace, boolean isPreIndexingPhase) {
    namespace.toInterface(namespace.fullyQualifiedName.toString) [
    if (!isPreIndexingPhase) {
    documentation = namespace.documentation
    for (e : namespace.expressions) {
    switch (e) {
    Namespace: {
    members +=
    e.toMethod("get" + Strings.toFirstUpper(e.name), typeRef(e.fullyQualifiedName.toString)) [
    abstract = true
    members += processNamespace(e, isPreIndexingPhase);
    XVariableDeclaration: {
    members += processNamespaceVarDecl(e)
    def processNamespaceVarDecl(XVariableDeclaration decl) {
    val EList<JvmMember> members = new BasicEList();
    val field = decl.toField(decl.name, inferredType(decl.right))[initializer = decl.right]
    // members += field
    members += decl.toMethod("get" + Strings.toFirstUpper(decl.name), field.type) [
    abstract = true
    if (decl.isWriteable) {
    members += decl.toMethod("set" + Strings.toFirstUpper(decl.name), typeRef(Void.TYPE)) [
    parameters += decl.toParameter(decl.name, field.type)
    abstract = true
    return members
    I have tried using the lazy initializer after the acceptor.accept method, but it still does not work.
    When I uncomment the line members += field, which adds a field to an interface, the model inferrer works fine; however, as you know, interfaces cannot have fields.
    This seems like a bug to me. I have read tons of posts in the Eclipse forum but nothing seems to solve my problem. In case it is needed, this is my grammar:
    grammar org.pascani.Pascani with org.eclipse.xtext.xbase.Xbase
    import "http://www.eclipse.org/xtext/common/JavaVMTypes" as types
    import "http://www.eclipse.org/xtext/xbase/Xbase"
    generate pascani "http : // www . pascani . org / Pascani" // Eclipse forum thinks this is a link...
    Model
    : ('package' name = QualifiedName ->';'?)?
    imports = XImportSection?
    typeDeclaration = TypeDeclaration?
    TypeDeclaration
    : MonitorDeclaration
    | NamespaceDeclaration
    MonitorDeclaration returns Monitor
    : 'monitor' name = ValidID
    ('using' usings += [Namespace | ValidID] (',' usings += [Namespace | ValidID])*)?
    body = '{' expressions += InternalMonitorDeclaration* '}'
    NamespaceDeclaration returns Namespace
    : 'namespace' name = ValidID body = '{' expressions += InternalNamespaceDeclaration* '}'
    InternalMonitorDeclaration returns XExpression
    : XVariableDeclaration
    | EventDeclaration
    | HandlerDeclaration
    InternalNamespaceDeclaration returns XExpression
    : XVariableDeclaration
    | NamespaceDeclaration
    HandlerDeclaration
    : 'handler' name = ValidID '(' param = FullJvmFormalParameter ')' body = XBlockExpression
    EventDeclaration returns Event
    : 'event' name = ValidID 'raised' (periodically ?= 'periodically')? 'on'? emitter = EventEmitter ->';'?
    EventEmitter
    : eventType = EventType 'of' emitter = QualifiedName (=> specifier = RelationalEventSpecifier)? ('using' probe = ValidID)?
    | cronExpression = CronExpression
    enum EventType
    : invoke
    | return
    | change
    | exception
    RelationalEventSpecifier returns EventSpecifier
    : EventSpecifier ({RelationalEventSpecifier.left = current} operator = RelationalOperator right = EventSpecifier)*
    enum RelationalOperator
    : and
    | or
    EventSpecifier
    : (below ?= 'below' | above ?= 'above' | equal ?= 'equal' 'to') value = EventSpecifierValue
    | '(' RelationalEventSpecifier ')'
    EventSpecifierValue
    : value = Number (percentage ?= '%')?
    | variable = QualifiedName
    CronExpression
    : seconds = CronElement // 0-59
    minutes = CronElement // 0-59
    hours = CronElement // 0-23
    days = CronElement // 1-31
    months = CronElement // 1-2 or Jan-Dec
    daysOfWeek = CronElement // 0-6 or Sun-Sat
    | constant = CronConstant
    enum CronConstant
    : reboot // Run at startup
    | yearly // 0 0 0 1 1 *
    | annually // Equal to @yearly
    | monthly // 0 0 0 1 * *
    | weekly // 0 0 0 * * 0
    | daily // 0 0 0 * * *
    | hourly // 0 0 * * * *
    | minutely // 0 * * * * *
    | secondly // * * * * * *
    CronElement
    : RangeCronElement | PeriodicCronElement
    RangeCronElement hidden()
    : TerminalCronElement ({RangeCronElement.start = current} '-' end = TerminalCronElement)?
    TerminalCronElement
    : expression = (IntLiteral | ValidID | '*' | '?')
    PeriodicCronElement hidden()
    : expression = TerminalCronElement '/' elements = RangeCronList
    RangeCronList hidden()
    : elements += RangeCronElement (',' elements +=RangeCronElement)*
    IntLiteral
    : INT
    ;

    i dont know if that you are doing is a good idea.
    the inferrer maps your concepts to java concepts and this enables the scoping for the expressions.
    if you do not have a place for your expressions then it wont work. their types never will be computed
    thus i think you have a usecase which is not possible using xbase without customizations.
    your semantics is not quite clear to me.
    i think the easiest would be to infer a class (with fields) as well
    and then
    if (decl.isWriteable) {
    members += decl.toMethod("set" + Strings.toFirstUpper(decl.name), typeRef(Void.TYPE)) [
    parameters += decl.toParameter(decl.name, decl.right.inferredType)
    abstract = true
    alternatively (with no guarantee to work in future)
    def processNamespaceVarDecl(XVariableDeclaration decl) {
    val EList<JvmMember> members = new BasicEList();
    //val field = decl.toField(decl.name, inferredType(decl.right))[initializer = decl.right]
    // members += field
    val gtr = decl.toMethod("get" + Strings.toFirstUpper(decl.name), decl.right.inferredType) [
    abstract = true
    body = decl.right
    members += gtr
    if (decl.isWriteable) {
    members += decl.toMethod("set" + Strings.toFirstUpper(decl.name), typeRef(Void.TYPE)) [
    parameters += decl.toParameter(decl.name, decl.right.inferredType)
    abstract = true
    return members
    which works without an add. class

  • Mac mail - can't type message and reply not working.

    mac mail working fine until today. Tried to set up a new message. Added address okay, put in subject okay but when I came to type text into main panel I get about three letters typed and the curser vanishes and I get an alert sound. And that's the way it stays.
    Tried reboots and all the usual tricks.
    Also trying to reply to an email does not work
    Everything else appears alright. Incoming mail is okay.
    Can anybody help me out here? Desparately need to be back online.

    This problem in Mail is usually caused by some Launch Services cache or preferences corruption. The following article describes how to manually reset Launch Services -- the notes at the bottom of the article also provide information about the side effects of deleting each of the files involved:
    Resetting Launch Services
    If you prefer using a cache cleaning utility instead of following the manual procedure described in the previous article, this other article provides links to some utilities that can be used for troubleshooting and cache cleaning:
    Resolving Disk, Permission, and Cache Corruption
    It seems that the most appropriate utility for solving this particular problem is Tiger Cache Cleaner, but you may also want to consider other utilities, such as OnyX, or Cache Out X, which are free. Whatever utility you choose, be sure to read this first:
    Side effects of System cache cleaning
    As an example, this is how you should proceed with OnyX:
    1. Quit all applications.
    2. Launch OnyX and enter your administrator password.
    3. Click Maintenance. In the Reset section, check LaunchServices database.
    4. You may uncheck any other pre-checked options if you wish.
    5. Click the Execute button.
    6. Restart the computer.

  • With display type native event is not working in my wd application

    Dear Friends,
    I have few interactive forms created webdynpro components.
    in SFP: formtype: ZCI and inserted the webdynpro script in the layout and interface type is DDIC.
    in Webdynpro: taken IF form UI element and with Enable check box checked(ON) and display type is Native.
    when i run my wd application interactive forms is opening but when i click on button on webdynpro or on enter of input field event is not getting trigger. cursor is showing wait icon and in busymode only.
    if i try with display type as activex it is working fine.
    But i don't want to use type as Activex.
    One more thing initially i have created 2 interative forms with those forms with displya type native is working fine, for new forms only the poblem is coming.
    please let me know how to get rid of this.
    Thanks,
    Mahesh.Gattu

    Hi ganesh,
    i hope you have already followed the process what i mentioned in my question.
    above that some times we are facing this busy mode issues, might be.. there coudl be some problem when we insert the webdynpro script.
    on sfp layout from utilities insert the webdynpro script.
    then sheck the script editor by selecting the data node in hierarchy tab.
    make sur the both event *presave and *formload are filled with some in built script and the language is Java script and Client side.
    then save activate the form and try.
    all the best.
    Thanks,
    mahesh.gattu

  • Condition type for charges in not working

    Dear All.
    We have created a facility using MM and for this facility, we need to pay the yearly facility agency fee based on the total credit line. To achieve this, we have a condition type (1208) under 'charges' tab in the facility transaction. And from the 'cash flow' tab, we can see that we need to pay the facility for 5 years. After 2 years of paying the facility agency fee, we were told by our user that we do not need to pay the remaining 3 years the facility agency fee. They want to remove this facility agency fee from appearing in their cash flow & treasury transaction.
    How do I achieve this?
    FYI
    I tried to create another condition (same with the earlier condition - (1208)) which effective from 3rd year with lower amount but instead of overriding the the first condition, it is adding another facility agency fee in the 'cash flow' tab.
    I tried to create another condition (same with the earlier condition - (1208)) which effective from 3rd year with zero condition but the earlier condition still remain.
    I also tried to change/delete the earlier condtion but not allowed to change/delete - greyed out.
    Looks like the effective date in the condition is not working. Can anyone share any notes (I've gone thru some in OSS - but could find related note for the time being) or how to change the condition?
    Appreciate your advise. Thanks.
    Regards
    Fauzi

    Hi Fauzi
    I can think of two possible reasons why you are not able to edit the existing charge:
    1. In Field selection "SETTLEMENT-CHANGE", function "003 Activity change", the "Tabstrip: Charges" (field group 70) is set
    to "Display" (or others).
    I'll put the path to field selection in SPRO for your quick reference:
    Financial Supply Chain Management
    ->Treasury and Risk Management
      ->Transaction Manager
        ->General Settings
          ->Transaction Management
            ->Define Field Selection
    2. The charge in the facility might be blocked for changes because there are other flows posted or because the money market deals which the facility is attached to have posted flows in the same period.
    Please check those two points. I hope this helps you solve the issue.
    Regards,
    M Trein

  • Material Type restriction for M_MATE_MAR not working

    HI all,
    I want to restrict a user to only use the Material Type Waste ABF, but its not working.
    Secondly , the Auth Object M_MATE_MAR, is also part of other roles which have this Auth Object.
    Can you experts please suggest what to do.
    Thanks

    Adnan,
    > I want to restrict a user to only use the Material Type Waste ABF, but its not working.
    > Secondly , the Auth Object M_MATE_MAR, is also part of other roles which have this Auth Object.
    So that's the explanation.
    Authorizations in a SAP system are additive, means, you can't create one profile including all and another trying to restrict that "all" to less. You have to create a separate profile for specific requirements (in your case e. g. none but type WASTE ABF) and assign that.
    This is, btw., the wrong forum - use the security forum for those types of questions.
    Markus

  • Reading a binary file using the type cast function is not working

    Hello
    I am trying to read a binary file.  Using the Read from binary file and type cast functions I can actually get the information from the file.
    I set an indicator in the “Normal” option in Properties. I can read the header and footer but not the body of the file; For the body of the file all I can see is characters of the type
    “C¾ Ü Qþ  X@ “. One of the other options, Password, seems to provide an output of just the characters that were originally written, but then again, I can not read the characters because it is only asterisks and I can not copy them onto a word processor either.
    I tried setting the indicator in Hexadecimal mode, then creating a local variable that acts as a control and use the type cast function again to see if  could convert the Hexadecimal string to readable ASCII characters; unfortunately, this did not work either.
    I don’t know what else I should try or if there is something that I may not be doing right and for that reason I am not getting the desired results. I hope someone has an idea about this issue.
    Regards,
    Roberto

    Thank you for your reply,
    Well, actually I don’t have any information about this file. I will try to obtain information about it though.
    This is a file that contains velocity information; there are 65 channels that form a velocity profile in a pipe. Also, there are 4096 velocity profiles. I don’t know what is the format of these values.
    The software that creates the file provides a text file. Using this text file the velocity information can be processed and then plotted.
    I want to avoid all these intermediate steps and read, process and plot everything using only LabView. BTW, I am using LabView 8.2
    Roberto

  • Attachment of type XLS/CSV is not working properly while sending mail

    Hi,
    I am trying to send mail through the function module SO_NEW_DOCUMENT_ATT_SEND_API1. I am passing data to send a mail with a XLS/CSV file as attachment. I am sending data as ASCII (/Text) mode.
    It is working fine in our development system but not in Quality system. In Quality system I am getting the mail with attachment the formatting within the file is messed up. But if I pass TXT instead of CSV it is working fine.
    My question is though CSV/XLS/TXT extensions are ASCII formatted still why it's not working for XLS/CSV. Again it's working in Development then why it's not working in Quality.
    I have tried the same code in different systems... 4.6C and 4.7 environments also. But it is working only in the development server of 4.7 versions (EBP). It's not working in an environment which is a refresh of the system where it is working fine.
    Please let me know anyone who faced similar kind of problem and got any answer.
    Thanks,
    Achirangshu

    Check your conversion rules in both systems to see if they match. On 4.6c Transaction SCOT on your pull down menus Choose Settings-> Conversion rules.
    Message was edited by: Vyerah Yende

Maybe you are looking for

  • How do I open and close vis programmatically?

    I want to open and close a vi with a switch control. What is the best way to do this?

  • My HP 1160 laser jet won't connect to my ASUS zenbook

    I purchased a ASUS Zenbook UX31LA with Windows 8 as the operating system. I want to plug in my HP 1160 Laser jet via USB but my computer says Windows doesn't recognize the device when I download and install the printer driver. Help!

  • How to replace name in LR?

    Maybe I just missed it. My files look something like DSC_1234.nef. I want to just replace the "dsc" and not the whole name. I did not see where I can just replace part of the filename in LR. Any ideas? What we are trying to do is replace the dsc with

  • Formatting img file outcomes

    I am using Robohelp 7 HTML (Webhelp primary layout) to create a context sensitive help system. When the context sensitive help opens it does so in one panel only so I need the "Home" link to open the complete help system in the twin panels. I have ed

  • No Guard Condition Accessible

    Hi, I have a link from my web service to a Form IView which is just a blank form with a "Plain Text" Control on it.  I want to put a Guard condition on the link, but it's grayed out.  Can anyone tell me why?