Using VI server from DIAdem script :: Syntax (documenta​tion) for properties and methods of VI Server objects (for non-labvie​w programmer​s)

Hello all,
I am using DIAdem 10.0 Advanced, LabVIEW 8.0 PDS. I would like to start a LabVIEW IHM from a VBS script. I use VI Server to call my VI from DIAdem.
Here is the script and the VI I use (VI attached):
Dim lvapp, vi, viPath, paramName(1), paramVal(1)
Set lvapp = CreateObject("LabVIEW.Application")
viPath = "C:\TEST\test.vi"
Set vi = lvapp.GetVIReference(viPath)
vi.FPWinOpen = True
paramName(0) = "Input"
paramVal(0) = 10
paramName(1) = "Output"
paramVal(1) = 0
Call vi.Call(paramName, paramVal)
Call lvapp.Quit()
I found a similar example on your web site.
Question 1:
I need to know the syntax for all the other properties and methods of a VI object (method like Get or Set Control Value for example).
Is a documentation (other than the LabVIEW help which is dedicated for LV programmers) exist in order to be able to use all the features of VI Server from another environment (CVI, VB, ...)?
Question 2:
Is it possible to call a VI with VI Server with the parameter "Wait until done" to FALSE? (run a VI asynchronuously from DIAdem)
Thanks for your answer.
MatthieuG
Eurilogic
Attachments:
Test.vi ‏9 KB

Hello,
I finally found a way to get the documentation of VI Server. I can view the "LabVIEW.TLB" type library file with a OLE/COM Object Viewer (a utility from the Windows SDK).

