Monitoring file changes in real-time

Hi,
Is it possible to monitor which files are being modified in Solaris within an application?
For example Windows provides hooking mechanism and once you call the required system calls, you become able to capture file system events in real-time. In fact, real-time virus protection applications totally rely on this feature. Another way is to code virtual device drivers, as far as i know. Does Solaris 9/10 provide an API, signaling or a callback mechanism to implement a such kind of application? Or is it possible to write virtual device drivers in Solaris to achieve this functionality?
Your help will be appreciated.
Best regards.

Hi,
I'm not spamming the question to the all subjects titles of the forum and don't expect the information in pieces.
I know that multiple postings is not nice. And my aim is not to flood the same question on the all of the subject links i see in order to go out for an information hunt even if the titles are relevant or irrelevant.
I just posted the question to the subject titles i thought relevant as this is the way it should be.
Best regards.

Similar Messages

  • Log for Change of Real-Time Load Behavior

    Hi experts,
    is there a log for the change of the real-time load behavior?
    I checked SLG1, but I did not find any object / subobject that seemed to be helpful.
    Angie

    Firstly,
    How are you changing the real-time load behavior, are you using any process chain variant,in that case you can look at the process chain log..

  • 3D geometries and shapes change in real time

    Hello everyone,
    I'd like to realize a D object in Scene Display, now I can control a geometry in real time, I mean change the length of a box for example.
    But further I want to be able to change it to a other shape,in real time too,and also its geometries can be changed in real time,for example from cylinder to a Box or a cone.
    Can anybody help me, very appreciate for you suggestions!!
    Attachments:
    cyclinder.vi ‏16 KB

    Creating one of each and inserting the active image and removing the previous will not suffice?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I display a .csv file as a real time waveform using labview

    Hi folks.
    As stated, Im looking to display a .CSV file (obtained via RS-232, example; 100,101,102,102,102,103...) as a waveform in real-time. What is the best way to approach this? Im thinking LabVIEW. I have version 7.1 but am not really experienced in using it. I'll give anything a go though. Also, I have Visual Studio 2005, so I was thinking VB???
    Thanks in advance!
    Simon.
    Message Edited by simonious on 10-26-2007 04:13 AM

    Have a look at this VI.
    Add a convert string to number function behind it.
    André
    Message Edited by andre.buurman@carya on 10-26-2007 01:08 PM
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)
    Attachments:
    convert csvars 2 array of vars.vi ‏16 KB

  • Open a txt file in a real time PXI target

    I want to open and read a txt file when targeting to a PXI, running a real time OS. The file is saved in a specific directory of the real time machine. When I run the typical Labview (version 7.1) examples there is alwasys an error message.

    Hi Matt,
    I hope you're doing well.  To be able to open files on the host from the RT target or vice-versa, you most likely will need to FTP the files back and forth between the two.  You need to have the files local on either machine to be able to edit or view them, and FTP is the simplest way to do so.  You can connect to your RT target via any standard FTP utility as discussed in this KnowledgeBase article.  I hope this is helpful.  Let us know if you have any additional questions though.
    Thaison V
    Applications Engineer
    National Instruments

  • Changes to Real-time cube through input-field entry

    Hello,
    I have created query on Real-time cube (which has some data ) and enabled input-entry field for one of the key figures.
    2).Created a "Push-button" to save the changes made in query.
    Issue : changes are not saved at cube level , when i press "Push" button.
    For Push button Properties, I used "Planning -specific Command" --> "Save"
    Pls. let me know possible reasons and solution to the problem.
    Thanks
    CP

    Hi,
    Check at first that you dont have a lock data issue (TCODE SM12).
    If you are using WAD or Query Analyzer, please double check the following:
    1) Your input-ready query must be created based on the aggregation level but not direct to the real-time infocube.
    2) In the Query Analyzer look into the query properties and check that Change Mode is marked on and the key figure properties on the PLANNING tabstrip check that you have at least one method for ready-input.
    3) In WAD Data Provider is linked to your input-ready query.
    4) Check your Analyzer web item looking for data binding to Data Provider just mentioned.
    5) Add a couple of push-buttons with SAVE_DATA command and RESET_DATA also.
    Please check step by step and try again.
    Hope this helps.

  • File lock in real time job

    Hi All,
    I encountered an file lock error when creating a real time job.
    After a dataflow, I have a script to move the processed file to archive folder. (e.g. move c:\source\order.xml c:\archive). When I test run it, I received a 50306 error. It saids "The process cannot access the file because it is being used by another process. 0 file(s) moved.". However, the df and script were running OK in batch job. Also, I can move the files manually after the job failed. Can anyone help me with that? Is it something to do with the setting of realtime services?
    Many thanks!
    Knight

    hi,
    Not sure but you can check in sm12 if there is any lock entry, if so than manually delete and than check again.
    Ray

  • How to monitor file changes

    all experts.........
    i'm wondering if it is possible to monitor the file changes and load updated file contents dynamically for a java application. i have some simple txt file. i'm taking my input data from these files for the simulation. during the sim some of these data will be changed and i need to take these new data as a input for the next step. any idea would help me a lot. thanksssssssss in advance.
    arun

    There's a few ideas in [url http://forum.java.sun.com/thread.jsp?forum=4&thread=431288]this thread

  • Where are daqmx files stored on real time target?

    Hi,
    I am working on an application that will be embedded in a RT desktop target.  To make the system easier to maintain in the future, I would like to be able to generate a DAQmx task programatically from the *.ini file exported from MAX.  This way, users don't have to know what my code is doing in order to recalibrate sensors or manage new hardware; they only have to know how to use MAX and where to store the config files on the target. 
    Where are daqmx task, channel, and scale information stored on a RT target?  I've been through the files on the target looking for something that contains my task data but have found nothing, though dropping a system property node into a VI running on the target will give a correct list of the tasks that I have configured.  (The project that contains the aforementioned VI does not have the tasks in it ie: I did not import them to the project.)
    Is there a utility that will run on the RT target that can generate a task at run time from the exported *.ini files?
    Thanks
    CLAD
    Solved!
    Go to Solution.

    Exahustive keyword searching brought me to an answer on the forums.  I'll post a brief summary here in case anyone else uses the same keywords as I have.
    1.  Export config file from MAX
    2.  Write a VI that uses the tools in the System Management pallette to upload the configuration to the real-time target.
    3.  Profit.
    In my case, the VI I wrote to upload the DAQmx config also generates the config files for the VIs on the host and target side, so everybody knows what the tasks are called.
    CLAD

  • Writing 2-D array to spreadsheet file changes value of time column when saved

    I have a program that creates a new row in a table each time the loop performs.  Each time the loop performs and a row is added to the table, the program uses the "write to spreadsheet file.vi" to save this new table over the previous table.  The array is also visible on the front panel of the vi.  The program works in such a way that you can stop adding data to the array, start adding data to a new array, then come back to the original by using the "read from spreadsheet file.vi".  My problem comes after opening the spreadsheet file.  The first column of the array, which corresponds to the time when the data in that row was taken, has different values than those that were seen when the array was originally displayed on the front panel.  In fact, all of the rows that were created the last time the program was run with that array have the same value in the time column, while all of the other columns keep their correct values.  Here is an example of what is happening...
    When I start the program, and run it for 5 iterations, I get a table like this displayed on the front panel:
    3241713920
    85.88012
    93.88012
    1.735015...
    3241713930
    85.97603
    93.97603
    1.747003...
    3241713940
    84.58855
    92.58855
    1.573568...
    3241713950
    84.48096
    92.48096
    1.560119...
    3241713960
    84.93667
    92.93667
    1.617084...
    This array is saved to the spreadsheet file with each added row.  If I initialize and build another array, then come back to this first array using "read from spreadsheet file.vi," I will receive the following table:
    3241713920
    85.88012
    93.88012
    1.735015...
    3241713920
    85.97603
    93.97603
    1.747003...
    3241713920
    84.58855
    92.58855
    1.573568...
    3241713920
    84.48096
    92.48096
    1.560119...
    3241713920
    84.93667
    92.93667
    1.617084...
    If anyone could tell me why this is happening and/or how to fix it, that would be greatly appreciated.  One option I have contemplated is just having each individual row appended to the file instead of resaving the entire array with each iteration.  However, I would prefer to do it the way I am currently doing it, so I can pass the array through each time and perform different tasks on it, such as averaging the values in columns over different time periods.  Thank you in advance to anyone who can help. 

    DWDerr wrote:
    If anyone could tell me why this is happening and/or how to fix it, that would be greatly appreciated.  ...
    This KnowledgeBase article may help.  I think things changed in LV8.20, but I could be wrong.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

  • Real time speed change mixing

    Wondering if a way exists for me to make on the fly speed changes in real time while doing a voice over. Would like to just play a clip while recording my voice over and be able to freeze the clip while I continue to talk, then hit another key to start the clip moving at regular speed again all while I continue to talk. I don't even necessarily have to do the voice recording using FC. Just would like a way to do this which is a lot like real time audio mixing, but with speed changes. thanks.

    The VO tool in FCP requires real-time sync to the playhead, so that won't work that way.
    SnapZ allows you to record an image of the desktop, system audio (FCP playback), and the Mac's built-in input all to separate tracks of a QT file. I have used this for software instruction videos. There is a quirkiy issue with snapZ and frame rates. I posted a good workflow to address this a few months back. You would only need to do this if you were going to use the video recorded with SnapZ.
    Hope this helps - -
    Max Average

  • More than 1 ms MOMO digital IO 7358 in LabView Real-Time 8.5, error downloading EPOS dll file into RT

    Hi all,
    I have several problems here, I tried to google but still I could not solve the problem.
    Here are my questions:
    1. I tried to download an example program of EPOS which require to download a DLL file into the RT, but it failed, here's the error (I attached the picture) 01/02/2008 13:29:50.511 [error] LabVIEW:
    Failed to load shared library EposCmd.dll:_VCS_GetProtocolStackName@16:C on RT target device.
    From the NI.com forum,
    I found a similar problem and it said by installing Network Variable Engine and Variable Client Support into the LV-RT, and I did, but still failed. Any one can help me about this?
    2. I posted a question also in lavag, I think this section is more appropriate. "I
    am trying to use the digital IO of the motion controller of 7358, but then I realized the delay is more that 1 ms (I checked using the oscilloscope), I attached the code (MOMO = Must On Must Off). Is this real, I mean the hardware delay between on-off is as big as this? Anyone knows the solution for this?"
    Note: I am using LV-RT 8.5, PXI-7358 Motion Controller, EPOS 70/10
    Thank you for any help
    Message Edited by bono02 on 01-02-2008 05:47 AM
    Attachments:
    maxon-rt3.JPG ‏120 KB
    momo1.JPG ‏55 KB

    Hello bono,
    1.  From what I have seen, this error is usually caused by one of two things.  The first is the Shared Variable software components not being installed, which is covered in this Knowledgebase.  The other is due to a corruption of the ni-rt.ini file on the Real-Time controller.  You can follow the steps layed out in this Knowledgebase, which gives three possible remedies.  You could also try reinstalling the software (firmware) or create a PXI Uninstall disk from Measurement & Automation Explorer by selecting Tools»Remote Systems»RT PXI Disk Utilities»Create PXI Uninstall Disk.  Boot the PXI Controller from the PXI Uninstall Disk, which will erase the ni-rt.ini and ph_exec.exe on the target.  However, you will need to reconfigure the controller after doing this.
    2.  Due to the nature of the digital I/O on motion controllers, it is not surprising that you are seeing around a 1ms delay.  It deals with the fact that it must update the motion controller with the new value on each control loop.  This Knowledgebase gives a little more clarification regarding the 7350 specs.
    Carlton
    CLD

  • Could u plz help me to find simple example for how to save data file in a spread sheet or any other way in the real time controller for Sbrio 9642 using memory or usb flash memory

    Could u plz help me to find simple example for how to save data file in a spread sheet or any other way in the real time controller for Sbrio 9642 using memory or usb flash memory

    Here are a few Links to a helpful Knowledge Base article and a White Paper that should help you out: http://digital.ni.com/public.nsf/allkb/BBCAD1AB08F1B6BB8625741F0082C2AF and http://www.ni.com/white-paper/10435/en/ . The methods for File IO in Real Time are the same for all of the Real Time Targets. The White Paper has best practices for the File IO and goes over how to do it. 
    Alex D
    Applications Engineer
    National Instruments

  • Reading excel files in real time

    Hello,
    I would like to have a labVIEW program which permits to read several excel files, and collect all data in a single excel file.
    I know that it is possible to write a program which can read multiple files.
    But I would like to know that if its possible to read files in a real time:
    for ex. each time there is a new excel file to read, the LabVIEW program read it automatically and add its data to the final file?
    Thank you and bests regards

    As Sam notes, it is certainly possible to merge Excel Files (I've done it, myself).  An oft-repeated Best Practice for Program Development, which I didn't understand nor start following until quite recently, is "Write the Documentation First".  In this case, you want to think carefully (and specify in a Document, which tends to "clarify your thinking") a number of issues:
    Where will you look for the Excel Files to be merged?  [Hint -- it's much easier if they are all in the same Folder).
    Where will you save the Merged File?  Will it be in the same Folder as the Source Files?
    How will the Merged File be named?  This can have an interaction effect with the previous points.
    What is the structure of the Source, and of the Merged, File?  Is it "obvious" how the Merge is to take place?
    Related to #4, are there Headers?  Multiple WorkSheets?
    How do you know when it is time to Merge?  Are you checking for new files periodically?  How often?
    In some ways, these "structure" questions are trickier to design and thornier to deal with than simply reading data from two Excel Files and writing the data to a third (which I'm calling a Merge).  Note that I'm assuming that you are really dealing with Excel files (.xls, .xlsx), for which I recommend using the Report Generation Toolkit.  If you are speaking about Comma-Separated Variable (.csv) files that LabVIEW calls "Spreadsheets", the above questions are still mostly relevant, but your approach will be a little different.
    Write yourself a Document, show it to us, and if you have ideas on how to do this, give it a try and show us your code -- we'll try to provide assistance if you "get stuck".
    Bob Schor

  • Black magic and Adobe After effect cs6 Ram Preview not real time

    Hello,
    I'm on a MAC PRO with the OS 10.6.8 and 8Go Ram, the problem is when i turn on my preview video on the Blackmagic the video monitor is not in real time and the after effect is so slow. When i put it off (computer monitor only) it's ok but i havn't my video monitor of course....and i need it. Is there some tricks for having my black magic (1080 i 50) ON and a RAM Preview in real time ??? ! My drivers Black magic is the 9.5.3 it's the highest driver for MAC OS 10.6.8 + ADOBE CS6+ FCP7.  Thanks for the read. ( i tried update adobe, change qt library, change aspect ratio, pixel, preview ram settings, change drivers black magic and other but nothing work )

    What is the color bit depth of your project? (8, 16 or 32?) Have you changed that recently, or have you changed the frame rate or frame size of your comp?
    Performance with video preview to an external monitor is almost always related to the pure bandwidth requirements of the frames you're sending to it. If the frames require more memory, it may be slower. Frame size, frame rate, and color bit depth all affect the memory requirements of the frames.
    If none of those parameters has changed, troubleshoot the general performance of your machine. If there are other processes (look in Activity Monitor) that are using significant processor and/or memory resources, they may be causing a bottleneck for the frames getting out.

Maybe you are looking for

  • ANT Tasks Fail with Flex 4.5 SDK

    Hi, I am trying to build the StrobeMediaPlayback project with the build.xml found in the trunk. I am using the ant -v to show you the output here: compile.unittest:     [mkdir] Created dir: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build/StrobeM

  • Need Solution For Motorcyclist, GPS, Music, BB 8830 and Intercom.

    Hello, here is a real hands free scenario that I and many other Motorcyclists would pay bucks for; most of the long distance riders would love to have GPS with Voice Response, Phone, Music (XM or Sirius) and Intercom all in one wireless package commu

  • BRBACKUP for Java

    Hello, We have a dual stack BI 7.0 system. I just wanted to know, whether brbackup will take a backup of both - ABAP+JAVA? Can I use this backup to restore the system or do a homogeneous system copy? Thanks.

  • How can I view elapsed time while viewing a clip in iMovie?

    When viewing a clip is there a way to see the elpased time in iMovie?

  • Error Message In SMQ1

    Hi Expects , While working with SAP CRM 5.0 In smq1 (outbond Que ) we are getting staus SYSFAIL Message.with following more details "function mod for object could not be clearly  det ." Additional information :when i collect more information of trans