Sharing of Variable Timestamp sets TPC-2012

My code running on a TPC-2012 reads a shared variable that is hosted on a CRio.  The timestamp of the shared variable reading gives me the time of 05:00 even in 1903.

If I read this same shared variable using software running on a PC vs TPC, I get a timestamp that corresponds to the exact time on the CRio. The CRio therefore publish and update the variable as needed.

What's up with the PTC?  I'm guessing that the timestamp of reading is not supported on the TPC?  Yes/No?

Fixed.

You must read the timestamp AND the actual output variable.  Just read the timestamp will not give you something meaningful.

I care about the shared Variable data, I just wanted the Richard, he wrote...

Tags: NI Software

Similar Questions

  • TPC-2012 cannot read the shared variable

    Hello

    I have a TPC-2012 and can not read variables shared with him. I welcomed the shared on a cRio-controller Variable. On another PC, the variable is read correctly, but not on the tpc-2012. What can I do? No error message is displayed on the TPC-2012 (Windows CE 5). The PTC can not write values in a shared Variable.

    Thank you

    Christian

    What LabVEIW Touch Panel version do you use? I don't know why static variables do not work correctly on your device. TPC-2012 comes with support preinstalled for shared variables, and it would be possible that it has been deleted or corrupted. Here are some steps you can follow:

    Install the Support of shared Variables
    How do we install the Support of Variables shared on the TPC-2012?

  • DSC - event trigger for single shared process Variables

    Hello

    I understand how to set up a Notification of change of value for published network Variables shared so that an event fires when this particular shared Variable changes. However, I can't understand how to do the same for the single shared process Variables. Is it still possible? Can someone shed light on this point, please?

    Thanks in advance.

    -James Pham

    VRspace4,

    Hello! It is not possible to activate alarming for unique shared process Variables. A workaround to set up a Notification of change of value would be to create a network shared variable that reads in your Variable single process, but at this point in time, it could be useful that replace your variable with a variable that is shared on a network.

  • Sharing of Variable crashing LabVIEW

    It's just one of those projects that has a wall of brick in each round so far. Two computers running LV2009. Computer A hosted data write sharing Variable. Computer B shared reading Variable data hosts. Reading data is linked to write data. Everything worked fine, and then yesterday afternoon, I don't think I changed anything on the shared variable, I start my VI on the computer B and LV crashes. The VI begins to run before the first performance for reading data, and then poof, everything open in LV disappears. Since then the problem is reproducible 100 percent.

    Here's what I know:

    1. an error indicator hooked to reading data watch-1950679034 (shared Variable has no value) for about a second before the accident. Everything stops execution as soon as the warning.

    2. writing of data is a single editor, but it is also sometimes read in VI it is written in. It is not read when the accident occurred. I can however perform playback on computer A without incident.

    3. don't know if this is related, but if I open the VI on computer B and then open the project, I am not able to drag data reading of the project on the block diagram. I also cannot perform operations on the shared Variable (as right-clicking, ignore the timestamp). I have to close the VI and reopen the project. In retrospect, this problem might have started when I opened the VI without opening the project.

    I'm torn between abandoning the shared Variables and try to understand it. I would definetely prefer to use the Variable shared, mainly because I need a buffering. I guess I can put other things buffer. Don't know if I can remote access to a queue, or...?

    I was able to reproduce the crash that you see with extreme simplicity VI in LabVIEW 2009.  This looks like a bug in LabVIEW, so I'll check if there is any of this behavior already.

  • TPC-2012

    After the update to 2013 LV tpc-2012 in the labview project is marked "unsupportede device". How can I change this? Must I update the software? Where can I find software current?

    Thank you

    Christian

    chrisosw wrote:

    This means that more no update for Labview.

    This is what it looks like. They want that you upgrade to PTC-22xx for future versions of LabVIEW from 2014 of LabVIEW.

  • Conexion between TPC 2012 y PC viaethernet

    Muy buen dia a todos.

    In estos momentos estoy tratando programar una HMI TPC 2012, esta previously are tenia UN SCADA el cual automatically programmed to starts al encender el equipo lo estoy tratando hacer ahora're uno nuevo programar el. TODO esto lo estoy mediante doing a project based on el nuevo Module LabVIEW Touch Panel 8.5.1, pero al correr el programa terminado tratar este to connect mediante activesync is y al no tener este series puerto any no Arab su objetivo, por lo than quisiera saber if is can comunicar mediante conexion ethernet y como is haria esto. También como lograria delete the program that runs to?

    Reciban a cordial saludo!

    That Mr. Bungle tal;

    In this post is that una conexion of ActiveSync menciona no esta soportada in el TPC-2012, pero puedes descargar el archivo via FTP o con una application take en el Modulo para touchscreen support.

    Annex United Nations document in el what explica como puedes descargar application con ambos methods.

    http://digital.NI.com/public.nsf/allkb/9912FA05C5A2D04D86257524006D0729?OpenDocument

    I hope the information you sea ayuda.

    Suerte

  • Run-time error '91'; Variable object or with block variable not set "

    Help, please... I had "run-time error '91'; Variable object or with block variable not set "for kawai2004 game.  Please help how to fix this error.  Thank you very much.

    Hello

    See the following article
    http://support.Microsoft.com/default.aspx/KB/822521

  • Unable to set server 2012 without the protocol driver LLDP Microsoft network adapter. I have searched the driver but had no chance. My question is where is it located on the CD-ROM of the 2012 Server

    Unable to set server 2012 without the protocol driver LLDP Microsoft network adapter. I have searched the driver but had no chance. My question is where is it located on the CD-ROM of the 2012 Server? I use the version standard edition. Thanks for any advice.

    Thank you all.

    John Hayes

    Hello

    The question you posted would be better supported in the TechNet Forums. I suggest you to ask your question in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/en-us/categories/

    Thank you

  • TPC-2012 is not booting

    Hello

    I use a TPC-2012 and it is not booting, it's freezes directly without showing any desktop computer.

    I checked the Flash card, and it seems that he has no problem, I find all data inside when connecting using a card reader for my laptop.

    Thank you for your reply Adnan

    Problem solved by reinstalling Windows CE

  • reconnect the stall network of shared network variables

    I have a cRIO unit communicates with a laptop using shared network Variables, one of them being a table of 21 index which is buffered.

    The system connects and communicates very well, but sometimes the wireless laptop card is to lose the signal from the WAP, attached to the cRIO.

    In this case the network never shared Variables "reconnect" and start to receive values still once the wireless link is restored.  Is this expected behavior?

    When I tried to use other WAP industry instead of the card laptop wireless, I get no abandonment.

    Hello Ryan,

    Please contact National Instruments!  I looked into the problem you are having and I wanted to ask you a few questions more.  First of all, you have a period of time which allows the reconnection?  I believe that the Shared Variables should find the connection after a short period, but it may not be a very quick process.  It may take a few minutes to the Variables shared to reconnect.

    The other thing that could happen is if you have error son being passed by shared Variables, it is possible that the error is not be deleted, and so he will always see the error and not a so never reconnect.  In this case, you will need to filter this error and then clear the error in order to use again shared variables.

    If you have more specific information about your program that can help us to determine the reason for this behavior.  As a screenshot of your code would be useful.  Please let me know if you have any other questions and I'll be happy to help you.  I hope this helps!

  • at Oracle variable not set correctly

    Hi all

    I have two houses of oracle, 11.2.0.3, and 11.2.0.4

    We do not use 11.2.0.3. When I connect Oracle for linux, my oracle home and the path is 11.2.0.3, not 0.4.

    When I run with 11.2.0.4 oraenv correct home, it defines path and oracle home to correct value.

    What should I change in order for the permanent change in oracle home and path to 11.2.0.4, then these variables are set to the correct value in the journal on?

    Thank you

    attaches with a change in the .base_profile file.

  • Determine if a Variable is set with if statement.

    Hello, I am interested by - does anyone know if it's a bad habit to check if a value has been set using this method...

    If (!) MyVar)
    trace ("myVar is undefined)

    It must be equivalent to...

    if(MyVar == undefined)
    trace ("myVar is undefined)

    I am aware that the first method is perhaps not as clear (for example, someone might think immediately that myVar is a Boolean value), but I have used this method to check whether a variable exists, or is not defined for some time now and have not encountered any problems. However, if there is something wrong with it I would like to adopt best practices, particularly when it goes into AS3.

    There is nothing wrong as long as you realize that myVar can be defined and! myVar could resolve to true (when myVar is 0 or false) 2.

    3, the compiler throws an error if you try to access a variable not set unless you run the variable as the property of a dynamic class.

  • What is the difference between the variable and set

    WHAT IS THE DIFFERENCE BETWEEN

    These different versions when it is done using the keyword "variable" and "set."
    and these two are performed outside 'DECLARE '.


    VARIABLE g_monthly_sal NUMBER
    SET p_annual_sal = 5000

    -I understand that p_annual_sal will be considered to be a TANK.
    -ALSO if DEFINE the variable serves as a macro variable, THEN it is necessary to give it a certain value whenever we define.
    If this is not the case, what value would it replace?

    OR does that mean when we want to specify the data type for a variable binding, we should use VARIABLE and
    When we do not want to specify type we use SET?

    Thank you

    Published by: user6287828 on February 24, 2009 11:03

    Published by: user6287828 on February 24, 2009 11:04

    Both are SQL * most orders. In a real programming environment you will use these constructions (except in a few rare cases of scripts).

    The difference is the way in which the building will be used later. DEFINE looks more like a string copy & paste. Wherever this substitution variable name is found, it will be pasted into the sql * plus the term.
    VARIABLE creates a real variable. You can change the value and if follwos the usual principles of variables (including the link).

    Example can be found in the docs:

    documentation
    Where and how to use the Substitution Variables

    You can use anywhere substitution variables in the SQL and SQL * more orders, except that the first word entered. When SQL * Plus meets a variable substitution not defined in a SQL command * more will prompt you for the value.

    You can enter any string, at the prompt, even a container of spaces and punctuation. If the SQL command that contains the reference must have quotes around the variable and you include here, the user must include the quotation marks when you are prompted.

    SQL * Plus reads your answer from the keyboard, even if you have redirected the terminals input or output to a file. If a terminal is not available (if, for example, you run the script in batch mode), SQL * Plus uses the redirection file.

    After you have entered a value in the prompt, SQL * Plus lists the line containing the variable substitution twice: once before replacing it with the value that you enter and once after substitution. You can delete this list by setting the variable to VERIFY OFF command.

    The use of Bind Variables
    Bind variables are variables that you create in SQL * Plus and then the reference in PL/SQL or SQL. If you create a variable binding in SQL * Plus, you can use the variable as you would for a variable declared in your PL/SQL subprogram and access the variable from SQL * more. You can use bind variables for things such as the storage of return codes or debug your PL/SQL subprograms.

    Because bind variables are recognized by SQL * Plus, you can display their values in SQL * more or reference them in PL/SQL subprograms that you run in SQL * more.

    Creating Bind Variables
    You create variable bind in SQL * Plus with the command VARIABLE. For example

    Ret_val VARIABLE NUMBER
    This command creates a variable binding named ret_val with a NUMBER data type. See the command VARIABLE for more information. (To list all the bind variable created in a session VARIABLE type without arguments).

    Referencing Bind Variables
    You reference bind variables in PL/SQL by typing a colon (:)) immediately followed by the name of the variable. For example

    : ret_val: = 1;
    To change this variable binding in SQL * Plus, you must enter a PL/SQL block. For example:

    BEGIN
    : ret_val: = 4;
    END;
    /

  • Sharing of Variables does not not under an FPGA interface?

    Hi all

    I have a controller 9074 cRIO 9074 chassis.

    I defined a number of variables shared under my RIO controller and writing a UI VI in my host PC, where I feed some variables of network shared in RIO and get another return to RIO on the front panel of my host. Naturally, the VI which deals with read/write variable network data to IO channels real is under my RIO controller.

    The problem is that, although everything seems to work fine when my RIO is set to the interface of the Scan Engine, the same screws give the following error message when I pass my RIO FPGA interface dependent.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Possible reasons:

    CompactRIO: (Hex 0xFFFF0000) unable to communicate with the module. Re-insert the module and check the connections. If the chassis is in Interface FPGA programming mode, make sure that you have opened a FPGA reference bitfile or VI FPGA with the load of the Interface of scanning for the module you are trying to access using the scanning Interface.

    This error or warning occurred when writing the following shared Variable:
    \\AMR-cRIO9074\B1-DO\JCV1_C1_B1
    \\160.40.15.231\B1-DO\JCV1_C1_B1

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Note that I get this error message for each channel of e/s that I call my RIO. Also note that it is there still no reference FPGA currently in any of the screws... I want to solve the problem is because later, I'll have to add some FPGA in my code, so I can not just impersonating my RIO scan interface...

    Any help would be appreciated,

    Harry

    When you disable scanning on the cRIO platform engine, you must have some runing FPGA code.

    There is noway that knows your controller on any module, and he can't read anything from any module.

    If you do not have an FPGA vi, which sends the values of a port of the module on your controller, you need to do active Scan Engine.

    The error message clearly indicate that you must have an open reference FPGA vi or analytical engine to be able to read the values of and to a module.

    You are able to have custom analysis engine and a footstool of FPGA code at the same time on an FPGA.

    Is there a reason you do not run with the scanning engine?

  • Sharing of variable in window 7

    I have a project to Labview 8.6.1 with a lvlib of 9 shared variable, which are some of the simple basic variables (String, Boolean), but some are of type complex def.

    Project works to the original design of LV 8.6.1.

    I opened in LV 11 SP1f1 and shared variables were not recognized. I added the again. I had bad time see variables for the project and when I had to add the last one everything is ok no problem, I save screws and project project then when I opened to new and high level vi and then complain that the last variable is not part of the project. I added it again, I save again once all the screws are ok, but next time, when I open the project I got the error of the variable not being not part of the project.

    Is something that I'm missing or what I'm doing wrong? See attached my variable in project.

    Thank you

    Virginia

    I again, it's a bug on the top of my head, but after a search, I found a reference here(see 40906). It was a bug reported in LV8.5. I'll inform R & D on this event because it was supposed to be fixed a long time ago.

Maybe you are looking for