Similar Messages

  • Using admin_client.jar from bash script

    Hello,
    When I make a call "java -jar admin_client.jar" from a bash script I always get 0 for $? even when there are errors reported in the console. How can I check the status correctly?
    S

    Greetings,
    Can you see the console when running the script? I would try to test something simple like -testDatabaseConnection and you should see a result. If you cannot login the the server directly, pipe the output to a file. Next, build up your bash script with additional complexity as you go. Post the results here for the group to analyze.
    THX
    -Michael
    Edited by: Michael F. Hardy on Dec 2, 2008 2:02 PM

  • Upgrading to Unity 4.0(5) from 4.0(2) documentation help for Cobras export

    I'm upgrading our Unity 4.0(2)  to unity connection 8.x. I know that I'll need to use COBRAS to migrate the data however, it looks like I have to at least upgrade the unity server to 4.0(5), thank you Chris Dean for confirming the correct path, beofre I can even use COBRAS to export the data.
    Theres little info on how to do this. I found the 4.0(5) release notes that have be download two Cisco Unity 4.0(5) CD's however, there is no info where to go from there. Do I boot off the CD's run the CUInstallexe. on the CD...will this preserve my data or overwrite my current install of Cisco Unity?
    Anyone have any gotchas in this setup. Again my goal is just to get Unity to a version so I can use COBRAS.
    http://www.cisco.com/en/US/partner/docs/voice_ip_comm/unity/405/release/notes/cu405rn.html#wp417468
    Thanks,
    Dan

    Hi,
    COBRAS tools supports backups from 4.0(3). But it's fine you can jup to 4.0(5)
    http://www.ciscounitytools.com/Applications/General/COBRAS/Help/COBRAS_Briefcase/COBRAS_Briefcase.htm#_Toc330199754
    The link we had for upgrading to 4.0(5) seems to be broken, it redirects you to the EoS/EoL notice for unity 4.X. This is a minor upgrade and basically you'll need to take a DIRT backup (in case anything goes wrong you can go back to the current version). You ca check the DB status running a DBwalker and then you'll basically need to run the CUInstall.exe from the install CD/DVD.
    Regards, 
    Tere. 
    If you find this post helpful, please rate!

  • Error while Using the Visual Basic Script Job Definition Type for Non-SAP

    Hi,
    when using VBScript Job Definition Type I got the following Error:
    Input Error: There is no file extension in "C:\Program".
    When I run the Script locally on the Server it runs fine.
    Using CMD Job definition on the same platform agent runs also fine.
    Is there maybe a wrong setting or are there any parameters to configure to run VBScript Job definition ?
    Best Regards Torsten Rehage

    Hi,
    yes it is a bug. I had contact with my redwood consultant.
    He sends the error to the developer. I set the datarootdirectory to a path without blanks and it works.
    Thanks
    Torsten

  • HT3743 I bought a used iPhone 3 from eBay my husband tried to update it and all that comes up on the screen now is the imei and iccid numbers with iTunes icon and a USB have I bought a dud or what

    I bought an iPhone 3 from eBay and when my husband tried to update it all that comes up on the screen is the imei and iccid numbers along with the iTunes icon and a USB. I can only use it for emergency calls as that is all that happens when I slide it on. Have I paid $250 for a dud phone or what can I do to fix it. Any help would be appreciated .

    Sounds like your iPhone was hacked to unofficially unlock it. You can put it in Recovery mode, connect it to iTunes and Restore it in iTunes. Then you will need to call AppleCare, give them the model and serial numbers and find out which cell provider it is locked to. After you get that information contact that cell provider and see if you can get it officially unlocked.

  • Can i use my ringtones from my iTunes on my mac for FaceTime ???

    i don't like the ringtones on my FaceTime on my mac so can i some how import my ringtones from my iTunes and use that ??

    Yes, just redeem the card into your iTunes account.
    Apple - iTunes - Inside iTunes - How to Redeem Free Download Codes and Gift Cards In the App Store and iTunes

  • How to use two members from same dimension in Dimension Layout, for HFR

    I am developing a report using Hyperion Financial Reporting. I have taken two dimensions in rows and remaining dimensions in column. After completing one section, I need to make new section of the report on the same grid and page with just adding one more member of the second row dimension. That is data should be the summation of two members of the dimension, say "ACCOUNT".
    Kindly guide me the steps. Also i would like you to know that i am begineer with Hyperion Financial Reporting.
    Thanks
    Roshan

    Can you give some explanation of your gird layout and what you are trying to achieve?
    Like Account and Scenario in row
    Year, Market in columns
    Product in Page
    Regards
    Celvin
    http://www.orahyplabs.com
    Please mark the responses as helpful/correct if applicable

  • How to create an itunes account without using a credit card but there is no option for "none"

    itouch 4g

    I recently had to do this... but I figured it out.
    http://docs.info.apple.com/article.html?artnum=301961
    also,
    http://tinyurl.com/29bjce
    You may be able to use the account you are using to post on this forum
    Message was edited by: dddeeefff

  • Use of field STCEG in One-Time Vendor PopUp for non EU Company Codes

    When enter a One-Time Vendor invoice by FB60 or MIRO transaction for Company Codes in non EU-member countries such as Switzerland, Norway or Canada the field VAT-registration number, STCEG, is hidden even when they should have a similar treatment. The field needs to be open when the local legal requirements are the same. How to activate the field for these countries?

    Hi Shriharsh,
    Why do you want to use one time vendor in this scenario? If in the current legacy system seperate data is maintained for all the vendors, then do not go for one time vendor.
    Create the vendor master for each vendor or for the group of vendors.
    You can do Auto generation of PO at the time of GR, that is best suitable for this scenario.
    Regards,
    Sheetal

  • Send mail from a script

    Hi there,
    I am in the process of migrating a qmail system across onto messaging server and have to duplicate some old scripts that perform various (vital) functions.
    A couple of these require that I generate and then send messages from a bash script. Before I just did this:
    cat $TMPMAIL | /local/qmail/bin/qmail-injectAnd the mail would be sent off and processed (the file $TMPMAIL contains the From, To, Subject etc needed to make it a correctly formatted email).
    I found the 'deliver' tool in messaging server but this only allows me to send to a user on the system (by writing it into their mailbox). Unfortunately, I need to send the message to a static group on the system.
    So, does messaging server have the ability to accept mail from a script (like qmail, sendmail, exim etc) and just process it like a message received in another way. If yes, any pointers on how to do it or where it will be documented as I have searched and failed to find anything.
    Thanks
    Josh

    Why not to use mailx or mail and submit your email via SMTP?
    cat $TMPMAIL | mailx -s "your subject" [email protected]

  • Looking for a tutorial on how to use VI Server

    Hello.  Can anyone link me to a tutorial or article that covers the usage of VI Server across machines on the same network?
    Also, can VI Server functionality be used inside executables created by developers suite w/o any running LabVIEW instances?

    The VI server allows you to programmatically access and control VIs running in any LabVIEW instance. That instance can be the current one, another one on the same computer, on a different computer around the world or even on an RT target and working with them is the same in all cases.
    It starts with calling Open App Reference, which recieves a computer name (or IP address) and a TCP port number. These determine the specific LabVIEW instance and from that point on you work on that instance using the reference you got from the function. See a simple example of connecting to a remote VI here. The same works with property and invoke nodes.
    You should note that not all properties and methods work on remote instances. Each has a table in the online help with one of the lines being Available on Local LabVIEW Only. If this is true, it means that you can not use that property in a remote instance.
    Try to take over the world!

  • Exports (from shell script) without password given explicitly in script

    Hi All,
    I have Oracle 10g2 on SLES 10 64-bit. I would like to do export the database using data pump from shell scripts. Is there any method to hide the password in the script file.
    Currently in doing by command:
    expdp system/password@database ....
    So any user who see the script will know the passowrd.
    Regards
    Groxy

    Hi,
    Have you considered the "Secure External Password Store" feature that was added in 10gR2? It uses the Oracle Wallet to store a database_alias with username/password credentials in encrypted format. Then you can enter your expdp command like this:
    expdp /@database_alias ...
    Take a look at the 10gR2 Security Guide. There's a chapter there on how to set this up.
    John

  • Use of "NEW FROM PACKAGE" in SAP 8.8 And Master Layout creation

    Dear Expert,
    A)
    How to use "NEW FROM PACKAGE" option at time of choosing company.
    and also how to create .pak file ???
    Even I don't know by using this feature what are the scope.
    B)
    How to create master layout in 8.8 when I am using crystal Report.
    Thanks
    King Kevin

    Hi Kevin.....
    When you install SAP you have to install Solution Packager also. which will help you to create the .pkg file of your database which will then be used in New From Packager......
    And for Master Layout you can import the PLDs as you created independent Via. Reports And Layout. It will ask you the path to store the PLDs. Give the relevant path and your Crystal Report will be executed......
    Regards,
    Rahul

  • How do I set up an Apple Account for use in UK from Australia

    How do I set up an Apple Account for use in UK from Australia ?

    You need a UK bank and a UK billing address.

  • How to use budget amount from previous years

    Dear Values Consultant
    How to use budget amount from previous years
    I create budget for 2007 and I use it .in 2008 I create new budget with new amount for account, but still there are amount from 2007-I want to use or transfer it to 2008,
    How to do this? Please give me details step to implement to this feature
    Thanks for caring

    Hi,
    There are two ways to do it:
    1. Define the account range in your Budget Organization and in the Budgetary Control region, out the Amount Type as "PJTD" and Boundary as "Project". This method is useful when you have project as a segment in your chart of accounts and the Budgets are defined for the full project.
    2. The Other way is to carry forward your funds available from last year. Go to Journals -> Generate -> Carry Forward and carry forward the balance for a certain range of account from one financial year to the next one.
    Gajendra

