Embedded data logger gaps
Hi all,
it seems that the embedded data logger does not record gaps when the log trigger is triggered multiple times when recording on the same file.
Is mine a correct assumption? I tried viewing the excel export and the TDMS viewer output and there is no trace of the "missing" data.
If I try recording 10 minutes and strop the log for 2 minutes I get a solid file which shows 8 minutes of recording with no gaps. Does the TDMS format support gaps such that a custom TDMS exctraction tool can show the gaps (implying a limit on the TDMS viewer that ship with VeriStand 2011)?
The embedded data logger does not log gaps as you noticed. There are two possible approaches that can help you organize your data:
1. Timestamp your file names. Whenever you want to enable logging again, set th Log File Command channel to 1 to open a new file instance. Then set the Log Status channel to 1 to start logging in the new file. This way every file has only contiguous data.
2. Log a Timestamp channel such as System Time in every channel group. Then your data becomes xy data, and you should be able to plot it as such in Excel.
Jarrod S.
National Instruments
Similar Messages
-
How to install "Compact FieldPoint Embedded Data Logger Example Program" on cfp2200
i finally managed to get max to see the devices of my cfp2200.
(i had to disable every unused networkadapter due to overlapping subnets)
now i want to deploy the example programm "Compact FieldPoint Embedded Data Logger Example Program"
http://zone.ni.com/devzone/cda/epd/p/id/3221
i therefor have tried to install the runtime 8.5 on the target. however this is not possble, because i have labview 2010 installed and it gives the message:
"the host has a newer version available"
ok. runtime 2010 should work to - not?
i open a new project - import my *.iak-file and drag-n-drop the content of "cfp_data_logger_source.zip" onto the target.
now if i open the file cFPEmbeddedDataLogger.vi the run-button is cracked and by pressing it an errorlist opens.
the errors say stuff like:
target does not support this function/subvi
and
vi has been modified with a different applicationinstance
please help me to make this work.
i know that it is possible to get the programm to run on the cfp2200 even dough it is primaly designed for the cFP-2000, cFP-2010, cFP-2020, cFP-2100, cFP-2110,
cFP-2120.
big THANX already for you help !!!!!Hi, thanks for your help=) I've manage to drag the file into my targeted controller. I am now doing the setting of the data logger program, but there's one thing I'm unsure of. May I know what does it mean by the cFP controller clock? http://zone.ni.com/devzone/cda/tut/p/id/3219 . Thanks. =)
Log On Startup
Start logging when the controller powers up.
Start Log Time
The time to start logging.
Stop Log Time
The time to stop logging.
Note: Make sure the clock is set correctly on the controller. The settings described above refer to the cFP controller clock.
Log Rate
The number of milliseconds to wait between each acquisition.
FP Drive For Data Files
The drive to store the log files in. The C: drive is the default for all cFP controllers. If you want to save to the removable CompactFlash drive on the cFP controller, select the D: drive.
Digital "Pause" Line
The Digital Input item to use as a "pause" button for data logging. Logging pauses when the signal is high. When the signal goes low again, a new file is created and logging continues if appropriate.
Note: Use only Digital Input items for the Digital "Pause" Line.
Tip: You can use DIP Switch 3 to block the current data from being logged. This switch works the same way as the Digital "Pause" line.
Logging Session Tag
Is stamped on the spreadsheet that the data logger creates. -
VeriStand 2013 Embedded Data Logger with cRIO 9024
I am using VeriStand 2013 with the Embedded Data Logger on a cRIO 9024. I have noticed that when I first deploy after a complete power cycle, the embedded logger works great - responding immediately to a change in the Log Trigger value. However, If I undeploy and then redeploy the project, the embedded data logger appear to casue issues in the communication between the target and the host. The first symptom of this is that the indicators on the workspace appear to begin to lag significantly. The also affect the response of the boolean control that I have for the log trigger which now will not actually turn off when pushed but will rather only respond many seconds or minutes later. When this happens, the log files are also much longer than the intended period.
This problem only gets worse with further undeploy and reploys. However, when I power cycle the cRIO, the net time i open the workspace everything is working great again with no delays.
Any ideas on what could be causing this issue?Hello Aaron_Smith,
Are you writing to a single file each time? If so then the issue could arise from the file size and the file needing to be loaded into memory each time your redeploy. Try to run the system so that it writes to different files. Also, what is the status of the memory and CPU usage of the device while the application is deployed? Please verify that you are not maxing out the processor or memory as this causes network issues that could result in behavior of this type. Also, would it be possible for you to post a simple example that exhibits the same issue? Please include all files that are necessary to run the system definition.
Wear
National Instruments
Product Support Engineer -
Fieldpoint embedded data logger and remote panels license (5)
Multiple use remote panels license (5) does not allow multiple access to cfp 2120 realtime embedded datalogger (all pc's on the same subnet). Error message:"remote panel connection exceeds maximum number of licenses." Licenses installed in ni-rt>system>share>licenses on the remote system?????????????????????????????
Hi, thanks for your help=) I've manage to drag the file into my targeted controller. I am now doing the setting of the data logger program, but there's one thing I'm unsure of. May I know what does it mean by the cFP controller clock? http://zone.ni.com/devzone/cda/tut/p/id/3219 . Thanks. =)
Log On Startup
Start logging when the controller powers up.
Start Log Time
The time to start logging.
Stop Log Time
The time to stop logging.
Note: Make sure the clock is set correctly on the controller. The settings described above refer to the cFP controller clock.
Log Rate
The number of milliseconds to wait between each acquisition.
FP Drive For Data Files
The drive to store the log files in. The C: drive is the default for all cFP controllers. If you want to save to the removable CompactFlash drive on the cFP controller, select the D: drive.
Digital "Pause" Line
The Digital Input item to use as a "pause" button for data logging. Logging pauses when the signal is high. When the signal goes low again, a new file is created and logging continues if appropriate.
Note: Use only Digital Input items for the Digital "Pause" Line.
Tip: You can use DIP Switch 3 to block the current data from being logged. This switch works the same way as the Digital "Pause" line.
Logging Session Tag
Is stamped on the spreadsheet that the data logger creates. -
How to Plot number and string in one row (data logger counter) ?
hi all i made data log quantity using Digital Counter via modbus to monitoring quantity and reject that has and Name Operator, Machine and Part Number.
i have problem about plot the number & string in one row, as shown on the picture below :
how to move that string on one row ? i attach my vi.
Thanks~
Attachments:
MODBUS LIB Counter.vi 39 KBDuplicate and answered - http://forums.ni.com/t5/LabVIEW/How-to-Plot-number-and-string-in-one-row-data-logger-counter-via/m-p...
-
I purchased a Holux M-1200E Bluetooth GPS Data Logger. The device paired with my laptop just fine so I know it is working right. The device will not even show up on my iphone or ipad to pair via bluetooth. Is there a way to pair without jailbreaking??? I haven't had any trouble to date pairing any devic with my iphone or ipad, this is ridiculous!!!! Is there a way to update my bluetooth settings on my iphone 4s to be able to have this device be recognized??? I love my apple devices, but this is very frustrating. I bought this Data Logger for a specific purpuse to help out with my Search and Rescue volunteer activities, and I really need help with this!!! I am hoping apple will help me!!!
Thanks,
Melissamelissafromlenexa wrote:
That is not the right device, it is the
Holux
M-1200E Bluetooth GPS Logger
I looked at the same sight for that and it does not say that. This is the first time I have posted a question, you don't have to be mean about it. I am trying to get this to work for a good cause.
It may be the best source of assistance is the manufacturer of the device. I suspect you will need a specific app for the iPhone to get it to work, but the site is rather ambiguous about that. -
How do I use the High Speed Data Logger with multiple I/O devices?
I am using the High Speed Data Logger vi to read from a 16 channel A/D card (NI PCI-MIO-16E). The project may require more than 16 channels. How can I use High Speed Data Logger to read from two A/D cards? Will it be able to write the data to one file?
The High Speed Data Logger vi will not acquire and right to multiple DAQ boards at the same time without modification. LabVIEW is more than capable of doing this what you are trying to do, but you will have to modify the code.
Regards,
Anuj D. -
How can I automatically control the channel selection on the data logger
I am an in-experienced use with a simple system which measures and displays temperature from 16 thermocouples. Not all 16 thermocouples are always connected at once and those that aren't are blanked off from view. I would also like to use the Advanced Data Logger VI to log the measurements but would like to have the logger only record or display the thermocouples that are connected. Un-connected channels give a signal of 1264 degrees so I can use a comparator to give a boolean output to switch them off. Can anyone please tell me how to do this.
Also, I need to expand the VI to read all 16 channels instead of the current 8. Any help would be appreciatedMike,
Unfortunately I couldn't get the reference of the example you mention, probably you may want to add it as an attachment so the person who decides to answer this question knows exactly which example you are describing. So for the part of making visible/invisible some of the channels I attached an example that I built for demonstrating this feature, simply open the VI and run it, if you want one of the channels or plots from the graph to be invisible just click in the push button that corresponds to it. Switch to the block diagram and review the use of property nodes, using the property of visible.
If you want to generate a support request please visit www.ni.com/ask to see the options of reaching us.
Good luck!
Nestor Sanchez
Applications Engine
er
National Instruments
Nestor
National Instruments
Attachments:
Visible_Plots.vi 46 KB -
Embedding data from xml file into metadata of a pdf
Hi All
I'm wanting to do the following, but struggling to figure the right way to go about it.
I want to embedded data from my MIS into a pdf's metadata (as scrnshot). I can create a standalone xml file with all the data I require, but I'm unsure how to automate that being embedded into a pdf's advanced metadata. I know this can be done, as it worked at a previous employer, but I didn't get chance to find out how they did it.
I'm wanting to do this so I can carry out a more advanced search of the metadata in Bridge.
Any advice would be appreciated!Hi Northern,
I have modified the modifyingXMP sample for you. After this change, put your xmp file as sample.xml and also put pdf file in the same folder where ModifyXMP executable is. After merging my changes, ModifyXMP file will read the sample.xml and will embed it into pdf file.
Please follow the following steps
1. Download XMPToolkit SDK and follow the steps to compile Sample
2. Open ModifyingXMP file, replace all the content of that file with the below content
3. Compile the ModifyingXMP file.
4. The ModifyXMP.exe will be generated in folder (samples\target\windows\Debug), if you have changed the output folder it will be generated there.
5. In parallel to ModifyingXMP.exe put the sample.xml (the xml file you have) and also the pdf file (say pdf file name is mypdf.pdf)
6. Go to console and change directory to the directory where ModifyingXMP is and pass the following command
ModifyingXMP mypdf.pdf
7. Open the pdf file and check that value/properties
For your reference, I am putting the content of the sample.xml file too, put this content in sample.xmp and any pdf and you will find subject field is getting added.
************** content of the sample.xml file. Create a file name sample.xml and put that content. Put sample.xml in parallel to ModifyingXMP.exe*******
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
<rdf:Description rdf:about='' xmlns:dc='http://purl.org/dc/elements/1.1/'>
<dc:subject>
<rdf:Bag>
<rdf:li>XMP</rdf:li>
<rdf:li>SDK</rdf:li>
<rdf:li>Sample</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:format>image/tiff</dc:format>
</rdf:Description>
</rdf:RDF>
******************* MODIFIED CONTENT OF MODIFYING.CPP FILE. ***************************************************************************************** ************
// ========================================================================================= ========
// Copyright 2008 Adobe Systems Incorporated
// All Rights Reserved.
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying it.
// ========================================================================================= ========
* Tutorial solution for Walkthrough 2 in the XMP Programmers Guide, Modifying XMP
* Demonstrates how to open a file for update, and modifying the contained XMP before writing it back to the file.
#include <cstdio>
#include <vector>
#include <string>
#include <cstring>
// Must be defined to instantiate template classes
#define TXMP_STRING_TYPE std::string
// Must be defined to give access to XMPFiles
#define XMP_INCLUDE_XMPFILES 1
// Ensure XMP templates are instantiated
#include "public/include/XMP.incl_cpp"
// Provide access to the API
#include "public/include/XMP.hpp"
#include <iostream>
#include <fstream>
using namespace std;
* Creates an XMP object from an RDF string. The string is used to
* to simulate creating and XMP object from multiple input buffers.
* The last call to ParseFromBuffer has no kXMP_ParseMoreBuffers options,
* thereby indicating this is the last input buffer.
#include <sstream>
SXMPMeta createXMPFromRDF()
string rdf;
//open the RDF file and put it's content into rdf buffer
ifstream inFile;
inFile.open("sample.xml");//open the input file
if (!inFile.is_open()) {
cout <<"Couldn't open xml file" <<endl;
exit(1);
stringstream strStream;
strStream << inFile.rdbuf();//read the file
rdf = strStream.str();//str holds the content of the file
SXMPMeta meta;
// Loop over the rdf string and create the XMP object
// 10 characters at a time
int i;
for (i = 0; i < (long)rdf.size() - 10; i += 10 )
meta.ParseFromBuffer ( &rdf[i], 10, kXMP_ParseMoreBuffers );
meta.ParseFromBuffer ( &rdf[i], (XMP_StringLen) rdf.size() - i );
return meta;
int main ( int argc, const char * argv[] )
if ( argc != 2 ) // 2 := command and 1 parameter
cout << "usage: ModifyingXMP (filename)" << endl;
return 0;
string filename = string( argv[1] );
if(!SXMPMeta::Initialize())
cout << "Could not initialize toolkit!";
return -1;
XMP_OptionBits options = 0;
#if UNIX_ENV
options |= kXMPFiles_ServerMode;
#endif
// Must initialize SXMPFiles before we use it
if(SXMPFiles::Initialize(options))
try
// Options to open the file with - open for editing and use a smart handler
XMP_OptionBits opts = kXMPFiles_OpenForUpdate | kXMPFiles_OpenUseSmartHandler;
bool ok;
SXMPFiles myFile;
std::string status = "";
// First we try and open the file
ok = myFile.OpenFile(filename, kXMP_UnknownFile, opts);
if( ! ok )
status += "No smart handler available for " + filename + "\n";
status += "Trying packet scanning.\n";
// Now try using packet scanning
opts = kXMPFiles_OpenForUpdate | kXMPFiles_OpenUsePacketScanning;
ok = myFile.OpenFile(filename, kXMP_UnknownFile, opts);
// If the file is open then read get the XMP data
if(ok)
cout << status << endl;
cout << filename << " is opened successfully" << endl;
// Create the XMP object and get the XMP data
SXMPMeta meta;
myFile.GetXMP(&meta);
// Create a new XMP object from an RDF string
SXMPMeta rdfMeta = createXMPFromRDF();
// Append the newly created properties onto the original XMP object
// This will:
// a) Add ANY new TOP LEVEL properties in the source (rdfMeta) to the destination (meta)
// b) Replace any top level properties in the source with the matching properties from the destination
SXMPUtils::ApplyTemplate(&meta, rdfMeta, kXMPTemplate_AddNewProperties | kXMPTemplate_ReplaceExistingProperties | kXMPTemplate_IncludeInternalProperties);
// Check we can put the XMP packet back into the file
if(myFile.CanPutXMP(meta))
// If so then update the file with the modified XMP
myFile.PutXMP(meta);
// Close the SXMPFile. This *must* be called. The XMP is not
// actually written and the disk file is not closed until this call is made.
myFile.CloseFile();
else
cout << "Unable to open " << filename << endl;
catch(XMP_Error & e)
cout << "ERROR: " << e.GetErrMsg() << endl;
// Terminate the toolkit
SXMPFiles::Terminate();
SXMPMeta::Terminate();
else
cout << "Could not initialize SXMPFiles.";
return -1;
return 0;
Please let me know if you find any issue/assistance.
-Sunil -
I am using a GPIB card to send a pulse to data logger to control a firing system
I need to be able to fire my linear accelerator from the computer, by sending a negative pulse and I need to be able to control the pulse duration, and also its voltage, I am using an HP34970A data logger with a HP34907A module.
The trigger 488.2 command might be of help. Trigger sends the Group Execute Trigger (GET) GPIB message to the device described by address. If address is the constant NOADDR, the GET message is sent to all devices that are currently listen-active on the GPIB.
-
Data logger and online processing application
Dear All
My application should include both data logging and online processing threads which are synchronized. I already implemented that by means of something we call "Ring buffer" which is an array containing the data and when the data stream reach its end it start over again from first index. It works almost well but sometimes it seems that my "timed loop" which is my processing thread is a little bit ahead of my data logger thread and it makes some distortion on data stream in processing thread but of course not in data logger.
Since this type of application is very classic, we should have a kind of general prototype (example) for its implementation which provides fully synchronization between processing and logger threads so I was wondering if somebody knows where I should look into?
Best regards
AfshinHello Afshin,
Have a look at Software Circular Buffer in LabVIEW and Software Circular Buffer Reference Library for Multi-Channel Data Acquisition.
The latter comes with an example.
Regards,
Eirikur Runarsson
Platinum Applications Engineer
NI Denmark -
I am looking for a simple data logger for temperature
I am having a hard time finding a basic data logger for recording temperature over a period of several minutes. I am using a SCXI 1001 Chassis, with SCXI 1303 terminal blocks hooked up to a computer running Windows XP and Labview 8.0 and VI Logger Lite.
Hi Joel,
Thanks for posting. You could log your data
using either LabVIEW or VI Logger. If using VI Logger, the following
screenshot from the help file explains how to log data:
If you are using LabVIEW, you can use the Write to Spreadsheet File function (or a number of other functions depending on your preference).
If you are using the DAQmx driver, a third option would be to download SignalExpress.
The LE edition is free, and provides the basic functionality that you
need to log your data to a file. The SignalExpress download comes with
a 30-day trial of the full version--it should be fairly intuitive to
get started, but don't hesitate to post on the SignalExpress forums if you have any questions. Have a great weekend!
-John
Message Edited by John P on 01-09-2009 06:03 PM
John Passiak
Attachments:
VI_Logger.PNG 160 KB -
Data log directly from Norma 4000 power analyser rather than via Keithley 2700 data logger
Hello fellow LabVIEW users
My Norma 4000 power analyser is connected to my Keithley 2700 data logger from which it logs data via GPIB using the attached VI.
Prior to making this VI I was not aware that the Norma 4000 could also log data values directly using labview which I found in the following LabVIEW post.
http://forums.ni.com/ni/attachments/ni/170/536731/1/LV9.zip
The Keithley logs the values into a *.txt file that can be opened in excel for analysis of the data. There are 7 values that are pulled from the power analyser and 1 from a radiometer and 1 from a temperature sensor. I essentially want the 7 values from the data analyser be directly input into the save file i/o rather than going via the Keithley which it is doing now. Some the signal is lost due to noise etc when going from ADC then DAC. Which is why certain values pulled from the Keithley have been multiplied before being put into file i/o.
Since these are popular instruments of choice I was wondering if anyone can direct me to any links to LabVIEW VIs that have already been made that DIRECTLY logs data values from the Norma 4000 into a *.txt file as in the attached VI. Or point me in the right direction perhaps. The LNOPA01 Getting Started.vi only shows current values. I want the data values to be logged into the *.txt files at certain time intervals with the corresponding signals from the radiometer and temperature sensor.
The Keithley drivers can be found in the following link
http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E93BC659CE034080020E748...
Thanks for all the help beforehand.
Attachments:
Data Logger_Final Version.vi 57 KBHi,
I was not able to find an example that will directly log data from the Norma 4000. I looked at the LNOPA01 Getting Started.vi and it seems like, with a few modifications, you could use this to log data. You would have to open a file, write the collected data to the file, and then close the file. You are already doing something similar to this in the VI you attached.
If you only want to measure data at certain times, you could use a case structure in the while loop and only write to file when a certain condition is met. If this isn't an option for you, could you please elaborate on what difficulties you are seeing?
Thanks,
Paul B.
Motion Control R&D -
Data Guard Gap Monitoring script
Hello,
Can anyone please provide me data guard gap monitoring script for databases(primary,standby) on RAC.
Oracle RDBMS 11.2.0.2(4-node RAC) on RHEL 5.6.
Thanks
Edited by: 951368 on Dec 26, 2012 9:21 AM951368 wrote:
Hello,
Can anyone please provide me data guard gap monitoring script for databases(primary,standby) on RAC.
Oracle RDBMS 11.2.0.2(4-node RAC) on RHEL 5.6.
Thanks
Edited by: 951368 on Dec 26, 2012 9:21 AMUse the script of MSeberg, Modify v$instance as gv$instance for RAC -
I'm in the evaluation phase of upgrading from 10.7 to 11i apps, with Advanced Supply Chain Planning. Oracle stresses in most of the documents that Business Intelligence is a key part of the planning cycle. I have seen a demo of purchasing Business intelligence and we are currently using Discoverer on a small datawarehouse, so I would like to build a case for using these tools in the new roll out. My questions are:
1. Do I need the Embedded data warehouse installed to use ASCP?
2. Do I need the Embedded data warehouse to use manufacturing and Purchasing intelligence?
3. Is Embedded Data Warehouse different than the Enterprise Data Warehouse?
thanks in advance.
tNO.
No to all of your questions.
-- to use Discoverer against an APPS data model, you will be required to build an EUL. Which is a lot of work.
-- the "Intelligence" package contains that EUL that you need, so if you buy the intelligence module you will get that. And as a bonus you get the E-DW which is the "ENTERPRISE" or "EMBEDDED" database. same product.
But remember, intelligence modules are costy $$$
good luck!
Maybe you are looking for
-
I want to move syncing my iphone from one computer to another. (windows based) Is there a one stop way to do this? Thanks
-
Webhelp RH8: TOC book not linking to topic
Hi (again), I seem to have another little issue. In generating our helpsystem, we would like to have books that display general information when clicked and also display the subsequent topics. That all works fine, I link a topic to the TOC book and i
-
Oracle 8i install on Win ME - invalid staging area?
I'm having trouble installing 8i Personal Edition on Win ME (Athlon 1.3, 768 ram, plenty of disk space). I get the error "Invalid staging area. There are no top level components for Windows 95 available for install from this staging area." on the "Fi
-
Is Exception Handling in every Java code?
Hi there, just curious, is including exception handling the "norm" for any Java code?
-
ASA SSL Authentication special caracters
Hi, I have a ASA 5540 configured in WebVPN to authenticate users through an ACS server. The ACS server can use my Active Directory Users Database. a user with those credentials: login : testuser pass : céli20 can login through Remote Access VPN (cla