How do you convert a Modbus Datatype TIME in Lookout

How do you convert a Modbus Variable with a Datatype of TIME in a Lookout Expression to display MMS.

The URL provided above must be an internal N.I. link - for us folks on the outside it's
http://digital.ni.com/public.nsf/allkb/1A3BB7B3299C11C78625680C004DA744
I use a time_to_word function in the modicon when I need to display a data type of time in Lookout. What you get when looking at the register with the modbus object in Lookout is the time in msecs - just divide by 1000 to get the seconds. But you must 'build' the display for minutes, hours, etc. The numeric displays in Lookout are not
based on seconds, they are based on days as the above knowledge base article indicates. The following will work on a word read from the modicon, and may or may not work with a data type of time. The expression
(Modbus1.400001/86400000)
first takes the number in msecs and divides by the number of msecs in a day. This puts the number into a fraction of a day that Lookout can then display using the numeric formats such as "HH:MMS". I know it’s a little clumsy to divide that number for every time value – but hopefully you don’t have a lot of these expressions. Hope this helps.

Similar Messages

  • How do you convert several videos at a time?

    how do you convert several videos at a time in itunes or whereever you can convert several at a time? because videora doesnt really work for me.

    exactly what the subject says:
    how do you convert several videos at a time in itunes
    because i have a very slow computer so it takes over
    and hour then right before its done it freezes. im
    getting really mad because i downloaded videos and
    now i cant figure out how to put them on my ipod.
    Select all the videos you want to convert, right-click and select "Convert Selection for iPod".
    You were using external software last time you were here.

  • HT3825 so how do you convert the raw files to jpeg in iphoto?

    how do you convert the raw files to jpeg in iphoto?

    Many thanks Barbara and dj_paige.
    What I didn't mention is that I'm using PSE 5 with ACR 4.6, if its relevant.  I'm thinking of updating to the next version when its out in the hope that it will run with Windows 7 64 bit or I may go to Lightroom.
    I can now see that I can batch convert a whole folder of files using "process multiple files" as dj_paige suggested but that is too many at once as the settings I choose won't be relevant for all the pics in the folder. 
    I was hoping to batch convert say 5 or 6 similar photos at a time with the same settings. I'm not quite clear what you're suggesting but I'm hoping that its a "work round" using two stages to achieve this. 
    I can't see a list of open files within ACR to ensure that they are all selected as you suggest. 
    What does clicking Open rather than Done mean?  Does this amend the original RAW file to the settings selected so that if I then "process multiple files" on the whole folder to convert from RAW to JPEG they will in fact have already been processed in smaller groups so I can convert without applying any further changes?
    If so, what settings should I apply to "process multiple files" to ensure a simple conversion of file type rather than any further adjustments?
    Any further help on this would be much appreciated.
    Andrew

  • How do you convert 60fps to 24fps in FCP X

    How do you convert 60fps to 24fps in FCP X for or do I need to figure out the percentages and use that optical flow tool, because I have tried to figure it out but there is a blurry trail when I use the optical flow tool.

    Thanks Tom, so can you do that after it's already been imported? I am out shooting this afternoon, but I will look for it when I get back to the studio. I appreciate the help, I haven't had a lot of time to spend relearning FCP, so any help I can get to make my life easier is super appreciated.
    Cheers,
    Matt

  • How do you convert a PDF document to a word document ?

    How do you convert a PDF document to a word document ?

    I just noticed that you added a few more details and it seems like the problem is that part of the conversion is not working. Would it be possible to share the file with me so that I can forward it to the team that owns that service? My email address is [email protected]
    Thanks!
    Pat

  • How do you convert a PDF to Word or Excel in Acrobat 9 Pro?

    How do you convert a PDF to Word or Excel in Acrobat 9 Pro?

    Refer to Acrobat 9 Help PDF (installed with Acrobat 9 is installed).
    Review the  discussion for Exporting PDFs in Chapter 5 of this Help PDF.
    The PDF is also available on Adobe's site.
    http://help.adobe.com/archive/en_US/acrobat/9/professional/acrobat_pro_9.0_help.pdf 
    Good to know is that the Acrobat 9.x product family passed into End of Support mid-year 2013.
    Be well...

  • How do you convert a jpeg file into word document so i can edit it?

    How do you convert a jpeg file into word document so i can edit it?

    http://office.microsoft.com/en-us/mac-word-help/training-edit-pictures-in-office -for-mac-2011-RZ103709558.aspx

  • How do you convert channels.dvb to channels.conf

    Title says is all. How do you convert the kaffeine file channels.dvb to a channels.conf file which can be used by mplayer.
    The winterhill transmitter in the UK is now totally digital, since the change over I've not been able to get BBC channels properly in mplayer. The receiver is a Freecom DVB-T USB. I've manually edited the uk-WinterHill file with the transmitter info to update it and used it to create a channels.conf file.
    scan /usr/share/dvb/dvb-t/uk-WinterHill > /home/~/channels.conf
    This picked up pretty much all the channels & I can tune into BBC channels but receive no picture. I've googled a bit and it seems other people have this problem too and they think it's a problem due to the increased power of the signal after the change over to digital. I've tried a variable attenuator which did no good.
    I've now found that kaffeine can scan for and find the BBC channels AND it can also play them back properly. So the theory about the signal strength being too much for the freecom sticks attenuator is probably a load of guff, at least in my case.
    The data for BBC One from the kaffeine channels.dvb is:-
    TV|BBC ONE|101(2)|102(eng),106(eng),|0|4168|4168|Terrestrial|802000|0|v|-1|-1|-1|-1|8|-1|-1|-1|45|105(16)(1)(1)(eng),||9018|-1|0|
    The same data from the mplayer/scan channels.conf is:-
    BBC ONE:802000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:101:102:4168
    I really don't want to keep kaffeine installed and any links or info that would help convert these channel data files would be greatly appreciated. Seems there are ways to convert them the other way round, but so far I've found nothing to do it fron channels.dvb to channels.conf
    Last edited by Nixie (2009-12-17 08:42:56)

    Do you want to capture a single frame of the video as a separate image? You can play the video full screen in QuickTime, pause it at the appropriate frame and take a screenshot using shift-command-3.
    Matt

  • How do you convert an Autocad drawing into a pdf with Acrobat X Standard?

    How do you convert an Autocad drawing into a pdf with Acrobat X Standard?

    Something to try -
    Having installed Acrobat Standard you have the Adobe PDF virtual printer installed.
    From your authoring application do a "file-print" and select the Adobe PDF printer rather than the attached local or network printer / plotter.
    Be well...

  • How do you set the amount of time the screen stays lite after your last use?

    How do you set the amount of time the screen stays lite after your last use?

    Settings>General>Auto-Lock.

  • How do you convert a jar file into a java file,  ?

    how do you convert a jar file into a java file ?
    I am new to Java ,but have a little experience in C++ and Visual Basic.
    I want to edit and maybe create my own mobile games that are written or converted into jar files.
    At the moment I am using Java NetBeans , and Easy Java( the java pad).
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?

    801283 wrote:
    how do you convert a jar file into a java file ?You generally don't. There exist decompilers, but if you're meant to have the source, you should either have it because you are the author, or you should be able to get it from the author.
    I am new to Java ,but have a little experience in C++ and Visual Basic.Does that experience include turning .exe files into C++ code? Because that's the equivalent of what you're asking
    I want to edit and maybe create my own mobile games that are written or converted into jar files.Eh?
    Are you saying you want to take existing games and modify them? If the creators allow you to modify their source, then they'll provide you with that source (the .java files). If you're allowed to add things but not modify, you don't need .java files. Just documentation, which, again, the creators should be providing.
    Or are you saying you want to create your own games and distribute them in jar files? If so, there's no need to turn jars into .java.
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?Why would you expect there to be one?

  • HOW DO YOU CONVERT IPHOTO 8.1 TO APERTURE FILE FORMATT

    how do you convert iphoto 8.1.2 photos to aperture file formatt?

    I believe this is still possible if the iPhoto library has not been up graded.
    No joy, Frank. This is what I get, when I try to import an older iPhoto Library into Aperture 3.4.3 using "File > Import > Library":
    Aperture 3.4.x insists on the library being converted to 9.4.x. To be able to import earlier iPhoto Libraries you would have to fall back on Aperture 3.2.x; temporarily install a second, older Aperture version, create a new Aperture library with this version, import the iPhoto Libraries, then open this Aperture library in Aperture 3.4.3 to convert it to a current version.
    bertpa, how many iphoto photos are we talking abourt? If you are having several iPhoto libraries with thousands of edited photos, it really would be worth it to upgrade to iPhoto 9.4 to convert your libraries. iPhoto 9.4 will convert your library to a format with Master-version pairs like aperture uses. If you import this to Aperture, you will be able to import each edited image as a single image with two versions (original and edited)- importing from previous iPhoto versions you would be importing each edited image as two separate images - an edited image and the original. This would be wasteful, if you have many photos in Aperture, and it would cause a lot of additional work to get these duplicates sorted out. But if you only have a handful of iPhoto images, launch iPhoto and use the "File > Export" command to export your photos from iPhoto to a folder. You will have to do it twice - once to export the originals and once to export the edited versions. Then import your exported iPhoto photos into Aperture.
    Regards
    Léonie

  • How do you convert a quotation into a purchase requisition?

    How do you convert a quotation into a purcahse requisition?

    Hi Ganesh
    But from ME51N in shows selection varaint it show RFQ for creation of Requisition but when you drop the RFQ to header for creation , it is not working..
    Chek again.
    Kishor
    Hi Christopher
    See Purchase requisition creation can happen without vendor and price details as well.
    so once you have finalised your vendor and price ,you can put the vendor and price details  in PR and then PR can go further for approval...there will be some manual work ,,but I do not think any more option available.
    hope its logical,.
    Kishor

  • How can you view an event's time in the month mode of the calendar without clicking on it?

    How can you view an event's time in the month mode of the calendar without clicking on it?

    bbmca,
    Have you tried enlarging the month view window?

  • How do you convert audio to ac3 in DVD SP 4 without a.pack

    how do you convert audio to ac3 in DVD SP 4 without a.pack
    thanks
    Josh

    NO. If you let DVDSP make your encoding you'll get uncompressed audio (AIFF/PCM) what means most probably high bitrate issues during building/playback and a lot of the space of your disc.
      Alberto

