Diadem script debugging functions in 64 bit OS

Hello there,
 I have installed Diadem 12 on my 64bit OS HP laptop (version 12.0.0f4911) and noticed that the script debug buttons are greyed out. My old 32bit HP laptop has the same software, but this is ok.
I have also installed it on a 64bit DELL workstation and this also has the same problem, so it is not the aptop.
Can anybody help ?
AdeK
Solved!
Go to Solution.
Attachments:
diademdebug1.jpg ‏474 KB

Hi Ade,
Microsoft does not allow anyone else to install their VBScript Debugger, so new installations of DIAdem on clean machines will not have it.  Luckily, they do allow free download.  You can google "Microsoft Script Debugger" to get the correct Microsoft link-- don't be put off by the WindowsNT title, it will work in Windows7 and Windows8.
http://www.microsoft.com/en-us/download/details.as​px?id=22185
Brad Turpin
DIAdem Product Support Engineer
National Instruments

Similar Messages

  • Using variables in a calculation function in Diadem script

    Hey guys,
    I'm new to working with Diadem Scripts.  I have tried the two different ways below to make the values of a channel equal to the results of a formula containing created variables.  I can do it if the formula contains values in place of the variables using the calculator method.  I would appreciate any guidance on how to correct the syntax in the below scripts.
    Option Explicit 'Forces the explicit declaration of all the variables in a script.
    dim a, b, c
    a = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef1").Value
    b = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef2").Value
    c = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef3").Value
    Ch ("[2]/ROP (ft/hr)") = a + b* Ch("[2]/Backhead Pressure (psi)") + c* Ch("[2]/Backhead Pressure (psi)")^2
    Or
    Option Explicit 'Forces the explicit declaration of all the variables in a script.
    dim a, b, c
    a = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef1").Value
    b = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef2").Value
    c = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef3").Value
    call ChnCalculate("Ch(""[2]/ROP (ft/hr)"")="&a+&b"*Ch(""[2]/Backhead Pressure (psi)"")+"&c"*Ch(""[2]/Backhead Pressure (psi)"")^2")

    I think you need to use channel name strings of the format "Group Name/Channel Name" in your ChnCalculate function.  I usually use a formula, a symbol array, and a value array to get this done:
    Dim a, b ,c, sFormula, aSymbols, aValues
    Redim aSymbols(6), aValues(6)
    aSymbols(0) = "a"
    aSymbols(1) = "b"
    aSymbols(2) = "c"
    aSymbols(3) = "A"
    aSymbols(4) = "B"
    aValues(0) = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef1").Va
    lue
    aValues(1) = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef2").Value
    aValues(2) = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef3").Value
    aValues(3) = Data.Root.ChannelGroiups(2).Channels("ROP (ft/hr)").GetReference('ref type')
    aValues(4) = Data.Root.ChannelGroiups(2).Channels("Backhead Pressure (psi)").GetReference('ref type')
    sFormula = "Ch(A) = a + b*Ch(B) + c*(Ch(B))^2"
    Call ChnCalculate(sFormula,aSymbols,aValues)
    CLAD

  • Calling a procedure from Calculation View with Debug function

    Is it possible to call a debuggable hana procedure in a calculation view?
    I just saw the video  HANA Academy - HANA Native Development Workshop: SQL Script Editor - YouTube for HANA Native Development workshop and got the debug functionality to work for a file Procedure.
    But I am unable to call this procedure from a Calculation View.
    Below is the code I am using for the SQLScript Calculation View. Can someone tell me if this is correct?
    /********* Begin Procedure Script ************/
    BEGIN
    call "_SYS_BIC"."test-package.RF.SalesOrders.procedures/get_sls_ordtype"(SalesDocNo => '0070004105', SalesDocTypes => ?) ;
    var_out = CE_PROJECTION(:SalesDocTypes, ["SALESDOCNO" , "SALESDOCTYPE", "ORDVALUE"] );
    END /********* End Procedure Script ************/

    Hello,
    Just provide the out parameter in the call:
    Declare
      amount   number; -- OUT number argument populated by the procedure
    Begin
      -- call the X procedure --
      x( amount ) ;
    End;Francois

  • Debug Function in InDesign?

    Is there any opportunity to control, proof, test XML-Data after importing them into InDesign? Does InDesign provide a debug function?

    You can validate XML structure using DTDs (Document Type
    Definitions); you can also transform it on import/export with XSLT (Extensible Stylesheet Language Transformations).
    Or you can manipulate XML structure by scripting -- in particular, with XML rules.
    Kasyan

  • Split-screen in DIAdem SCRIPT

    When working in DIAdem SCRIPT, it is often necessary to work on more than one file at once. The way this is implemented at the moment is with tabs:
    However, it can be quite tedious to switch back and forth between 2 scripts for things like copy/pasting, comparing code or simply editing code on 2 files concurrently.
    My suggestion would be for a SCRIPT editor with split screen functionality, roughly like this:
    With many users working with widescreens today, this would better make use of screen real-estate.

    Obviously coding without it is a pain.
    Louval

  • ACE TCL script debug.

    Hi all,
    I would like to write custom TCL script in ACE. I would like to write some info for debugging to the console with "puts $VAR ", but nothing is shown.
    What could be the problem ? I have debug hm all on.
    Regards,
    szicsu

    Look into an existing script and reuse the same debug function
    proc ace_debug { msg } {
    global debug ip port EXIT_MSG
    set EXIT_MSG $msg
    if { [ info exists ip ] && [ info exists port ] } {
    set EXIT_MSG "[ info script ]:$ip:$port: $EXIT_MSG "
    if { [ info exists debug ] && $debug } {
    puts $EXIT_MSG
    Gilles.

  • VMware PowerCli PowerShell Script - Stack Functions

       
    Using this as a starting block.
    http://pubs.vmware.com/view-52/index.jsp?topic=%2Fcom.vmware.view.integration.doc%2Fview_integration_powershell.5.7.html
    I want to combine two of the functions, and have the variables use ".txt" files with my new and old datastores listed.
    I've edited it a bit, combining the two functions, and creating variables for new and old lists, but I'm not sure if the context I used is correct, or if I can just paste the functions together like this.
    Before I run this against my VMware View Connection server, anything stand out as wrong?
    # A PowerShell function to add new, then remove old datastores from an automatic pool.
    # UpdateDatastoresForAutomaticPool
    # Parameters
    # $Pool Pool ID of pool to be updated.
    # $OldDatastore Full path to OldDatastore.txt to be removed.
    # $NewDatastore Full path to NewDatastore.txt to be added.
    $Pool = "C:\powercli\PersistentPools.txt"
    $OldDatastore = "C:\powercli\OldDatastore.txt"
    $NewDatastore = "C:\powercli\NewDatastore.txt"
    function RemoveDatastoreFromAutomaticPool
    { param ($Pool, $OldDatastore)
    $PoolSettings = (Get-Pool -pool_id $Pool)
    $currentdatastores = $PoolSettings.datastorePaths
    $datastores = ""
    foreach ($path in $currentdatastores.split(";")){
    if(-not ($path -eq $OldDatastore)){
    $datastores = $datastores + "$path;"
    Update-AutomaticPool -pool_id $Pool -datastorePaths $datastores
    function AddDatastoreToAutomaticPool
    { param ($Pool, $NewDatastore)
    $PoolSettings = (Get-Pool -pool_id $Pool)
    $datastores = $PoolSettings.datastorePaths + ";$NewDatastore"
    Update-AutomaticPool -pool_id $Pool -datastorePaths $datastores
    Thanks,
    -Matt
    There's no place like 127.0.0.1

    Other than the specific commandlets of "Update-AutomaticPool -pool_id -datastorePaths", this is PowerShell script, right?
    I'm not looking for support for the functions themselves.  But VMware only gives these scripts as individual functions.
    I want to stack their functions one after another in a script, and use text files with lists of data, instead of specifying them one at a time to the script.
    Function 1 as supplied by VMware
    Define a PowerShell function to add a datastore to an automatic pool.
    # AddDatastoreToAutomaticPool
    # Parameters
    # $Pool Pool ID of pool to be updated.
    # $Datastore Full path to datastore to be added.
    function AddDatastoreToAutomaticPool
    { param ($Pool, $Datastore)
    $PoolSettings = (Get-Pool -pool_id $Pool)
    $datastores = $PoolSettings.datastorePaths + ";$Datastore"
    Update-AutomaticPool -pool_id $Pool -datastorePaths $datastores
    Function 2 as supplied by VMware
    Define a PowerShell function to add a datastore to an automatic pool.
    # AddDatastoreToAutomaticPool
    # Parameters
    # $Pool Pool ID of pool to be updated.
    # $Datastore Full path to datastore to be added.
    function AddDatastoreToAutomaticPool
    { param ($Pool, $Datastore)
    $PoolSettings = (Get-Pool -pool_id $Pool)
    $datastores = $PoolSettings.datastorePaths + ";$Datastore"
    Update-AutomaticPool -pool_id $Pool -datastorePaths $datastores
    I'm just looking for advise as to weather I'm approaching this from the right angle.
    In my original post I made an attempt at pasting them together, then editing the parameter lines to use a text file instead of supplying an individual entry on the cmd line with the script.   I think I did it right, but I'm not sure if the way these
    functions are written, that they will parse through each of the text files.
    Thanks,
    -Matt
    There's no place like 127.0.0.1

  • How to activate script debugging in Adobe Livecycle designer

    Friends,
    I would like to know how to activate script debugging in the Adobe Livecycle designer. I need to debug the scripts written in the script editor.
    Thanks and Regards.

    Syntax checking is available in designer from version 8.1 onwards.
    If you want to enable in Adobe Reader then go to Edit --> Preferences --> JavaScript --> Enable the option Show console on Errors on messages.
    Apart from it the alternative way to debug the scripts is to use xfa.host.messageBox and check the values.
    Chintan

  • Is there any changes in the DIAdem script between DIAdem 9.x and DIAdem 10.x ?

    Hello,
    I have got a question about DIAdem Script.
    I saw the compatibility problem described in KB.
    'Why do my DIAdem 9.1 Scripts not work in DIAdem 10?'
    Many problems were solved, but some case were not.
    So I guess there is some changes in the DIAdem script between DIAdem 9.x and DIAdem 10.x
    Thanks for your help.

    Hi supportko...
    Yes, there were a lot of new features introduced in DIAdem 10.0, and 10.1.  These are described in detail in each product's ReadMe file, and also in the Online Help under  the "Index" tab at the node "DIAdem>>New Features>>New Commands and Variables"-- you will see 2 sections there:  "Version 10.1", and "Version 10.0", showing you exactly what has changed.  In most cases there is a compatability switch whenever a new feature creates a compatability issue for scripts developed in a previous DIAdem version.  R&D works very hard to minimize the impact of new features on existing VBScript applications.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Message Edited by Support on 05-02-2007 03:56 PM

  • Test stand crashes: "test stand has detected that your script debugging"

    05-01-201203:18 PM
    Hi everyone. I am setting up a new installation of Test stand and writing my first sequence with an existing sequence of legacy code.
    When I run the sequence and stop on the call to the DLL, and then step into the dll and I get this error:
    test stand has detected that your script debugging settings might cause visual studio to hang when attaching to the teststand process to perform this step into operation.
    To fix this problem, open internet explorer, select tools>>Internet options>> Advanced, check Browsing>>Disabl script debugging, click okay, and restart your sequence execution.
    The message is vague and it is indermanent as to whether I should "enable" or "disable" Script debugging so I tried both. Test stand then crashes again and I get the same error.
    Do I need to reboot after each crash? I'll try that next. Any ideas on how to make this error go away?
    Thank you for your help.
    Richard

    This is a duplicate. Please go here instead:
    http://forums.ni.com/t5/NI-TestStand/quot-test-stand-has-detected-that-your-script-debugging-quot/td...

  • How to Debug Functional Module called via RFC?

    Hi Experts,
         Please, can someone explain to me how to debug functional module that is called via RFC? Thanks in advance.
      Best Regards,
    Aleksandar

    Hi Laxman,
       First of all thank you very much for giving attention to my post. Ok, I am trying to debug function module in RM-CA (FICA), function module is called by CRM system (via RFC) and in addition all this chain is triggered by WebClient.
         I have user that can login on the CRM as well as on RM-CA (ECC 6.0) system, but those users are different (unfortunately I do not have administration permission so I can’t change profiles of my users but I can ask for it). I can without any problem debug calls that come from WebClient, so setting an external break point in CRM system I can catch whatever I want but when process comes to point where actually call to back-end (RM-CA) takes place I simply can’t get into functional module, that resides on RM-CA side. Actually what happens is that processing continues as was chosen ‘NEXT STEP’ (F6).
         To resume, two systems and two different users. Where XCM user should be created? (on RM-CA system or CRM). Should I change something in Menu option Utilities -> Settings -> ABAP Editor tab -> Debugging tab, in field users?  If you need any additional info please tell me.
      Thanks again for your support.
    Aleksandar

  • How to execute a "real" VBS command in DIAdem script?

    Hello,
    I've some troubles to execute specific "real" VBS command lines in DIAdem script: 
    e.g.: 
    Workbooks.OpenText filname, DataType:=xlDelimited, tab:=True, DecimalSeparator:=",", ThousandsSeparator:="."  
    Using other writings as
    Workbooks.OpenText(filname, DataType:=xlDelimited, tab:=True, DecimalSeparator:=",", ThousandsSeparator:=".")Workbooks.OpenText filname, "DataType:=xlDelimited", "tab:=True", "DecimalSeparator:=','", "ThousandsSeparator:='.'"  
    don't help, I always get error messages. It seams, that DIAdem has problems with recognition of  := .
    How can I include such kind of VBS command line in a DIAdem script without getting problems?
    Sven

    Hi,
    thanks for answer, but unfortunately its not over yet.
    I tryed the following possibilities:
    Set create_tabfile = Excel.Workbooks.OpenText(Filename,,,xlDelimited,,,True,,,,,,,,".",",",,True)Set create_tabfile = Excel.Workbooks.OpenText(Filename,,,xlDelimited,,,1,,,,,,,,".",",",,1) Set create_tabfile = Excel.Workbooks.OpenText(Filename,,,"xlDelimited",,,True,,,,,,,,".",",",,True)  Set create_tabfile = Excel.Workbooks.OpenText(Filename,,,"xlDelimited",,,1,,,,,,,,".",",",,1)  Set create_tabfile = Excel.Workbooks.OpenText(Filename,,,1,,,True,,,,,,,,".",",",,True)Set create_tabfile = Excel.Workbooks.OpenText(Filename,,,1,,,1,,,,,,,,".",",",,1)but always I get some error messages. I assume, that there is just a format error in the command line, may you help me out with some hints, how to do it right?
    Regards
    Sven

  • Is there a DIAdem Script command that can automatically create folders/directories in Windows?

    Hi there!
    I need to automatically create folders/directories in the Windows file system? Is there a DIAdem Script command to do this (like the way you do it in DOS/Unix or even Matlab (mkdir command)? Thanks!

    Hi,
    there are two ways to create folders within a DIAdem script:
    Call FolderCreate("d:\New Folder")
    Dim fso
    Set fso = CreateObject("Scripting.FileSystemObject")
    Call fso.CreateFolder("d:\New Folder 2")
    Christian

  • Controlling dialog boxes in a DIAdem script from LabVIEW

    I have a DIAdem script that prompts the user for the data file it will process. The datafile was created from a labview test routine.   I can now run the script from LabVIEW using the "DIAdem Run Script.VI", but in the interest of automation, I would like to have LabVIEW place the filename in this dialog.  I would like to keep the dialog in the script, since sometimes we run this script manually. (without LabVIEW)
    Bill W.

    Bill,
    Which dialog are you using to prompt for the file name?  It
    appears that you cannot send any information to the script through the
    Run Script.vi.  However, you can call automation commands using
    the "DIAdem Run Automation Command.vi".  If you want to pass data
    to the script, then you can set a Global Variable, or a DIAdem Script
    Variable.  As an example, you could use the global variable, T1,
    and send "T1 := 'myfile'".  When the script is executed, that
    variable will be accessible within the script and it will be set to
    "myfile".  You could also set the FileDlgName variable to your
    file name.  Then it may be possible to send those variables to
    your dialog so that they are automatically populated.
    Good Luck!
    Tyler Tigue
    NI

  • Turn off screen updating while a DIAdem script is executing.

    Hello,
    Does anyone know what line or lines I would add to a DIAdem script to prevent the screen from updating as the script runs?  I have tried UIAutoRefreshSet and the similar commands I found in the help file, but my screen still flickers and flashes while the code is running.  Can someone please help me?
    I am changing marker styles (removing and adding markers to all curves in a VIEW sheet) using DIAdem 11, if that helps.
    Thanks for the help.

    Hi Internati...
    Well, the other thing I would try is to use the View object property:
    View.AutoRefresh = FALSE
       (your code here)
    View.AutoRefresh = TRUE
    But you might also want to check and make sure that you don't have any VIEW events registered:
    View.Events.OnActiveSheetChanged = ""
    View.Events.OnCursorChanged = ""
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

Maybe you are looking for

  • Is it possible to change the formatting of Excel in place

    Hi, is it possible to change the standard formatting of columns and texts when using Excel inplace (Excel on the web for the BPS )? Many thanks, Simon Cohen

  • "couldn't update this book because it contains no openable nongenerated files"

    I need help with an error message "couldn't update this book because it contains no openable nongenerated files" when trying to create a book in Framemaker 12. Not sure what is happening but I am a new framemaker user so it could be operator error.

  • How to delete completely Bluetooth Preferences ?

    After changing from a G4 to my new G5 (using OS X migration feature) I have lost Bluetooth comunication between the G5 and my powerbook G4 1GHz. I tried every configuration possible on G5 Bluetooth preferences and nothing. I solved the problem when I

  • Does anyone know VISS Workflow? More about error messages?

    Hello all, i was wondering if someone had some knowledge about the VISS Workflow. VISS is a vendor invoice scanning system to visualize invoices. If you know what it's about, can you help me to understand this error message: "no work items found - di

  • LSMW for ME51N

    Hi, According to our developer, LSMW is not working for ME51N. This is supposedly due to the "item overview" section on ME51N being suppressed. Is there a way to enable LSMW for ME51N? Thanks. Appreciate a response soon.