Using the Manager of synchronization for exe OI LabVIEW and TestStand

We would like our operator LabVIEW executable Interface send data via a queue of TestStand to a sequence of logging.  The SyncManager API looks like a slick way to do this because it allows access to the synchronization objects other processes outside TestStand TS.  I created an experimental sequence of trying the concept.  The sequence creates a queue with a step of queue TestStand, up a point to another TS not queue, then uses calls to ActiveX in the SyncManager API to add another element to the queue of waiting.  That all works.

When I added a LabVIEW VI to place another element through similar calls to ActiveX in the SyncManager API, the VI is not a valid reference to the queue and so it cannot place the element.

I read on the forum that TS queue name must start with * in order to be accessed by separate processes on the same computer.  When I add a * on my queue name, queue TS operations continue to operate, but step that uses a call of ActiveX in the SyncManager API to get a reference to the queue returns one null ref so the next step of enqueue ActiveX returns an error.  In addition, the LabVIEW VI still does not receive a valid reference to the queue either.

Ideas and suggestions welcome!  The sequence and LabVIEW VI are attached. Using LV and TS 2012, obtained similar results in 2013SP1.

Thank you!
Hans

The queue API expects a PropertyObject not a string for the newElementPropObj parameter (not sure why LabVIEW similarly let you thread a string). To create a new PropertyObject, you can do something similar to the following:

myProperty = engine. NewPropertyObject (PropValType_String, false, "", 0);

myProperty.SetValString ("", 0, theActualString);

Enqueue it.

Close the ref to myProperty after you're done with it (i.e. after the queue it) in order to avoid leaking.

-Doug

Tags: NI Software