Maybe you are looking for

  • RE: Getting multiple values from more than one multiple select popup window

    I have a button on a JSP of mine that when clicked creates a popup window (right now it is called popup.html) with a multiple select menu. My question is how do I get all the values selected from the menu into my JSP (sample.jsp) so that I can set ea

  • Best Practice for SUP and WSUS Installation on Same Server

    Hi Folks, I have a question, I am in process of deploying SCCM 2012 R2... I was in process of deploying Software Update Point on SCCM with one of the existing WSUS server installed on a separate server from SCCM. A debate has started with of the coll

  • Reading table of SQL server

    Hi, i want to read a table from SQL server, outside of sap. How can i do that, without database connection? I want to do it through webservice but i do not know how to do. Answers will be appreciated immediately. Thanks.

  • DVD-Rom extra content not being included in build

    I'm really confused - I've set a location for a folder in which 4 .pdf files are included. But when I build the project the folder isn't being included in the root. Here's what I have: DVDROMContent/PDF/4 files I'm selecting the folder named "DVDROMC

  • Can't get into my AP to configure

    I've been having problems with my AP which is a WRT54g2 v1. I can always connect to the AP but internet connectivity is intermittent. When I try to get into the AP via 192.168.1.1 it times out. I double checked to make sure I hadn't changed the IP ad