LabVIEW 2012: compareTimestamps using "Comparison Express VI"

Hi,
I am using LabVIEW 2012 try to compare two timestamps data using "Comparison Express VI"
When set "Items to Compare" to Timestamps and try to connect timestamp to the input of the VI, I got a broken wire.
How to use the "Comparison Express VI" to compare Timestamps?
Best regards
Amr

This question brings up an interesting point. NI has said that internally a timestamp value carries time data (the number do seconds since the "beginning of time") in two forms: A DBL floating point version and a U32 integer version. Now if you use the equals comparison operator to compare two values, which version gets compared, float or integer?
Or to put it another way, is it safe to test equality between two timestamps?
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • Using comparison operators to solve several different mathematic​al expression​s is not clear

    Though I found LabVIEW very interesting , still some of its basic fundamentals are not clear, like using comparison operators (>,<,..) for solving different
    mathematical expressions. Please give example showing how to use such operators in advanced mathematical problems.
    Best Regards,
    Allawi

    allawi1 wrote:
    What I am looking for is how to use such functions in selecting different mathematical expressions i.e..(working like logical if statement).
    You need to be more specific. A comparison operation IS like a logical IF statement and the result is either TRUE or FALSE.
    What do you mean by a "mathematical expression"? What do you mean by "different"? Can you give an illustrative example?
    If two alternative mathematical expressions should depend on the comparison, wire the comparison output to a case structure and place the two different expressions in their own case, for example.
    LabVIEW Champion . Do more with less code and in less time .

  • Labview 2012 Signal Express

    We have Labview 2012 Signal Express (version 6.0.0) installed on a XP computer and we would like to upgrade to a Window 7 machine.  Will the current version of Labview 2012 works on the Window 7 machine?  The Labview 2012 Signal Express is used to control a cDAQ-9172 with a 4-Ch thermocouple module. 
    Solved!
    Go to Solution.

    This is the LabVIEW board. Please click on Options and request that the moderator move your question to the SignalExpress board. LabVIEW itself works on Windows 7 but they are two different products and not many people here use SE.

  • How can I build a LabView application that uses the 2012 runtime, on a development system with LabView 2013 or 2014 installed?

    I need to build a LabView application .exe to run with the 2012 Runtime, for legacy support. I currently have LabView 2013 installed on my development system, and have 2014 available. How can I build an application that uses the 2012 runtime on this development system? Do I have to downgrade to 2012? Thank you.

    We have existing customers that have installed our application that was originally built with 2012 (provided by a contractor that is no longer available).  Due to IT regulations, it is far easier to update these customers by simply replacing the .exe file, than creating an install that their IT department must run.
    If I have to downgrade to LabView 2012, where can I get the installation for this?

  • Exe created with labview 2012 won't run using LVRTE2013

    I created an exe using Labview 2012.  I had the user install the latest rte (lvrte2013).  The exe would not run and told the user it needed 2012 rte.  Do users have to have the same rte for each exe?
    Solved!
    Go to Solution.

    Yes.  But the various RTEs can coexist on the same PC.

  • LabVIEW 2012 used to hang at shutdown, now hangs at launch ("Initializing menus")

    Hello,
    I'm running Windows 8 64-bit, and have LabVIEW 2012 32-bit (12.0f3). I started using it a few days ago, and was never able to shut down LabVIEW properly. I could close my projects, but when I then tried to exit LabVIEW from the home screen, the GUI simply stop responding, and I'd have to forcibly kill it. Then, I installed the latest VIPM, and noticed that I can't shut that down properly either (I believe VIPM is implemented in LabVIEW?). None of my non-LabVIEW-based programs have this issue.
    Then, I tried to install OpenG from within VIPM, which launched LabVIEW itself. However, that hung at "Initializing menus".
    I'm not sure if VIPM had anything to do with it, but now, I'm unable to start LabVIEW altogether. Even after restarting my machine (using the Restart option, not Windows 8's Hybrid Boot), LabVIEW would hang at "Initializing menus". Task Manager shows 0% CPU activity, and LabVIEW had only taken ~20MB of memory.
    What could be the cause, and how can I fix it?
    Thanks
    Solved!
    Go to Solution.

    Ok, I:
    Uninstalled ALL National Instruments, JKI, and IVI software.
    Rebooted
    Manually deleted residual NI, JKI, and IVI files/folders
    Cleaned the Windows registry of NI, JKI, and IVI entries
    Rebooted
    Checked Task Manager to ensure that no NI service eluded deletion
    Installed LabVIEW 2012 from the NI Developer Suite DVD (LabVIEW only -- no other components)
    Rebooted
    Launched LabVIEW
    LabVIEW launches now, but I'm still unable to shut it down properly... One day it will probably refuse to launch too.
    Some help please?

  • Trying to use Airport Express (2012) in Hotel and it is not working

    Hey folks, the title pretty much says it all. I picked up a new AE last week, and wanted to use while I travel to share out my hotels wired connection to my computers, iPhone and iPad. I am pretty good with networking, so I can't seem to figure out how to get around the double NAT error that I am getting from the Airport utility. It appears that the hotels network is blocking me from connecting. If I use my back up travel router (Zuni Connect) everything works fine. It appears the AE is not getting along with the hotel. Any ideas on how to get around this?

    I traveled for years with an AirPort Express and have had virtually no problems connecting to the hotel networks if an Ethernet port is provided in the room.
    Up until a few years ago, configuring the Express in Bridge Mode worked just fine, as hotels would allow several devices to connect without problems.
    Unfortunately, hotels have become a lot smarter as they look for ways to generate more revenue. Many hotels now will only allow one connection if the Express is configured in Bridge Mode, so I started using the Express in router mode about 3 years ago to get around this.
    Security wise, this is actually a bettter arrangement as Tesserax notes, because other users at the hotel cannot "see" your devices.
    The Double NAT "error" can be ignored with an option in AirPort Utility if you wish, and the Express will display a nice, green light.
    I have no trouble connecting 3-4 devices this way and the hotel only "sees" one device, so they only charge for one connection.
    When the hotel only has wireless, that is when I bring out the second Express that I travel with, so I can use one Express to "join" the hotel network and provide an Ethernet signal to the second Express, which is configured as a router to allow multiple devices to connect.  The hotel only "sees" one connection this way.

  • LabView 2012 Security System Main vi's have error 200559

    The vi's give errors of 200559 in my LabView 2012 and NI application engineer "John Staskal" told me as "Another good step 
    is to recreate the VI in your current version of LabVIEW so that you know the error is not caused by upgrading the VI to a newer version of LabVIEW." I did all that, but not resolved.
    Their application engineer John Staskal also told me as "In addition to working to resolve the error you may want to pursue is posting on our upgrade forum and asking the community to convert the VI to a current 
    version of LabVIEW.  http://forums.ni.com/t5/Version-Conversion/bd-p/VersionConversion".
     I did all trouble shooting steps such as highlight execution, probes, etc as what their application engineer told me and still having error of 200559 in LabView 2012.
    I  appreciate help from any one.
    Ali Tariq Bhatti
    Ali Tariq Bhatti
    Advice: Some people talk on different issues and abusive against your post because they do not want to help and arguing with you on some other topic. You all will observe and I also observed, so also do not want to mention their name and best way is complaint them to the moderator. If anyone still wants to talk on different issues against the post, other way is to do private message.
    ~~~Be nice, have faith in ALLAH(God)~~~
    Attachments:
    NI ELVIS II Security System VIs (2).zip ‏313 KB
    Error 200559.docx ‏500 KB

    RavensFan,
    I) Yes, I open up the front panel of the Express VI's and probe into them.
    2) I use the express vi's, but if you see my attached vi's file. You will see Security System Main vi is the main vi where the program is running and where I am getting the error of 200559.
    3) I also attached the word document file, so I am getting error of 200559 in probes 3, 4, and 5 using Export Key Press and Voltage vi's in this post.
    4)Do you know, how to convert these my attached vi's to 2011, 2010, 2009, or LabVIEW8.5 version. May be, it fix the problem, or if you know some one to get help from or get chance to use ELVIS II board, so let me know .Your help or any one's help is appreciated.
    Advice: Some people talk on different issues and abusive against your post because they do not want to help and arguing with you on some other topic. You all will observe and I also observed, so also do not want to mention their name and best way is complaint them to the moderator. If anyone still wants to talk on different issues against the post, other way is to do private message.
    ~~~Be nice, have faith in ALLAH(God)~~~
    Attachments:
    did probes for Export Press and Key vi's file.docx ‏340 KB

  • How to Capture Multiple Line String using Regular Expression?

    Hi, 
    I have a simple program like this:
    What I want to accomplish is to capture everything between >>start and >>end using a single Match Regular Expression node. It seems that setting multiple? to True or False does not help.
    I am using LabVIEW 2012.
    If it is impossible to capture it using a single node, that is fine. But I want to make sure that I can make full use of this node without combining serveral others.
    Thank you!
    TailOfGon
    Certified LabVIEW Architect 2013
    Solved!
    Go to Solution.

    Thank you for the fast response! Your solution worked in the example case
    After I saw your post, I was finally able to step forward. But I still wanted to make use of dot notation due to the limitation of characters that match with \w. 
    I made some more modification to your regular expression then now it seems working for all characters:
    >>start((?:\s|.)*)>>end
    Thanks!
    TailOfGon
    Certified LabVIEW Architect 2013

  • Spartan 3E with Labview 2012 (32 bit) on WIndows 7 64-bit - Error Code: -310602 NI-COBS: Unable to communicate with device over communication cable.

    Thanks for the info, Kyle.  I will probably try to find an older 32-bit XP machine.  VM is just not an option for me right now.

    Hello everybody,
    I am trying to use the DIgilent Spartan 3E board with Labvew 2012 SP1 32 bit.  I am able to compile the example code for LED shift.  I am however unable to transfer code to the FPGA.  I get the following error message:
    Error Code: -310602 
    NI-COBS:  Unable to communicate with device over communication cable. 
    Please verify that the cable is connected to a supported device and that the appropriate drivers are installed.
    My system configuration is as follows:
    Windows 7 (64 bit) on Dell XPS laptop.
    Labview 2012 SP1 (32 bit)
    Labview FPGA 2012 SP1
    Labview 2012 FPGA support for Spartan3E
    Xilinx 13.4 tools
    DEFB LV FPGA 2012sp1 support installer
    Xilinx USB cable driver v1.3 installed.
    I took all the precautions mentioned by others on this forum and others, mainly that the cable must be disconnected before installing the Xilinx cable driver. All software and drivers were installed correctly.  I even uninstalled and reinstalled the entire Labview software set I had.  I still get the same error.
    A few other questions:
    1.  Is the Xilinx cable different from a regular USB cable of the same configuration ?
    2.  When I program the FPGA I only have the USB cable connected between my computer and the Spartan 3e board.  Should any other cable be connected ?
    3.  What should be the correct jumper settings for J1 - JP30 (especially J30, J11, JP9, JP6, JP7, etc) ?
    I have been at this or over 3 days trying to figure it out.  Any help will be greatly appreciated.
     

  • Can I get MJD (date and time) in LabVIEW 2012 SP1?

    I need to time stamp my data before sending it to the file.  I have been doing this with the standard calendar date and time but MJD is what we prefer to use.  How can I get an MJD timestamp in LabVIEW 2012 SP1?
    Solved!
    Go to Solution.

    Hello Brad_Henry,
    The Format Date/Time String will return the day of the year when the %j argument is used, as per this help document:
    LabVIEW Help: Format Codes for the Time Format String
    http://zone.ni.com/reference/en-XX/help/371361J-01/glang/codes_for_time_format_str/
    If you're looking for the actual MJD, I'm not aware of a built-in function that generates this so you'll probably need to create or find a function to calculate it manually.  This should pretty basic arithmetic, and it looks like people have already made a few public examples, the first two search results here look to be just about what you need:
    ni.com search:
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav:ex/q/julian/
    Regards,
    Tom L.

  • An unknown error occurs when trying to use daq express VI's

    When I try to open the daq express VI in labVIEW 8.2 (it doesn't matter which one), the program tries to "initialize" like its supposed to, but then it says that NI Assistant host encountered an error and needs to close, then gives a message saying "an unknown error has occurred."  Also, Measurement and Automation doesn't work anymore, although it did before.  I searched the forums and couldn't find anything like it.  Does anyone know what's going on?

    Hi Kodeeswaran,
    What version of LabVIEW are you using? Are you seeing the same issues with Measurement and Automations Explorer?
    When you reinstalled everything what order did you install all the software?
    The issue might be caused by file permissions. Do you have Administrative rights on the computer? If not can you try replicating the issue while logged on as administrator. If you don't see the error while administrator you will need to change the file permissions for some necessary files:
    Log onto the computer as an administrator
    Browse to the C:\Program Files\National Instruments\MAX directory
    Right-click the MAX folder and select Properties
    Click the Security tab, and click the Add button
    Type in the user name and click OK
    Give the user Read & Execute, List Folder Contents, and Read permission
    Click Apply and then OK
    If you have several different users and want all users to use the DAQ Assistant, repeat the above steps but type everyone for the user name. The above steps are written for Windows XP with a NTFS file system. For previous Windows versions, the procedure will be very similar but may not be exactly the same.
    Sappster

  • Bind FPGA host reference to type definition in labVIEW 2012 crashes labVIEW

    Hi,
    I am using FPGA target device 5641R and labview FPGA 2012 with 5640R ver 1.7.
    On the configure window of open FPGA VI reference function, choosing the dynmaic mode shows broken arrow when wired to the 5640R configuration VIs (i.e. Configure timebase, Configure ADC default, Configure ADC NCO functions). So i tried the other option which is binding the FPGA host reference to type definition and choose the control from path C:\Program Files\National Instruments\LabVIEW 2012\instr.lib\ni5640R\Configuration\NI-5640R VIs\ni5640R FPGA VI Reference.ctl. But after that when i try to save the VI on which open FPGA VI reference function is placed, labVIEW crashes. I am unable to figure out the reason. Earlier I was working with labVIEW 2011 and it was working fine there. Any suggestions would be highly appretiated. 
    Please see the attached images for more details.
    Thanks
    Attachments:
    1.png ‏33 KB
    2.png ‏71 KB
    3.png ‏40 KB

    Check out this thread.  It looks like someone else ran into a similar issue and made changes that fixed their application.
    http://forums.ni.com/t5/IF-RIO/correct-5640r-template-use-recommendation/td-p/1331918
    Jeff B.
    Applications Engineer
    National Instruments

  • Only have LabVIEW 2012. Why am I asked to download LabVIEW 2011 SP1 f2 RTE Patch?

    Hello,
    I recently got a new machine (clean install of Windows 8), and installed LabVIEW 2012, with no other previous versions. However, when I ran the NI Update Service, it listed "LabVIEW 2011 SP1 f2 R(32-bit) Run-Time Engine Patch" as a critical update.
    I'm confused; did I accidentally install LV 2011 too?
    Thanks
    Solved!
    Go to Solution.

    Also, some addons use older RunTime Engines.  It is not suprising that you need the 2011 RTE patch.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • What files do I send to be upgraded from LabVIEW 5.1.1 to LabVIEW 2012?

    OK.  Just to be clear.  I am a complete newb to ANYTHING LabVIEW or LabWindows related.  I am a programmer, but I have never used any version ever.  That said, I am responsible for the upgrade process of getting our old LabVIEW 5.1.1 system up to date.  The old system (still running and doing it's job everyday), is an old Windows NT v4.0 SP6 system running LabVIEW 5.1.1.  You can just imagine how ancient this is by today's standard.
    Have I set the stage properly?  I hope so.  Newb, Ancient LabVIEW version 5.1.1, Windows NT 4.0, upgrading from 5.1.1 to 2012.
    Now here is what I "think" I know about what is required.  Because LabVIEW 2012 will not directly read in, process and /or compile LabVIEW 5.1.1 files, I must first open and save the files using an intermediate version of LabVIEW (specifically 8.2.1) to bring the files up to a version that 2012 can handle.  I have noticed in reading the Version Conversion forum, that I can attach a zip file of my LabVIEW files and one of the resident Gurus will convert it for me and give them back - quite nice I think.
    Now, I have what I think are all of the required LabVIEW vi and llb files that make up this system we have in place, but I want to be sure before I just post a bunch of stuff.  
    What exactly do I need to zip up and what can I leave out? 
    Are there LabVIEW vi and llb files in a "project" that are not needed? 
    Are there any setup/configuration/project specific files I need to include? 
    Are there any limitatations to this conversion process that I need to be concerned with - such as various toolkits/suites/modules that may have been used but are no longer supported?
    Secondly, I am not really comfortable with posting my vi and llb files for the world to see (and possibly use) as I am not the owner of said modules, just the user/future developer who will be responsible for insuring they stay up to date.  Is there any way I can send my files to a specific NI guru via email instead of just posting them?
    Solved!
    Go to Solution.

    So if I understand you correctly,  all I really need to do is to get LabVIEW 8.2.1, and update my .vi, .lib, and any .ctl files to that version.
    Is it a simple matter of just opening the files and hitting something like SAVE AS, or just SAVE and it will do this?  Once done, LabVIEW 2012 will then allow me to open them and do what I need to do?  Do I have to save them into LabVIEW 2012 first, or is that automatic when I try to recompile them?
    When I get a copy of LabVIEW 8.2.1 (eval version), do I have to get all of the pieces (modules, toolkits, etc.) in order to update the 5.1.1 files?  Based on what is installed on that NT v4.0 system, we have the following items installed:
    NI VISA
    NI ComponentWorks 3D Graph
    NI DataSocket
    NI LabVIEW 5.1.1 Advanced Analysis Library
    NI LabVIEW RTE 5.1.1
    NI LabVIEW v5.1.1
    NI Measurement and Auto Explorer 1.1
    NI-488 2.1.60
    NI-DAQ 6.6
    NI-PAL 1.3.110
    NI-Reports
    NI-VXI/VISA
    You mention DAQ.  Our program uses NI DAQ v6.6 now.  I have LabVIEW Developer 2012, so I just download the DAQ files for it and it will replace the NI DAQ v6.6 library files we use now? 
    Thanks for your help so far.  If we had a support contract in place, this wouldn't be an issue.  However, as I stated, I am not the owner of the files, just the currently assigned caretaker, and part of my task is to get from where we are now on this ancient hardware/software platform, to the latest and greatest.  However, I am specifically not allowed to just place the files on a public forum for all to see.  It just isn't done.  We can send them to a known location and a known entity, but not to just anyone/anywhere as a public forum is by its very nature.   
    I know there is nothing you guys can do if I cannot give you the files, but thanks for helping me to do it myself.    Getting an eval copy of 8.2.1, et. al is probably what I have to do here.

Maybe you are looking for

  • The best audio interface with Mac Mini using new & existing equipment?

    Hi, I got my existing set-up back in 2003. I'm now about to update it. I've talked to Apple Technical Support re which computer is best for me. Some important questions remain in terms of the audio interface or sound bridge I should use. I've detaile

  • Can't add songs to Iphone 4S

    I cannot add songs to my Iphone 4S unless i buy through itunes. I RIP songs from my cds and they go to my library but when i drag to my iphone, it won't allow me to do so. It has that big red circle with the line through it. I connected my ipod and i

  • Create Human Task - Can't add a business object parameter

    Greetings, Working with the appliance virtual SOABPM 11GR1 PS 5.2.0-M. I have modeled a process and now I'm trying to implement an interactive task as a human task. In the BPM Process Navigator, in the properties dialog associated to the interactive

  • Bridge Tables

    Hi, I am having a little trouble using bridge tables. For testing I created an n-n relation. When I just make joins it shows the link table like fact table but queries work okay. When I check the bridge table check box, it identifies the correct fact

  • Reg Error in adstrtal in linux

    Hi when entering the command /dten/w01/oracle/dtencomn/admin/scripts/DTEN_oraapps/adstrtal.sh apps/apps in Secure shell it shows the error You are running adstrtal.sh version 115.16 /dten/w01/oracle/dtencomn/util/jre/1.1.8/bin/../lib/i686/green_threa