Similar Questions

  • When I try to use the Windows Update link for my XP computer I get a message indicating that the location where the Windows Update stores data has changed and it needs to be repaired. How can I solve this problem?

    When I try to use the Windows Update link for my XP computer and after using Windows Mr. Fix - It, I get a message indicating that the location where the Windows Update stores data has changed and must be repaired. How can I solve this problem?

    I'm not that computer literate and do not understand what needs to be fixed.

    This problem just started a few weeks when I noticed that I had any recent download automatic update that I regularly get. So I tried to do it manually through access via my control panel.

    I use ESET Antivirus Node32 software.

    Hello

    1. What is the error message or an exact error code?

    2 have you made changes on the computer before this problem?

    3. you try to check the updates?

    I would suggest trying the following methods and check if it helps.

    Method 1:

    Reset Windows Update components and then try to download the updates.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    Warning: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: http://support.microsoft.com/kb/322756

     

    Method 2:

    File system scan tool checker and then try to press Ctrl + Alt + Delete and check.

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe):

    http://support.Microsoft.com/kb/310747

    Please respond with more information so that we could help you more.

  • Can I use the same Weblogic Server for soa suite 11 g and OSB panels?

    Hi all

    Is it possible to use the same server weblogic for SOA suite 11 and OSB?

    Hi Arun,

    SOA 11 g is running on weblogic version 10.3.2 OSB is running on weblogic 10.3, so you can't have two SOA suite 11 g and the OSB on weblogic even (not EVEN in the two areas of same weblogic). You must have two facilities of weblogic. (at this time)

    After the next release of OSB (planned for H2), you can run both the same weblogic.

    Kind regards
    Anuj

  • Cannot run business ruleset using the Launcher command line for the calculation Manager

    Hello

    I use the Hyperion 11.1.2.2 planning version. I am trying to execute a business rule defined via the calc Manager command line utility. Please see the order form below,

    D:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1 > CalcMgrCmdLineLauncher.cmd /U:HBRadmin D:Capex /A:CORP S:Capex_Nightly

    At the launch of the above command, the utility starts and ends without triggering the rule in the database. See log info below,

    Local planning: en_US

    using java.library.path: D:\Oracle\Middleware\EPMSystem11R1/products/Planning/lib64

    EPM_ORACLE_HOME (D:\Oracle\Middleware\EPMSystem11R1) has the value of the property 'EPM_ORACLE_HOME' of the JVM.

    using the property of Java for Hyperion home D:\Oracle\Middleware\EPMSystem11R1

    For the non - RFP app, ask size is not necessary

    EPM_ORACLE_INSTANCE (D:\oracle\Middleware\user_projects\epmsystem1) has the value of the [EPM_ORACLE_INSTANCE] property of the JVM.

    Support RTC Essbase Version: 0xb1221

    null

    But if I try to execute a business rule with the calc Manager command-line utility, it works well. It is only rules base which poses problem. Please note that this set of rules is to have business rules that belong to a database that is Capex.

    Any help on this request would be much appreciated. Please notify.

    Thank you

    AP

    Please ignore this request,

    I found the KB article below

    Hyperion Planning Rulesets cannot be launched using the CalcMgrCmdLineLauncher planning (Doc ID 1453630.1)

    Thank you

    Arun

  • I sent by email informing you that my computer crashed last month and now I'm ready to download the creative cloud again.  Please help me on this.  I have not used the program while paying for him.  hoping for your immediate answer on what to do. Peut

    I sent by email informing you that my computer crashed last month and now I'm ready to download the creative cloud again.  Please help me on this.  I have not used the program while paying for him.  hoping for your immediate answer on what to do. Can I download the free trial version and apply my account on it and fix it on your side?  Kindly get back to me as soon as possible because I need it for my school work and tasks.  Thank you.

    Uninstall anything cc which can be installed. »

    Restart your computer.

    clean a http://www.adobe.com/support/contact/cscleanertool.html

    Restart your computer

    install the cc desktop application, use of the desktop application cloud creative to manage your applications and services

  • I use the 64-bit drivers for Windows 7 from the Satellite on the Qosmio?

    Hello

    I have 2 laptops Toshiba, Qosmio X 300 - 14U and Satellite T130 - 12 K, and my question is:
    I use the 64-bit drivers for Windows 7 from the Satellite on the Qosmio?

    Thanks in advance

    Hi frakri,

    What drivers tell you exactly? Display, chipset, sound, etc. ?

    Theoretically, it should be possible, but it s according to the material. For example if your Qosmio has the same chipset as satellite you can use these drivers. Otherwise it wouldn't work because the hardware is different.
    First, check the features!

    In addition, you can get all the drivers here:
    http://EU.computers.Toshiba-Europe.com > support & downloads > download drivers

  • How to use the sony hdr-XR160 for a video stream live

    Im trying to use the Sony HDR-XR160 for a video live feed to the internet, but can't seem to find out if this is possible.

    The camcorder has HDMI and A / V output connections. Depending on your computer, you can connect the camcorder to a HDMI IN and A / V in port. Once connected, you can start streaming using the appropriate software. Please see the manual for more information on the available ports, you can use your computer operating.

    Please note that USB streaming is not supported by this unit.

    If my post answered your question, please mark it as "accept as a Solution.

  • I just installed an SSD on my imac 24 inch 2007 but at the start of the computer does not see the drive. How to use the terminal to look for? Thank you

    I just installed an SSD on my imac 24 inch 2007 but at the start of the computer does not see the drive. How to use the terminal to look for? Thank you

    Can she be seen by disk utility (and which version of Mac OS X is)

  • I already have one zero drive for FCP 7 projects implemented.  I would use the same scratch drive for FCP 10.  Is there a special way of implementation is seamless?

    Said to implement the scratch disc so I can use the same hard drive for FCP 7 and 10 projects - something on a folder separated for 10 projects.  What are the steps to do t his?

    More details would be useful. You have already imported media in FCP7? Or you are just starting to work with both applications at the same time? What application you plan to use to ingest media? Don't try to use them both for ingest.  You can set FCPX to use the FCP7 Capture Scratch location for your support and then let the media imported in place. You can also assign a location for media to import using FCPX and then use this location for FCP7, again leaving the media in place.

    Or I totally misunderstood and you only talking about using the same drive, which is not a problem at all.

  • Startup Repair:-using Skype, can I use the method of selection for me starts better what should I suggest? Thank you pp

    Startup Repair:-using Skype, can I use the method of selection for me starts better what should I suggest? Thank you pp

    Hello

    Welcome to Microsoft Vista Forum community!

    Please answer the following questions to help you better about it
    ·         What is the edition of Vista installed on the computer?
    ·         You try to make the Windows Vista startup repair?
    ·         How long have you used Skype for?
    ·         Are you facing problems starting with windows after downloading Skype?

    If you encounter problems with Windows startup after downloading Skype, then you can try to disable the startup of Skype at Windows startup. (For example, in MSN, go to tools > Options > General > do not start when Windows starts.)

    For more information, you can consult the help of Skype: https://support.skype.com/

    Hope this information is useful.
    Let me know if it worked.
    All the best!

    Concerning

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • If someone UN-install/reinstall the XP operating system for a new beginning and not use any old files more than cure someone of a problem of malware/malicious?

    If someone UN-install/reinstall the XP operating system for a new beginning and not use any old files more than cure someone of a problem of malware/malicious

    Reformat the disk and reinstall Windows XP would heal any problem of malicious program with the exception of an infected MBR (Master Boot Record) on the disk.   The F-Secure rescue CD is a tool that allows to remove a MBR infection.

  • can I use the same USB cable for two printers - HP Officejet 4315 and HP Officejet 6110?

    I have an existing HP Officejet 4315 with USB cable and want to use the same cable replacement for my other printers, the HP Officejet 6110.  This allows me to change the cable between the printer and still work?

    Thank you for your thoughtful replies.

    As you asked specifically about the compatibility of the USB cable, I would say that it will work because both devices support USB 2.0 (that is, both devices can be used with the same USB cable alternating).

    Installation of the software for the two devices must be made successfully to use various functions.

  • Exchange server and Surface RT, can I use Mail app to connect to the Exchange Server for email (the same question is for contacts or people and calendar)?

    Hello

    Our company uses an Exchange Server for email, contacts and calendar.

    Can I use Mail app to connect to the Exchange Server for email (the same question is for contacts or people and calendar)?

    Kind regards

    Matej

    You must install the SSL certificate before connect you to the Regional service, the easiest way is to go to "desktop" IE10 open, go to the exchange server web access page, click on the notification of "certificate error" red and view / install the store "certificate authorities roots of trust." Then, make sure that your surface RT complies with the minimum requirements of security then connect to the exchange via the mail application server.

  • the things that I create within the trial period can be used for commercial purposes, otherwise if I buy CC who will give me the right to use the things I create for commercial purposes

    the things that I create within the trial period can be used for commercial purposes, otherwise if I buy CC who will give me the right to use the things I create for commercial purposes

    While there is really no way to stop you using the trial for commercial purposes (and to be honest, it's probably the best way to know if it works for you, in any case) you need to keep in mind that, after the 30 day trial period you will not is no longer able to work the same day or any other project unless you register it.

  • Looking for some practice files for video in line/book of "Adobe Photoshop CS5 Extended: Essentials. I use the tutorial via membership in Safari book online and the files are not available on Safari.  Do you know where I can get the files?

    Looking for some practice files for video in line/book of "Adobe Photoshop CS5 Extended: Essentials. I use the tutorial via membership in Safari book online and the files are not available on Safari.  Do you know where I can get the files?

    Looks like the manufacturer was "Total Training. I can't find the title to Adobe.com

    http://totaltraining.com/store/Photoshop-CS5-extended-Essentials/

Maybe you are looking for

  • T120 24 inches: B332206C

    When the Tracker is turned on the only message on the screen is "B332206C". Desktop PC it is attached to via the USB port cannot communicate to the plotter. The fact to unplug the cable USB and reatttaching, message on PC says the device is unable to

  • can I print from office

    can I print as shown office?

  • blue color 1518ni Colo laserjet hp gradually separates the characters even grayscale.

    I'm getting blurry printing and it seems that blue color shadow gradually separates in the text even when printing in grayscale. Is it an alignment issue curable, bad cartridge or what?

  • Libraries vs displacement of personal records

    Hello I'm about to reorganize my hard drive with my personal documents/music etc. on a separate partition. I know that you can move the position of real fault of your personal records from in their properties by selecting "move". I know also you can

  • How can I change the language on applications on windows 8?

    I bought my laptop in Ireland and had all the settings to English. I recently downloaded a language pack, so I could type in Chinese and now applications preinstalled such as Skype, weather, gmail etc. have changed in Chinese. Can someone please help