McAfee DAT FIle Update Locks Up LabVIEW
Here is some background... DAQ MIO PCI card, SCXI rack, 128 TC channels at 10 scans/second, graphing 20 channels every 2 seconds, datalogging once/minute. Datalog file is opened and closed during each write operation.
Manual VS conducted when LabVIEW is not running.
While running LabVIEW, Altiris Agent and EPolicy push down daily McAfee DAT updates. Coincidently, LabVIEW locks ups/crashes when the DAT file is pushed down to the machine. Graph, datalog file and McAfee On-Access Scan Log verify the time of event.
The obvious answer would be to disable Altiris Agent and EPolicy. However, this does not occur on other similarily configured machines, and for network management purposes this is not a consideration. Any suggestions?
JPK
Solved!
Go to Solution.
Been there done that...
If McAffe does not let you configure or control when where and how then you may end up having to do what one of my customers ended up doing.
They pull the network cable before a test starts and put it back after the test is over.
"A man (PC) can note serve two masters."
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Similar Messages
-
Need to read data files originally created in LabVIEW in C++
I have originally created binary files in LabVIEW. These files are made by flattening labview data to a string, then converting the string to a U8 byte array which is then saved to a binary data file. A separate file is used to keep track of the variables written to the data file. (FAT) a 2D-String array (first element = variable name, 2nd element = staring byte location in .dat file, 3rd element = byte length of variable) is flattened to U32 and then written to a binary file.
Opening the files in LabVIEW follows the inverse proceedure. The FAT file is read as a U32 binary data, converted to a byte array, converted to a string, and then unflattened from the string into a LabVIEW 2D-string data type. From this the starting location and length of the variable is extracted. These are used to read the data file, in U8, which is then converted bu a string and then unflattened to LabVIEW data according to the LabVIEW data type.
I now need to now open these files in a Linux environment using C++. I am at a loss at how to emulate all of this data-type conversion, flattening, and unflattening in C++. Does anyone have any ideas?Faraclas wrote:
> Thanks rolfk, I will do the reading. But just to make sure you don't misunderstand
> me, everything works beautifully in LabVIEW.
I gathered that. But reading through the description gave me the
impression that a few conversions/typecasts may actually be superfluous
without any change to the actual data.
> The problem I am having is trying to open up these files in C++. This system has
> been around for a couple of years now, so I cannot change the data structure in
> the LabVIEW programs (well I could but I don't want to because it is really a very
> flexible system that works well).
Well, it really isn't that difficult, it just won't be a one hour job
for sure. A few guidelines:
1) LabVIEW flattened data contains the actual data as is for all fixed
size elements (scalars and clusters of scalars). Any variable sized data
(strings, arrays) is prepended with an int32 for each dimension
containing the number of elements for that dimension.
2) LabVIEW flattened data is always in Big Endian (Most significant Byte
first) format. This means for normal C(++) programs developed on an x86
system you will have to byteswap every single 16 bit and 32 bit integer.
3) LabVIEW Typecast really is similar to Flattened data but no
prepending of the number of elements is done for variable sized data.
And Typecast can't convert any type containing variable sized data, but
any arbitrary complex datatype only containing fixed size data, or a
simple array or string can be typecasted.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Can you perform "ymodem" and "kermit" data file transfers from within Labview ?
If third party software vendors can do this, does anyone know who they may be ? In my application, the final product which I must communicate with is a finished commercial product which uses picodos as the operating system and accepts commands and transfers data over an RF Freewave modem, downloading and uploading files using both "ymodem" in procomm and "kermit"(old program) for large data files. I've got around most of the picodos stuff but I'm left with these two items which do not seem to be handled by National.
Help !!!!
Bryce Davis
email: [email protected]
902-426-3100 ext 284I have searched through our database and the web, and I cannot find any information about these modem protocols. I cannot even find a standard so that you could implement the code yourself. You might consider contacting our aliance members--it appears that some of them had modem toolkits in the past. The aliance list can be found at http://exchange.ni.com/servlet/Redirect?id=6361480
Jeremy Braden
National Instruments -
Version 2.1.0.63 - export data file is locked
I followed the tutorial for Getting Started with Oracle SQL Developer - Adding Data to a Table
After adding a total of 5 rows to the newly created table: DEPENDENTS I followed the instructions to export to a .csv by right clicking on a cell and exporting to a file e.g. C:\DEPENDENTS.csv
Although I can find the file, I can't open it with Excel 2003 - I tried disconnecting from the User HR and SQLDeveloper appears to hold a lock on the file.
If I quit SQLDeveloper I can open the file in Excel - otherwise I get a message file C:\DEPENDENTS.csv is locked for editing, by 'another user' e.g. SQLDeveloper.
I would expect the file to be created and be available for immediate use.
Kind regards
Simon
Edited by: user626089 on 18-Feb-2010 05:15Has been reported several times and will hopefully be fixed in the upcoming patch.
Regards,
K. -
I am writing a bunch of data to a file from a LabVIEW VI. I am
using the standard file I/O routines. I would like to view this
file with another program while LabVIEW is running -- this is
no problem with programs that open the file for reading only, but
most programs attempt to open it with write-permissions as well
which fails under Windows95. Is there a way I can tell LabVIEW
to relax all locking on the file itself so that I can view it with
wordpad or others?
Andrew Berkley
Department of Physics
University of MarylandIn article <[email protected]>,
Greg McKaskle wrote:
>> I am writing a bunch of data to a file from a LabVIEW VI. I am
>> using the standard file I/O routines. I would like to view this
>> file with another program while LabVIEW is running -- this is
>> no problem with programs that open the file for reading only, but
>> most programs attempt to open it with write-permissions as well
>> which fails under Windows95. Is there a way I can tell LabVIEW
>> to relax all locking on the file itself so that I can view it with
>> wordpad or others?
>
>In LV you can look at changing the Deny Mode setting on the file
>Open function. You may also want to use this in conjunction with
>the Range Locking if you do allow the other a
pp to modify the file.
>Both of these are in the File I/O > Advanced Palette, and you will
>need to turn on the Detailed Diagram Help in the Help window to get
>more information on the parameters.
The default deny mode is to allow all other users to read/write the file.
Somehow it still doesn't work. I open the file with the advanced open VI
and leave the deny mode unwired (which should allow all other users to access
the file) and still when I start up wordpad or word it complains that the file
is in use. Any ideas? The real reason for this is that it would be nice to
run an ftp server on the machine so I can check the data files from elsewhere
as labview is running. The FTP server cannot open the files for the same
reason as word or wordpad, etc.
Andrew -
i am receiving the data through the rs232 in labview and i have to store the data in to the word or text file only if there is a change in the data. I have to scan the data continuasly. how can i do that. I was able to store the data into the text or word file but could not be able to do it. I am gettting the data from rs232 interms of 0 or 1. and i have to print it only if thereis a change in data from 0 to 1. if i use if-loop , each as much time there is 0 or 1 is there that much time the data gets printed. i dont know how to do this program please help me if anybody knows the answer
I have attatched the vi. Here in this it receives the data from rs232 as string and converted into binery. and indicated in led also normally if the data 1 comes then the led's will be off. suppose if 0 comes the corresponding data status is wrtten into the text file. But here the problem is the same data will be printed many number of times. so i have to make it like if there is a transition from 1 to o then only print it once. how to do it. I am doing this from few weeks please reply if you know the answer immediatly
thanking you
Attachments:
MOTORTESTJIG.vi 729 KB -
Sync problem: "The iPod cannot be updated. The required file is locked."
Hi,
I upgraded to iTunes 7.0. First thing I did with it was to upgrade the firmware of the iPod to 1.2.1. The model is a MA079NF (20GB, iPod Photo, color screen), have used it problem free for about year now.
After that I wanted to sync my Library and a popup showed "The iPod "mypod" cannot be updated. The required file is locked." After clicking ok (only option) the syncing continues, but in the end the iPod contains 2174 files (~10GB out of 20GB free space), while my library holds 2187 checked files. Also none of my photos are copied to the iPod.
After that, upgrading iTunes to 7.0.1.8 did not help either. The problem is the same. Resetting the iPod to factory defaults and subsequent re-syncing did not help either, only helped me waste an hour .
The error message is silly, it leaves me only with questions:
Which file is locked, where is it locked (on my PC or on the iPod), in what way is it locked, why is it locked, by whom is it locked and how do I unlock it?
Any help is greatly appreciated.
Best wishes,
Henk.
Dell Dimension 5150c Windows XPHi,
After the exceptional help of the Apple people (i.e. nothing, nada, zero, null, no reaction, silence and so on, and so forth) I decided to take matters in my own hands again. Using the superb FileMon tool of sysinternals.com I found out the syncing of my iPod stopped while traversing my photo cache.
The solution was simple: Remove the directory "\iPod Photo Cache" completely (I made a backup, of course).
After that, iTunes built the cache from scratch and syncing was working properly again.
<sarcasm> Apple, thanks again for all your support. </sarcasm>
Best wishes nonetheless,
Henk van der Laak -
I am having problems interacting with Microsoft Office programs since the last update:cannot create a pdf through the 'print' menu in exel and both Word and Exel docs sent in Mac Mail end up being received as .dat files.
Both these situations have cropped up on my MacBook Pro since the last update.
Thanks for your help.
Cheers
BobThe 'Winmail.dat' problem has been extensively covered in these forums, I would search for that (a Google search works well) and unfortunately I have not seen the pdf print problem before, but assuming the software is current and functions normally (other than the pdf print problem) I have no suggestion other than the obvious (but time consuming) re-installation of Office.
I wish I had more -
How to update cgicmd.dat file during runtime?
I'd like to know how do update cgicmd.dat file during runtime. For example, I run a report one.jsp as
http://<machine>:<port>/reports/rwservlet?one.jsp&USERID=uid/pwd@db&DESTYPE=cache&mode=bitmap&desformat=htmlcss
within this report there is a hyperlink to open another report named two.jsp.
before creating this hyperlink, I'd like to update cgicmd.dat file with passed in userID, pwd, and connection, so two.jsp can use this key for userinfo
so I can create hyperlink as follows
srw.set_hyperlink('/reports/rwservlet?report=two.jsp'||
'&cmdkey=userinfo&DESTYPE=cache&mode=bitmap&desformat=htmlcss');
ThanksTo my knowledge the cgicmd.dat is only read when the OC4J starts, so you would have to come up with another solution. Using Single-Sign-On (SSO) is quite a good idea, and it's there for cases like this.
Regards,
Martin Malmstrom -
I have written a binary file with a specific header format in LABVIEW 8.6 and tried to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?
I can think of two possible stumbling blocks:
What are your 8.6 options for "byte order" and "prepend array or string size"?
Overall, many file IO functions have changed with LabVIEW 8.0, so there might not be an exact 1:1 code conversion. You might need to make some modifications. For example, in 7.1, you should use "write file", the "binary file VIs" are special purpose (I16 or SGL). What is your data type?
LabVIEW Champion . Do more with less code and in less time . -
i cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!
Chester31,
Thank you very much for sharing your file with us! Now that we are able to reproduce the problem at our end, you may stop sharing the file on Acrobat.com.
Do you know when this problem (for not being able to add new highlight/strikeout/underline) has started? Did you update your iOS from 7.x to 8.0 recently?
We will continue investigating the problem and let you know what we find.
Thank you again for your help. -
No update time stamp in the saved data file
In NI Example Finder, there is a file called "Fieldpoint Datalogger.vi". I flip the "Time Format" switch to "HH:MMS" and the "File Type" switch to "Spreadsheet". The data saved into a file have time stamp at each line. However, the time stamp in each line of the data file saved as the same time without any update to the most current time. I put sampling frequency for 100 ms and saved as 50K bytes file size, but all the time stamps in the file show one same time (I believe it is the time to start to save into file and keep repeat it). How can I get the update time stamp for every 100ms or 500ms and save that time stamp into the data file from this "Fieldpoint Datalogger.vi"? Should I change anything on the subVI called
"embedded FPLog.vi"?Hello,
Fieldpoint systems usually base the timestamp on the National Instruments Time Server, which is installed on any computer using the Fieldpoint driver. This means that you can configure the Time Server on a Fieldpoint system to continuously check the system time of any computer on the network that has the Fieldpoint Driver installed by referencing its IP address.
If the timestamp is not updating, then we should first verify that it has been configured properly.
Take a look at the following Knowledge Base and let us know if using the listed steps takes care of this issue.
http://digital.ni.com/public.nsf/websearch/C4E56AD6450FC5FD86256DFF0007FF01?OpenDocument
Best regards,
Justin Tipton
National Instruments -
I am deploying my application components on Oracle RAC database, when i install my app component i will run a script which creates a user and tablespace on bot rac-nodes(node1 and node2)
as database is clustered, the user are created on 2 nodes and tablespace is stored in a shared location for two rac nodes
i am able to successfully run my script on rac-node1 and and installed my component and when i started installing the app component on node2 getting error
java.sql.SQLException: ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
ORA-01110: data file 7: '/db/db/db/ora10g/10.2.0/admin/dbadmin_01.dbf'
ORA-06512: at "ADMIN.XL_SP_DBCHECK", line 48
ORA-06512: at line 1
"dbadmin_01.dbf is the custom tablespace which created by me"
i a mgetting error while installing the app component on rac-node2You should not create database files outside of the ASM.
I'm not sure you can move the datafile, I would export the data from the tablespace (if there is data you need there), delete the tablespace and recreate it in the ASM, then import the data back.
If you want to move the datafile, you can try using RMAN (from node1).
First connect to the database with sqlplus and execute:
alter tablespace <tbs_name> offline;Then start RMAN: rman target /
BACKUP AS COPY DATAFILE '<file>' FORMAT '+<ASM_DG>';Then in sqlplus, execute:
alter tablespace <tbs_name> online;I'm not sure it will work, and I hope I got the commands right because I can't check it right now.
Good luck
Liron Amitzi
Senior DBA consultant
[www.dbsnaps.com]
[www.orbiumsoftware.com] -
My datafiles are in ASM file system, however the only one file ACIPEN_DATA is the one, which is not in ASM file system, and this the file which is in concern.
We are getting the following exception in the lxkratgas1.lex1.lexmark.com when connecting to ACIPEN_DATA.
This exception is coming up sometimes and the sometimes the file is getting processed successfully
Caused by: java.sql.SQLException: ORA-01157: cannot identify/lock data file 9 - see DBWR trace file
ORA-01110: data file 9: '/oracle/SE/product/10.2.0/db_1/dbs/ACIPEN_DATA'
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1169)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3368)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:278)
at atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
at atg.adapter.gsa.Table.insert(Table.java:1378)
at atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:6272)
... 61 more
====================================================================
We have checked the datafile, it is absolutely online.
Can some expert jump in and resolve this issue Please.01157, 00000, "cannot identify/lock data file %s - see DBWR trace file"
// *Cause: The background process was either unable to find one of the data
// files or failed to lock it because the file was already in use.
// The database will prohibit access to this file but other files will
// be unaffected. However the first instance to open the database will
// need to access all online data files. Accompanying error from the
// operating system describes why the file could not be identified.
// *Action: Have operating system make file available to database. Then either
// open the database or do ALTER SYSTEM CHECK DATAFILES.is this a RAC database? -
ORA-01157: cannot identify/lock data file error in standby database.
Hi,
i have a primary database and standby database (11.2.0.1.0) running in ASM with different diskgroup names. I applied an incremental backup on standby database to resolve archive log gap and generated a controlfile for standby in primary database and restored the controlfile in standby database.But when i started the MRP process its not starting and thows error in alert log ORA-01157: cannot identify/lock data file. When i queried the standby database file it shows the location on primary database datafiles names not the standby database.
PRIMARY DATABASE
SQL> select name from v$datafile;
NAME
+DATA/oradb/datafile/system.256.788911005
+DATA/oradb/datafile/sysaux.257.788911005
+DATA/oradb/datafile/undotbs1.258.788911005
+DATA/oradb/datafile/users.259.788911005
STANDBY DATABASE
SQL> select name from v$datafile;
NAME
+STDBY/oradb/datafile/system.256.788911005
+STDBY/oradb/datafile/sysaux.257.788911005
+STDBY/oradb/datafile/undotbs1.258.788911005
+STDBY/oradb/datafile/users.259.788911005
The Actual physical location of standby database files in ASM in standby server is shown below
ASMCMD> pwd
+STDBY/11gdb/DATAFILE
ASMCMD>
ASMCMD> ls
SYSAUX.259.805921967
SYSTEM.258.805921881
UNDOTBS1.260.805922023
USERS.261.805922029
ASMCMD>
ASMCMD> pwd
+STDBY/11gdb/DATAFILE
i even tried to rename the datafiles in standby database but it throws error
ERROR at line 1:
ORA-01511: error in renaming log/data files
ORA-01275: Operation RENAME is not allowed if standby file management is
automatic.
Regards,
007Hi saurabh,
I tried to rename the datafiles in standby database after restoring it throws the below error
ERROR at line 1:
ORA-01511: error in renaming log/data files
ORA-01275: Operation RENAME is not allowed if standby file management is
automatic.
Also in my pfile i have mentioned the below parameters
*.db_create_file_dest='+STDBY'
*.db_domain=''
*.db_file_name_convert='+DATA','+STDBY'
*.db_name='ORADB'
*.db_unique_name='11GDB'
Regards,
007
Maybe you are looking for
-
Iphone 5 stays on connecting to Wifi
The phone does not get any errors when connecting to any Wifi instead it just stays on connecting and when i view the IP address it is all wrong. I have reset the router, computer, Updated my phone to altest software and also reset my phone without a
-
Java.lang.NullPointerException in the code to read a properties file
I have written the following code to read a properties file........... <b> public Property(String fileName) try InputStream is = MyClassName.class.getClass().getClassLoader().getResourceAsStream(fileName); prop.load(is);
-
My iPhone 3G this morning seemed to have gotten a mind of its own. It's done this before but never this severe. Usually it stops after I shut it off and turn it back on. This time after shutting it off it randomly tried to turn back on. It started wh
-
Problems with multiple RowSelector/MRD
Hi, I am fairly new to HTML DB, but I run into problems on a page which has two tabular forms, each with a column of checkboxes, created with "Add Row Selector". For each I defined a separate "Multi Row Delete" (MRD) Process, each processing on diffe
-
http://http://www.lawa.org/uploadedFiles/LAWA/Business/SCC_USR_R6_Form.pdf