Is there a way to use the built-in Datalogging and programmatically log the front panel while the vi is running?

I would like to use the built-in Data Logging feature. There is the "Log at Completion" option, but is there a way to programmatically make a new log record while running? I looked around in VI server and couldn't find any methods that would do that. Currently, I am grabbing all of the front panel control references using VI Server and if there are any changes, the changed values are written to a log file along with a date/time stamp. I'm mostly dealing with buttons, which simply change from 0 to 1 or 1 to 0, so it's not too hard to visualize what was pressed. It works okay for reconstructing what happened, but it would be much nicer to use the built-in fe
ature because you can "replay" directly onto the front panel and actually see what the changes were. However, without being able to programmatically make a new log, it won't work for me.

Jake,
There are several options here.
I would suggest using your own code for datalogging. The datalogging you are referring to is primarily for debug, and one shot datalogs of front panel indicators (and controls?), not including graphs, etc.
If you go to the file functions, you will see a menu for datalogging. These functions will allow you to save your data, as you need it, simply, and in a compact format.
I recommend opening the datalog file, doing all your file operations, and closing the file before the program is complete. There are several examples of this in the examples database.
Good luck

Similar Messages

  • Is there a way to use dynamic built string in the "from" clause

    Hi all, im having one problem and now, im not sure how to solve it easily at all... :) Is there someone that would be so kind and put a eye on it? ..thx
    I have plsql proc, in which i have a list of table_names. For each of that table i need to run a query that will retrieve me a list of values and for each of that value i need to do something.
    If i can be more specific about the problem -> each of that table is built as key_column, value_columns, day,starttime. For a key per table there are 4 records per hour - every quarter. Im truncating those quarters to full-quarter (minutes => 0->14 = 0min; 15->29 = 15min, 30->44 = 30, 45->59=45)
    example
    i get for one key and specific hour four records at 15:01;15:16;15:31;15:46 => i truncate em to 15:00;15:15;15:30;15:45..Sometimes there is a problem with the tool that is generating those data for me, and one quarter could be moved a little - so i get data like 15:01;15:16;15:29;15:46 => after i truncate the times i get duplicates in second quarter. It also can happen like this : 23:00; 23:14; 23:29; 23:44; 23:59 => totaly bad => cos the last one supposed to be as 0:00 next day, ..and 23:14 as 23:15...So...that was a problem - and solution -> i wanted to create plsql that will find those hours in each table i ve defined, and for each problem hour i make some fixes - update the bad time ...
    ..and i have problem - can i put an dynamic built table_name in the "from" clause?
    example how i wanted to do that:
    declare
         type t_objectName     is table of varchar2(030) index     by pls_integer;
         l_tableName              t_objectName;
    begin
    l_tableName(1) := 'tmphlrgl';
    l_tableName(2) := 'tmprcfgl';
    l_tableName(3) := 'tmprcfbs';
    l_tableName(4) := 'tmpvlrgl';
    for i in (select evtime from (select day,trunc_quarter(evtime) evtime,m_id from l_tableName(i) group by day,trunc_quarter(evtime),m_id having count(*)>1) order by evtime) loop
    --some other conditions and the update...
    end loop;
    end;
    /I cannot use the l_tableName(i) for FROM ...get an error...I was thinking to build it as dynamic sql and execute immediate into some kind of object that can store mutliple lines, from which i would in the FOR cycle get the data...But im not sure if this could be done in plsql...
    thanks for your time and help..
    d.

    declare
    c sys_refcursor;
    begin
    for i in 1..4 loop
    open c for 'day,trunc_quarter(evtime) evtime,m_id
    from ' || l_tableName(i) ||
    'group by day,trunc_quarter(evtime),m_id having
    count(*)>1) order by evtime';Just to high light SELECT is missing that all
    OPEN c FOR ' SELECT day,trunc_quarter(evtime) evtime,m_id
              FROM' || l_tableName(i) ||
    'GROUP BY day,trunc_quarter(evtime),m_id  HAVING  count(*)>1)   ORDER BY evtime';

  • I lost my iphone and my find my iphone is turned off is there any way i can turn it on with and apple ID or something or with the serial number i already called my service provider to shut it off PLEASE GIVE ME GOOD NEWS!!!!

    please this phone has my life on it , it was stolen at school, i never even knew my "find my iphone" was off and i really regret not checking because it would  fmad elife so much easier!!!!!! ;(

    Sorry to say... No good news... Only this...
    Report lost or stolen Apple product
    http://support.apple.com/kb/HT2526

  • I own 3 ipods a g2 g5 and now g6 is there a way to use them all on one PC without losing anything

    I own 3 ipods a g2 g5 and now g6 is there a way to use Sync them all on one PC without losing anything

    iTunes will remember the settings for each device you connect using your account.

  • Is there a way to disable my premium sond (eq and adio enhancement?

    is there a way to disable my premium sond (eq and adio enhancement? Mine is affecting the sound at all so i'm thinking something has been disabled or something as I know I have used it before and it worked

    Hi,
    Try using Recovery Manager to reinstall your original Audio Driver ( ie Conexant, IDT etc ) - the procedure for using recovery manager to reinstall Software and Drivers is detailed in the relevant document on the link below.
    Recovery Manager - Windows 7
    Recovery Manager - Windows Vista
    After the reinstallation has completed, restart the notebook.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Just upgraded to iOS5 on ipad2 and now have all my old emails to delete. Is there a way to select all like in trash and then delete all?

    just upgraded to iOS5 on ipad2 and now have all my old emails to delete. Is there a way to select all like in trash and then delete all?

    Thanks for the feedback, the question is that it will syn all the folders that I have checked, and its total up to 6000 photos which was taking me one whole day to syn. I am seeking is there away that what have already in my Iphone will not be delected if I did not checked on the next syn, and only add in the new album that was checked.

  • HT3131 Is there a way to use 2 external monitors with the MacBook Pro in closed clamshell mode?

    My internal display on my MBP is having issues and occasionally displays white lines all over the screen. The current external monitor displays properly. Is there a way to use two extrernal monitors intead of one external + the internal display?
    ==========
    Model Name:          MacBook Pro (17-inch, Early 2009)
      Model Identifier:          MacBookPro5,2
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          2.93 GHz
      Number of Processors:          1
      Total Number of Cores:          2
      L2 Cache:          6 MB
      Memory:          8 GB
      Bus Speed:          1.07 GHz
    NVIDIA GeForce 9400M:
      Chipset Model:          NVIDIA GeForce 9400M
      Type:          GPU
      Bus:          PCI
      VRAM (Total):          256 MB
      Vendor:          NVIDIA (0x10de)
      Device ID:          0x0863
      Revision ID:          0x00b1
      ROM Revision:          3436
      gMux Version:          1.7.10
    NVIDIA GeForce 9600M GT:
      Chipset Model:          NVIDIA GeForce 9600M GT
      Type:          GPU
      Bus:          PCIe
      PCIe Lane Width:          x16
      VRAM (Total):          512 MB
      Vendor:          NVIDIA (0x10de)
      Device ID:          0x0647
      Revision ID:          0x00a1
      ROM Revision:          3436
      gMux Version:          1.7.10
      Displays:
    Color LCD:
      Display Type:          LCD
      Resolution:          1920 x 1200
      Pixel Depth:          32-Bit Color (ARGB8888)
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Built-In:          Yes
    Cinema HD:
      Display Type:          LCD
      Resolution:          1920 x 1200
      Pixel Depth:          32-Bit Color (ARGB8888)
      Display Serial Number:          *************
      Mirror:          Off
      Online:          Yes
      Rotation:          Supported

    Hi Mike, this isn't the first such problem report I've seen, perhaps another option...
    http://eshop.macsales.com/item/Newer%20Technology/VIDU2DVIA/

  • My MacBook Air does not have an optical drive.  I have a program (Megastar V) which is installed using a CD.  Is there a way to use the optical drive on my PC laptop to install this program on my MacBook Air?

    MacBook Air does not have an optical drive.  There is a program I wish to install on my Air which is an astronomy application called Megastar V.  Installation requires the use of a CD.  Is there a way to use the optical drive on my PC (toshiba laptop using Windows 7) to install this program onto my Air?
    With gratitude,
    Otto

    Thank you for explaining to me how to do this.  I will try it tomorrow and let all of you know how it goes.
    Otto

  • Is there a way to use the iMac's display mode with a Mac mini with out logging in first on the Mac mini

    Is there a way to use the iMac's display mode with a Mac mini with out logging in first on the Mac mini (late2014)
    im currently useing my Mac mini as a portable computer, I take it to the university and use the iMacs there as a monitor but before I can do that I have to log in to my Mac mini first which means doing it blind
    is there a way to put the IMacs into display mode with out logging into my Mac mini first
    or is there a portable monitor that I can use that will not require me to login first

    This
    Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support
    says:
    How do I enable TDM?
    Make sure both computers are turned on and awake. 
    Connect a male-to-male Mini DisplayPort or ThunderBolt cable to each computer.
    Press Command-F2 on the keyboard of the iMac being used as a display to enable TDM.
    Note: In Keyboard System Preferences, if the checkbox is enabled for "Use all F1, F2, etc. keys as standard functions keys," the key combination changes to Command-Fn-F2.
    How do I exit TDM?
    To leave TDM, press Command-F2 on the keyboard of the iMac that is in TDM. You can also exit TDM if you shutdown or sleep either computer or detach the cable.
    Can I use a third-party keyboard or older Apple keyboard to enable TDM?
    Some older Apple keyboards and keyboards not made by Apple may not allow Command-F2 to toggle display modes. You should use an aluminum wired or wireless Apple keyboard to toggle TDM on and

  • HT204380 Is there a way of using the same FaceTime account on multiple devices?

    Is there a way of using the same FaceTime account on multiple devices?

    Yes you can use the same Apple ID on multiple devices and FaceTime with each one. You have to associate a different email address on all but one of the devices.
    Lets say you have two iPads and two iPods..... All sharing the same Apple ID. When you set up FaceTime on three of the devices, you have to associate another mail address in Settings>FaceTime>You can be reached for Video calls at>Add Another email address. Add a different email address in that setting and let Apple verify the address.
    After that email address has been verified by Apple (they send you an email to that address so look for it in the inboxes of that email account and follow the instructions in the email), then remove the Apple ID email address on each of those three devices. You can use the primary Apple ID email on the fourth device.
    Obviously, you have to have additional email addresses but you can set up free email accounts with AOL, Yahoo, gmail .... and you can use the email address just for FaceTime if you like.

  • I'm using a Mac.  I "upgraded" to LR5 from LR4.  I do not want to be a member of the "Creative Cloud".  I just want to use the software I purchased, specifically to upload to my SmugMug account.  Is there a way to use an add-on to do this?  Aperture and L

    I'm using a Mac.  I "upgraded" to LR5 from LR4.  I do not want to be a member of the "Creative Cloud".  I just want to use the software I purchased, specifically to upload to my SmugMug account.  Is there a way to use an add-on to do this?  Aperture and LR4 were easy but I'm finding it impossible without subscribing to CC.

    Sorry, maybe I don't understand, but why do you feel compelled to subscribe to CC if you already have a permanent Lightroom 5 licence?
    For the SmugMug plugin, a simple Google search ("smugmug lightroom plugin") gives this link to download the plugin:  http://help.smugmug.com/customer/portal/articles/121321
    Another way is to click the button "Find more services online..." in the the Publish Service section of Lightroom, and to search for SmugMug in the Adobe Add-ons portal; you will find a link to the latest plugin: https://creative.adobe.com/addons/products/1755

  • TS4036 I purchased an iphone for my daughter and we are using the same account and she deleted some contacts from her phone and they were deleted off of my contacts as well. Is there a way to use icloud backup to reinstall the contacts to my phone?

    I purchased an iphone for my daughter and we are using the same account and she deleted some contacts from her phone and they were deleted off of my contacts as well. Is there a way to use icloud backup to reinstall the contacts to my phone?

    Welcome to the Apple community.
    You can only restore them from a Computer backup. This has occurred because you are sharing an iCloud account. ideally you should each have your own iCloud account, that way you can each manage your own mail, contacts, calendars, documents etc and avoid unintentional deletions and unwanted editing. If there is information you wish to share between you, this can be done with a secondary account.
    Having separate iCloud accounts, doesn't mean you have to have separate iTunes accounts, so whilst you keep your personal data separate, you can continue to share music, apps, books, TV shows, movies etc.

  • Is there a way of using a mail merge function while on the iphone or ipad, i wish to email a "Word style, ot TXT" document to 250 of my contacts

    Is there a way of using a mail merge function while on the iphone or ipad, i wish to email a "Word style, ot TXT" document to 250 of my contacts, I have tried downloading my contacts to my PC's outlook but only 1 contact comes across at a time despite the fact that Icloud says downloading namedperson + 249 other contacts to a CSV file

    Hi everyone!
    Looking also for an app that allows me to merge email and send them out to each recipient individually. Apparently that's not possible yet. Here's what the guys at RedbitsApps told me about Group Email capabilities: 
    "The current version of the app relies on the device operating system to send the emails. For this reason, sending individual email instead of a single email to multiple recipients is not possible. Apple doesn't allow apps to send single emails to many recipients easily. We may use a custom sending software in a future version."
    Let's keep looking guys... 

  • Is there a way to use proper mainland chinese characters on an ipad instead of the apple variants?

    I have been learning Chinese at University, and I bought an iPad to help my studies and I have found that Apple for the international keyboard has variants for many different chinese characters. Why is this and is there a way to use the chinese characters that 1.6 billn people use rather than the Apple variants? Will Apple be addressing this at all?

    No, The simple and traditional are fine, but when typing in simplified there choices for say, 将 or 骨 are different from both Simplified and Traditional entirely. If I had copied Apple's characters in tests I would have lost grades. I've never seen it happen on another operating system and unfortunatley Microsoft beats Apple in this field; hence why I call them Apple variants. I'm not the only one who has see this problem. The only way to get what I would call authentic chinese characters is with the method that is stated above. I found this solution in the thread titled "Chinese characters misrepresented". There are screen shots there too. I would love to find out how/why Apple chose this system for chinese.

  • Is There a way of using an alt key on the iphone (to so alt characters)

    Is There a way of using an alt key on the iphone (to so alt characters)??
    Cheers all.

    There is no alt key, so no, but there are a lot of preloaded symbols already on the phone, all you have to do is hold a key and extra options will come up. For example, if you want an accent over a, hold a, and it will give you options for it. This also works with the symbols, for example, the $ symbol can be held to provide the money symbol for euros, yens, pounds, etc.

Maybe you are looking for

  • Crystal 2008 hangs with Database Expert

    Hello; We just bought Crystal 2008 for two months. Crystal report was working fine with 2008 version12.0.0.683 against MSSQL server 2005, but started to hang when selecting Database Expert from Memu. It started to hang when I was working on a reprot

  • Regarding Text Type

    Dear All, There are some details which my client has asked to maintain in the sales order and this needs to be copied in the purchase order ouput, if I maintain a text type in my sales order and this same text type is maintained in the purchase order

  • How to map a collection of object in TopLink?

    For (simple) example, I've a XSD that defines: <xsd:complexType name="AttachmentType"> <xsd:sequence> <xsd:element name="docID" nillable="false" type="xsd:string"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="MyDocType"> <xsd:sequence>

  • How to connect to embedded POSTGRESQL on Mac OSX Lion Server

    Hi all, I've upgraded my Mac OSX 10.6 server to 10.7 server 2 days ago. My web sites databases are still under MySQL server cause it's still running after the upgrade. I manage to migrate the databases to PostgreSQL, so i've enabled the wiki from the

  • ILife 08 included with Mac OS X 10.5 LEOPARD??

    I plan to purchase Leopard, but am wondering if iLife 08 (iPhoto etc) is INCLUDED with 10.5 Leopard or not? (I know that iWork 08 -- keynote and pages is NOT included, but kinda thought iLife 08 was bundled with Leopard). Can anyone tell me? I've tri