Network variable creation through DSM

I've been using CVI 2009 and I'm able to create a simple network variable using Distributed System Manager 2009 (DSM 2009).
Now I need a "struct" network variable, and I noticed that the only option I can choose is "From Custom Control..." which asks me for a LabVIEW .ctl file.
I read this KB and I created a custom control with LabVIEW 8.2.1, but DSM gives me the error "Invalid data type". I find the same error even if I create a .ctl file with a simple numeric indicator.
Should I use a specific LabVIEW version to create this .ctl file?
How can I create a struct network variable with DSM if I only have CVI 2009?
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

I tried with LV 8.2.1 and Variable Manager 8.2.1 and everything seems OK (both creating the varibale in LabVIEW and in Variable Manager).
The problem is that I want to deploy variables on the PC where I have CVI 2009, that is not my old one where I have LabVIEW.
On my new PC I only have CVI 2009 and DSM 2009, but not LabVIEW: how can I create a "struct" network variable?
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

Similar Messages

  • Variable creation in TestStand through CVI

    I have one steptype in which during Edit, the new variable has been created. I also saved that sequence. If I close that sequence file with that steptype and reopen the same sequence, the variable created last time was not there. I think these variable are not getting stored with sequence. The steptype building block is created in CVI. Those edit time variable creation is done by means of using “TS_PropOption_InsertIfMissing” functions in CVI. Can you please tell us is there any CVI functions to create variable during edit time and to be saved with the sequence.??

    Once again, Expression Strings, has stumbled another programmer!
    Parameters.DatabaseOptions.ConnectionString is not a string but an Expression String, and your assignment of a StationGlobals.Database ( just a string ) is causing this error.
    Here is what I did to solve your issue:
    1.) StationGlobals ( remove the leading "\" and trailing \"" from the Database string ) it should contain NO leading or trailing quotes
    StationGlobals.Database = Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=C:\\Users\\Public\\Documents\\National Instruments\\TestStand 4.2.1\\Components\\Models\\TestStand Results.mdb.
    2.) In Database Options Callback use the following expression to set the Data Source
    Parameters.DatabaseOptions.ConnectionString= "StationGlobals.Database"
    There are other alternatives as documented in this link.
    http://zone.ni.com/devzone/cda/tut/p/id/4793
    Good luck,
    PH

  • How can I fire an event case on the value change of an indicator, or a network variable?

    Hi!  I have an event structure setup to look for a value change of an indicator on the front panel.  The indicator is updated by the value of a boolean network-published shared variable through a seperate parallel loop that is polling all of the network-published shared variables.  The event, however, does not fire when the indicator changes value.  I have switched the indicator to a control and tested it with user interaction and that works just fine.
    I want to use the event structure space for my code exectution because it seems logical that that is where it would go, and it will help keep my block diagram tity.  The code is also something I would like executed with the front pannel temperarily disabled.  I would rather not have the code in my network-variable polling loop because again the tity issue.   I would also rather not use a notification VI wired to an independent loop for this particular code.
    Is there a way to have an event structure fire an event with the value change of an indicator, or a network variable directly?
    Thanks for your input.
    LV 8.5
    -Nic

    Thanks for the reply.
    I went about things a little differently, but got them to work so..... .  It really was not my desire to have a boolean indicator on the front panel.  As previously stated, my ultimate goal was to have an event fire on the change of a network variable, which I had to poll for anyway but that is tucked away in a section where I am handling all my network variables.  I ended up using that Create User Event, Register User Event, and Generate User Event SubVIs to handle the task.
    I've read the help for all of those SubVI's and it is not entirely clear to me if the event fires every time the "Generate User Event" receives some inputs, or if it only fires when the value changes.  I could do a test to find out.  It wouldn't be too difficult to add a shift register or a feedback node and place the Generate User Event in a case structure so that it is only fired when the input changes state.

  • Network Variable Engine in application started in autorun

    Using CVI 2009 SP1 I developed an application that uses Network Variable Engine:
    At the beginning of main I wait in a do-loop until the Variable Engine is running
    t_start = Timer();
    do {
    CNVVariableEngineIsRunning(&running);
    if (!running) {
    t_rem = 20.0 - (Timer() - t_start);
    if (t_rem > 0.) Sleep(100); //100 ms
    } while (!running && (t_rem > 0.));
     Then I create a buffered subscriber, previously checking that the process exists and is running
    CNVProcessExists (processName, &exists);
    if (!exists) {
    CNVNewProcess (processName);
    CNVProcessIsRunning (processName, &isRunning);
    if (!isRunning) {
    CNVStartProcess (processName);
    CNVCreateBufferedWriter (NetVarPathname, ConnTransferredCallback,
    ConnStatusCallback, NULL, 10, 10000, 0, bufferedWriter);
    This application works perfectly when I launch it as standalone application.
    But If I launch it at the Windows boot time through Start >> Programs >> Startup, CNVCreateBufferedWriter( ) returns -6337 (The network variable process was not found or is not responding).
    Does CNVStartProcess( ) need a delay time?
    How can I avoid this annoying error?
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

    CNVProcessIsRunning only checks if the process is configured to run when the Variable Engine is started...
    I think this advice should be added to the function help.
    But in cases where this function is called during system startup, it is unreliable because the Variable Engine could still have not loaded...
    As I write in the first message, the first function I call in my application is CNVVariableEngineIsRunning( ), then I wait until it returns "is running". Why does the NVE could still have not loaded after "is running" has been returned?
    A workaround for this problem and correct indicator of the availability of the process is to programmatically browse to the process:
    CNVBrowser browser;
    CNVCreateBrowser(&browser);
    CNVBrowse("\\\\localhost\\your-process-name");
    CNVDisposeBrowser(browser);
    If CNVBrowse succeeds, then the process is running. Please let us know if you run into issues with this workaround.
    Done. After this, I've never seen the error anymore... but I'll check again.
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

  • Network variables hang subvi

    I have a GUI with several subvis.
    I am using an LV project (LV 8.2).
    One of the subvis is used to construct a GPS string and hand it over to a RT (cFP-2120) deployed serial write vi using network variables.
    If I run the subvi standalone from the project with the RT deployed vi all works perfectly.
    If I open the GUI from the project, it also opens the GPS subvi now.
    When I run the GUI it apparently tries to run the subvi and the subvi's front becomes a blank white window with only the subvi title bar showing.
    It hangs in this postion and never gets any further.
    Before I implemented the network variables for the serial write, the subvi did not open on GUI launch.
    Further, the two are designed such that pressing a button on the GUI would open up the subvi as a dialog.  Once the stop button on the subvi is clicked it would close down.  This is how it used to work before I implemented the network variables.  Now the GUI won't even run.

    I don't get anything when running in highlight modem, just a blank white window.
    I let the original run last night while I went home.  It finally had come up and was running this morning.
    After days of working with bindings, etc I finally started hacking off sections of my main VI today.  It eventually started working.
    I apparently have too much baggage or a conflict on the main vi structure. 
    I'm dealing with nearly 40 indicators/controls used to monitor or modify simulation values for an avionics simulator.
    Clearly I'm not being effecient in memory management.
    I do have multiple while loops monitoring and sending data.

  • Unable to Create "Not Equal to" condition in Variable creation

    Hi ,
    I am getting an error while creating variable at report level,
    Well, my condition at variable creation is ----> sum(A) where [country] <> " x" ...(It is showing the results when the country is equal to x) and the converse for the same ... If I use [country] = "x" .. It is taking as country not equal to x ..
    Please suggest me on this..
    Thanks in advance ....

    Hi ,
    I am getting an error while creating variable at report level,
    Well, my condition at variable creation is ----> sum(A) where [country] <> " x" ...(It is showing the results when the country is equal to x) and the converse for the same ... If I use [country] = "x" .. It is taking as country not equal to x ..
    Please suggest me on this..
    Thanks in advance ....

  • Automatic Asset creation through Project settlement

    Dear All,
    We have one issues where in AS02 AUC Asset quantity is in display mode still we can find the quantity there.
    Can any body help me about the Process of Auto Asset creation through Project settlement.
    I need to know how system calculate the Quantity from the Project settlement. if such type of Process exist in SAP
    Thanks
    Abhijeet
    Edited by: Abhijeet  Patil on Oct 5, 2011 3:05 PM
    Edited by: Abhijeet  Patil on Oct 5, 2011 3:05 PM

    Hi,
    There is process in SAP where we can create AuC from Projects. We need to have an investement profile set up and the same needs to be used in the project. You will have the details in SAP Help documnetation for this.
    Regards
    Sreekanth

  • Idoc Generation after Purchase Order Creation through trading contract.

    Hi All,
    When a Purchase Order is created via trading contract, I need to generate an Idoc and pass details of the Purchase Order created to the Partner System.
    Can anyone suggest any Function module or user exit which gets called while Purchase Order creation through trading contract, so that I can fill the Idoc with necessary details of the Purchase Order and send that to the Partner System?
    Thanks in advance.

    Hi Tejas,
    I do not know about Trading Contract but what all I can say it that Check if Change pointers are getting written Once the PO has been created, If "Yes" then probably you do not have to do anything for craetion of Purchanse Order. You can use RBDMIDOC Program to create IDOCs from change pointers.
    Refer [this|http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm] for more information on change pointers.
    Regards
    Shital

  • Producer/consumer architecture over network variables with Real-Time target.

    Hi all,
    I am maintaining a producer/consumer data acquisition program to be deployed on a real-time target. The main code is deployed to and run on the real-time target during experiments, but was having trouble because the program was originally designed to write all experimental data to disk on the real time during acquisition, which puts the whole experiment at the mercy of the hard drive. I am now trying to rework the code so that the host takes care of logging, so that my time-critical loops don't have to wait.
    I am currently using LabVIEW 8.5
    I have two questions:
    First, how can I programmatically call the data-logging subvi on the host so that it runs in parallel with the main vi which runs the experiment and collects data on the real-time? I have attached the test code that I have been working with to figure this out, but it does not run the logging vi continuously in the background. I am aware that there is better functionality for this in newer versions of LabVIEW, but I would prefer not to upgrade unless there is no other option. I would like to be able to run my data-generating vi and have it start the data logging remotely.
    Second, is there a way in the host VI to read values off the network variable using an event structure rather than polling it for updates?
    Any help would be sincerely appreciated!
    Attachments:
    testRemoteLogging.zip ‏124 KB

    VI server
    Mark the target VI as served on the machine on which it will execute and use VI server Call by reference to invoke the served VI.
    This used to be taught as THE way to communicate syncronously with an RT app.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Dynamic variable creation

    i would like to know how to make use of bind variables in RPD variable creation . I tried creating in oracle10g by giving a sql query in Initiliazation block . I want to select a column based on a certain user input . For Your information i cannot use ':user' because it by default takes then current user who has logged in .

    If you are solely asking for a variable that would hold the value of username, Yes that is possible. It depends on the type of authentication you are using. Assuming you are using an LDAP server, providing the solution below:
    1) Source the list of usernames in to a external table in the database.
    2) Create an intialization block to populate that value based on user login.
    Ex: select username1 from externaltable where username1=':user' - Data Source
    variablename - Data target.
    Now you can use this in your required init block.
    Hope this answers your question.
    Please award points if helpful.
    Thanks,
    -Amith.

  • Ignoring cRIO Host Control via Network Variables

    I have a PC Host application that defines the operating state of my cRIO using Network Variables.  In some cases the cRIO must ignore the Host control and define its own operating state.  As an example, think of a simple boolean ON/OFF front panel control switch.  The user operates the front panel switch and it's value is assigned to a Network Variable which the cRIO reads and reacts to.  On a CompactDAQ platform for example, my LabVIEW application could use the Property Node to define the value of the ON/OFF front panel switch and also disable the control so the user could not change it.  I need this functionality in the cRIO world.  However, the cRIO cannot directly control the Host's front panel controls.  Thus, I'm looking for an elegant way to handle this scenario.  One solution is to use a Network Variable to communicate to the Host to redefine the value and disable it's front panel control, but there appears to be a race condition here - the cRIO needs to ignore the current value of the control as defined by the Host while in the meantime the cRIO is communicating via a Network Variable to the Host to redefine and disable the control.  Hopefully this is not confusing and any ideas would be greatly appreciated.

    You need additional handshake variables to toggle the control from Host to cRIO.
    Implement a request and acknowledge control szenario.
    Hope it helps
    Christian

  • Quotation creation through DP81 Error related to Material maintain Inquiry

    Dear All,
    This is related to Quotation creation through DP81.I have maintain A DIP profile and as per my Easy Cost Planning (ECP) in Project System it is capturing in sales price in DP81.Please note that I have maintain three (3) line item in the sales Inquiry.Based on that 3 line item we have maintain three different WBS element in ECP and it is attached to corresponding material no in VA12.
    Now in DP81 system showing the three line item but if we go for Quotation creation one material no is coming for the three line item with different price value.
    I have also maintain these three material in DIP profile in ODP1.Please note that the first material no maintained in DIP profile that is coming not the other material no.
    Please through some light as in our case there are several line item is maintained in quotation.So is it possible to make Quotation with different item and where I have to maintain these material no.
    Thanks
    Suman Sardar

    i checked the characteristic for cost element & Material for CR, MD & Str, i created sets for cost element & the material & i determined the material which i required in the quotation. I am getting an error "no expenditure item found" , can you suggest me now.

  • How to do .1x port based network access authentication through ACS

    How to do .1x port based network access authentication through ACS.

    Hi,
    802.1x can authenticate hosts either through the username/password or either via the MAC address of the clients (PC's, Printers etc.). This process is called Agentless Network Access which can be done through Mac Auth Bypass.
    In this process the 802.1x switchport would send the MAC address of the connected PC to the radius server for authentication. If the radius server has the MAC address in it's database, the authentication would be successful and the PC would be granted network access.
    To check the configuration on the ACS 4.x, you can go to http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.1/configuration/guide/noagent.html
    To check the configuration on an ACS 5.x, you can go to http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_secure_access_control_system/5-2/user/guide/acsuserguide/common_scenarios.html#wp1053005
    Regards,
    Kush

  • Problem while SO creation through BDC

    Hi Experts,
    The follow problem  came in log file of SM35 ,while SO creation through BDC for some sales org.
      Runtime error COMPUTE_BCD_OVERFLOW has occurred.
    could you please tell me what is problem.
    Thanks
    jai

    Hi
    It could be the following reasons,
    1. Too many orders
    2. Mismatch in the field, like fields skip a line so data not matching.
    Check these
    <b>Reward if it helped!</b>
    Chandru

  • Read LabVIEW shared variables ( network variables?) with VB6

    Hi, i need to read some LabVIEW shared variables (network variables?) using a VB6 program.
    Is it possible?
    I think that yes, using Measurement Studio for VB6 but I don't know how and I haven't found information in the  Measurement Studio for VB6 help file
    Could some one send me a program example or explain me how it is possible to read LabVIEW shared variables fromVB6?

    Hello quintella,
    To be able to interface with LabVIEW
    Shared Variables with Visual Basic 6 you will need to use NI Measurement
    Studio, which ships with examples on how to use VB6 with DataSocketing. Apart
    from Data Sockets, if you are using Measurement Studio 8.1 or higer, with the
    Network Variable Library introducted in NI Measurement Studio 8.1, you can read
    and write to shared variables in ANSI C, Visual Basic .NET or Visual C#. (http://zone.ni.com/devzone/cda/tut/p/id/4679)
    Here you have two links where you can
    find more information about how to use the datasocket option. In addition, there
    are several examples included in Measurement Studio with Network Variables and
    Datasocket.
    http://forums.ni.com/ni/board/message?board.id=230&message.id=2945&requireLogin=False
    http://forums.ni.com/ni/board/message?board.id=230&message.id=3324&requireLogin=False
    Regards,

Maybe you are looking for