Maybe you are looking for

  • Screen flickers

    Anyone else notice a random quick flicker on the screen? For instance, I'll be doing nothing specifically related to the problem, that I now of, and all of the sudden the screen will do a quick (maybe 1/2 second) flicker for no apparent reason. I'm n

  • Is SAP PO 7.4 dual stack installation??

    HI experts, Could anyone let me know if SAP PO 7.4 is a dual stack installation or can we go for single stack as well. As PI 7.4 is based on HANA , so while working on it shall we use ICO or old classic configuration. Shall we go for java based adapt

  • 802.1x Broken after upgrade to 7.6.100.0

    Hi, We are using an OEAP600 AP and reciently moved to version 7.6.100.0 (5508 WLC)to support split tunnel printing. 802.1x is being performed on an NPS server for wireles policy. Everything appears to be ok on the WLC configuration side - when debugg

  • No screen lock with gnome 3

    Hello guys My major problem with gnome 3 is that I'm unable to lock my screen. I tried every possible alternative such as locking after suspend via pm-suspend, the gnome-menu or closing the lid. Even lock screen via the gnome-menu doesn't work. Furth

  • Someones hacking my apple account. I now have a non apple phone and I would like to cancel my account?

    Twice in the last month someone has been logging in to my apple account. I have changed the password but it doesnt seem to help. I wrecked my old iphone and now have a non apple phone and would like to eliminate my apple account. How do I do this?