Open file not waiting
I'm using Open/Create/Replace file to read a one-line string of text from a file. If the file is found, the contents are read, the string is parsed and various parts of it sent to outputs, and the file is deleted. If the file isn't found, nothing happens. Everything works - in fact, it works a little too well.
If the last Open File attempt failed and the file is then pasted into the datafiles folder, the VI will open, read, and delete the file immediately, regardless of the length of the delay. I don't know if this will be a problem, as the file being read is small and simple, but I'm curious why it's happening.
I've attached the VI. I was unable to attach the .msg file, as the board does not allow files with the .msg extension to be attached. The contents of the file can be found below. It is a single line.
6202,coil_0123456789,1,10.02,30.5,1.60
Attachments:
AK Read Delete File1.vi 60 KB
Hi Bob,
to attach any kind of files you can zip them...
I changed your example! Now it will wait before deleting the file...
You have to assure dataflow: your existing wait function is independent from file operations and so it cannot assure a delay before delete!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Attachments:
AK Read Delete File1.vi 45 KB
Similar Messages
-
"Can't open file - not a valid pdf"
Hi,
This seems to have been asked before but I can't find an answer!!
I have a small app that i use for work which essentially just links to pdfs stored on a wordpress site
All has been working well until recently when android phones can no longer open the files - they get a "can't open file - not a valid pdf file" message
It seems to happen with many but not all the files. Some examples of problematic ones are:
http://uhbsosguidelines.files.wordpress.com/2014/02/transfusionmajorhaemorrhagecompressed. pdf
http://uhbsosguidelines.files.wordpress.com/2014/02/aagbi_la_toxicitycompress.pdf
http://uhbsosguidelines.files.wordpress.com/2015/01/anaphylaxis-under-anaesthesiaupdated02 14compresresave.pdf
Oddly, it seems only to be a problem when trying to open directly from the link in the app into adobe reader. If you download the file onto the phone THEN open it in Reader it works fine!
As I say, this seems to be a recent problem - has been working perfectly up until now.
I'd really appreciate it if you have any thoughts / suggestions - I don't want to have to ask all the users to install a different PDF reader app!Thanks for reporting the issue. We have been able to reproduce it at our end and shall let you know when this gets fixed in one of the future releases.
Thanks,
Adobe Reader Team -
Can't open file--"not compatible with this version"
I can not open a photoshop file, although it was saved with the same version. "The file is not compatible with this version" can someone help me.
thankshi kirsti
I use windows 7 and photoshop cs5
thank you
Am 02.05.2012 19:06, schrieb Kirsti Aho:
>
Re: Can't open file--"not compatible with this version"
created by Kirsti Aho <http://forums.adobe.com/people/Kirsti-CA> in
/Community Help Application/ - View the full discussion
<http://forums.adobe.com/message/4374618#4374618 -
Calendar Alarm Open FIle not working in Mountain Lion
Recently upgraded my mac mini server to 10.8.2 Mountain Lion. I need it to open a particular Filemaker file every morning, and close the application every night. Used to have a simple alarm in iCal set to do this with Open File and then a very simple Automator script to close the program at a scheduled time, also in iCal. Worked fine. Now, in trying to recreate this, it doesn't work - I make the scripts, and if I set them for a time I can test them (ie. 5 minutes from now), they work as planned, but they will not function on their own at the scheduled time. I thought it might be going to sleep, so I set Energy Saver to Never go to sleep, unchecked "Put hard disks to sleep when possible", and checked "Wake for network access". Still not working. Any thoughts? Any idea how to even troubleshoot this?
I thought I was on to something, but then I re-read your post and saw that you've successfully tested your scripts in Calendar. So, all I've got left to offer is a silly question: has the calendar been set to ignore alerts? I ask because just within the last few days I created an Automator calendar alarm, tested it successfully (in the same fashion as you), and set it off to run on its merrily-scheduled way, only to discover it wasn't firing on its own. Like you, I double-checked my Energy Saver settings and it looked like things should work just fine. What I finally found was that at some point during all my testing and fiddling I'd ticked the "Ignore alerts" box for the calendar, and that's what was keeping my script from firing.
-
Why is iCal "Open File" not working?
I have created an Automator application called "MyActions" that works correctly when I click on it in my Application section.
I am trying to get this application to run once a week using the iCal "Open File" alert.
I have set up an event that repeats every Monday at 7:30am and I have set up an alert that opens the file "MyActions" 1 minute after the event, but it does not appear as though the application runs.
Help appreciated.
Regards,
-jPIt appeared that it just took some time before Calendar actually got around to the event that had the "Open File" instruction.
I did confirm that I created an application and not a workflow. Thanks for the sanity check.
-Jp -
Preview When opening files not showing up in PS6!
Hi,
I've recently upgraded from Photoshop 5 to Photoshop 6. When opening files in PS5 a preview was available when selecting PSDs and image files.
This made it extremely easy to view files and PSD's without having to fully open them. But this feature is not showing up in PS6.
I'm not sure if this is actually an Adobe problem but I appreciate any and all help.
Here is an attached image to help understand - http://i.imgur.com/2v862OD.png
Running Windows 7 Ultimate 64 bit.
Thankyou, Seb.
P.S Apologies if this the wrong section.Good day!
Maybe one of the Adobe employees’ posts in this thread may help explain.
http://feedback.photoshop.com/photoshop_family/topics/no_psd_image_preview_in_photoshop_on _open_dialog_box_in_windows?page=1
Regards,
Pfaffenbichler -
"open file" Not working with Photoshop CS2
System
MAc Pro Dual Quad 3Ghz, OS X 10.5.2
I have a script that I wrote a while ago to take a series of individual bitmaps and compile them into a strip for access inanothe application. Script used to work well....
I tried to use the script today but ran into a brick wall when trying to open files from within the script.
below is an example of a script that will not work at all,
tell application "Adobe Photoshop CS2"
open file "AV:logo:rot0001.png"
end tell
I normally pass the function a variable for the filenames...but the above script should work fine.. but flatly refuses to !
Below is the Error returned.
Adobe Photoshop CS2 got an error: General Photoshop error occurred.
- The object “current document” is not currently available.
Arghhhh Help !!
Rgds
ChrisHello
Perhaps your script used to work under pre-OSX10.5 (AppleScript 1.x) but now fails under OSX10.5 (AppleScript 2.x)?
If so, the most likely cause is the drastic change in internal text handling between them. In AS2.x, internal text is Unicode only, which might prevent PSCS2 from resolving 'file path_string' descriptor (when path_string is assumed to be plain 'string', not Unicode text).
Try the following code instead -
tell application "Adobe Photoshop CS2"
open ("AV:logo:rot0001.png" as alias)
end tell
Or -
set a to "AV:logo:rot0001.png" as alias
tell application "Adobe Photoshop CS2"
open a
end tell
Hope this may help,
H -
4.0 EA2 - Previously Open Files Not Opening on Start
Just started using 4.0 EA2 from 4.0 EA1. Thanks! Noticed is much faster than EA1!
I have noticed that previously opened files no longer are being opened when starting SQLDeveloper. Prior to EA2, any files that were open when SQLDeveloper is closed were opened then next time SQLDeveloper started. Is there a setting I am missing that governs this behavior?
Thanks!True but I think that the disk image mounter is not working so I'm not getting the option to drag anything anywhere. How do I repair the disk image mounter?
Just tried after reading on a www forum;
Run /Applications/Utilities/Disk Utility.
Click on "Macintosh HD� in the left column and then press the "Repair Disk Permissions� button. I don't think this step was part of the solution to my problem.
Delete the file called /System/Library/Extension.kextcache
Delete the folder called /System/Library/Caches/com.apple.kernalcaches/
Restart
But the deleted files just re apear after start up and the issue continues.
There is no issue with the hard drive, also just booted to Disk Utility again and done a volume repair, no problems there. Grrrrrrrrrrr -
Sequence not Opening: File not found and Out of Memory Error Message
Hello
Attempting to open sequence in FC gives me the error: File not found.
Clicking on okay in the message gives another error: Out of Memory.
Final Cut Pro version is 6.02
Anybody have a solution on how to get this sequence working again?
ThanksProject itself opens fine.
Can a sequence file with in a project become corrupted?
Luckily, I always make duplicate of the sequence I'm working on at the start of the day. And I save often when I'm working.
The earlier duplicated version of the sequence works, so not everything is lost.
Unfortunately the auto save was disabled in my profile, back on it goes.
I was wondering if this has happened to anyone before and that if there is a fix - if it is not a corrupted file? -
Opening files not listed alphabetically
I have Adobe Illustrator CS3 running on Windows XP Professional. I recently started having a problem when I open files, a window opens showing folders and files in list view by default, and the folders are not listed in alphabetical order. I first thought this was a Windows XP issue, but I'm not having this problem with Windows Explorer or any other applications on my computer, only in Illustrator. Also if I select a different view like Details, I can sort by alphabetical order, but if I close and reopen Illustrator, the view defaults back to List, and the folders do not appear in alphabetical order again. Has anyone run into this problem and know a fix? This is very annoying when you have to work with many folders and looking for a specific one.
You changed the global default folder view. This may not show in normal Explorer views when you chose to store individual settings, but it always affects file dialogs. Set any Explorer view to the desired view, then Tools --> Options --Y View --> Apply to all folders. You may need to temporarily turn off individual folder view settings for Windows to correctly reset all folders.
Mylenium -
Ctrl-Shift-U uploading open file, not those selected in File window
I regularly use the quick-key of Ctrl-Shift-U to upload ("put") a file or files from the File window, but as of this morning it's instead uploading my open file. If I have no open files it does nothing. I can only assume I've accidentally changed an option somewhere, but Google isn't helping me figure out where it might have been. Any ideas? I'm using Dreamweaver CS6. Thanks!
1. Go into Edit > Keyboard Shortcuts
2. Choose "Files panel options menu" from the Commands dropdown
3. Click the + by Site
4. Scroll down to "Put" and verify that it's set to Ctrl + Shift + U
If it is, and this is a behavior that just started happening recently, another thing to try would be to clear the program cache file: http://forums.adobe.com/thread/494811 -
How change name open file, not close? It's a plug-in?
I'am to renam open file, in acrobat X, dont' close an reopen.
It'as a plug-in?
Thank!!ªvFileFull = ActiveDocument.FullName
vFile = ActiveDocument
vPath = ActiveDocument.Path
vNewName = InputBox("Novo Nome", "Renomear arquivo corrente", vFile)
If vNewName = "" Then End
vNewFile = vPath + "\" + vNewName
ActiveDocument.SaveAs vNewFile
Set fs = CreateObject("Scripting.FileSystemObject")
fs.DeleteFile vFileFull, force -
On my Mac (OS 10.6.8) I had to re-download and reinstall Photoshop Elements 8 after my hard drive crash because I don't at all like Photoshop Elements 10. (Sorry, Adobe.) Now, when I'm browsing in Bridge CS4 (which I much prefer over Organizer; sorry, Adobe) and click on a photo to open it, it opens not in PSE 8 but in Preview. The Bridge Preferences does not address where files open, so I can't figure out how to get it to default to open in PSE 8 and not Preview. Any ideas, please?
PS: Before the crash, clicking on a photo in CS4 opened it in PSE 8, not Preview.
A nice person on Google+ answered the question with this reply:
"Open bridge, then Go to Bridge (Menu bar) Preferences.
File Type Associations, change them over to PSE8 in the right hand column."You do understand that bridge is just a browser and not an asset management program like iphoto or organizer?
You would need to get your photos out of the iphoto library unless you are using a referenced library. In any case, you don't want to be using two different programs with two different keywording methods. You cannot use bridge on the iphoto library file itself, no, even if you don't care about losing the photos it contains. -
OS X Maverick- Finder not opening, files not opening
I just installed OS X Maverick, everything works apart from finder and folder. When folder are clicked the icons go missing and re boots
Problem description:
finder does not work, folders do not open
EtreCheck version: 2.0.4 (89)
Report generated October 14, 2014 at 2:10:59 PM GMT+5
Hardware Information: ℹ️
MacBook Pro (13-inch, Mid 2010) (Verified)
MacBook Pro - model: MacBookPro7,1
1 2.4 GHz Intel Core 2 Duo CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1067 MHz ok
BANK 1/DIMM0
2 GB DDR3 1067 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
NVIDIA GeForce 320M - VRAM: 256 MB
Color LCD 1280 x 800
System Software: ℹ️
OS X 10.9.5 (13F34) - Uptime: 0:11:32
Disk Information: ℹ️
TOSHIBA MK2555GSXF disk0 : (250.06 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / [Startup]: 249.20 GB (45.87 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
MATSHITADVD-R UJ-898
USB Information: ℹ️
Apple Inc. Built-in iSight
Apple Internal Memory Card Reader
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Apple Inc. Apple Internal Keyboard / Trackpad
Configuration files: ℹ️
/etc/hosts - Count: 15
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/System/Library/Extensions
[not loaded] com.marvell.kext.USBGenericPrinterClass (1.0.0) Support
[loaded] com.rim.driver.BlackBerryUSBDriverInt (0.0.74) Support
[not loaded] com.rim.driver.BlackBerryUSBDriverVSP (0.0.74) Support
Startup Items: ℹ️
HWNetMgr: Path: /Library/StartupItems/HWNetMgr
Startup items are obsolete and will not work in future versions of OS X
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist Support
[loaded] com.adobe.CS5ServiceManager.plist Support
[loaded] com.google.keystone.agent.plist Support
[running] com.rim.BBAlbumArtCacher.plist Support
[running] com.rim.BBLaunchAgent.plist Support
[running] HWPortCfg.plist Support
[loaded] org.macosforge.xquartz.startx.plist Support
[loaded] ouc.plist Support
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist Support
[invalid?] com.adobe.SwitchBoard.plist Support
[loaded] com.google.keystone.daemon.plist Support
[running] com.rim.BBDaemon.plist Support
[loaded] org.macosforge.xquartz.privileged_startx.plist Support
User Launch Agents: ℹ️
[loaded] com.adobe.AAM.Updater-1.0.plist Support
[running] com.hp.printerAgent.plist Support
User Login Items: ℹ️
BlackBerry Device Manager Application (/Library/Application Support/BlackBerry/BlackBerry Device Manager.app)
Launch Nikon Message Center 2 Application (/Applications/Nikon Software/Nikon Message Center 2/Nikon Message Center 2.app/Contents/SharedSupport/Launch Nikon Message Center 2.app)
Internet Plug-ins: ℹ️
Flip4Mac WMV Plugin: Version: 2.4.4.2 Support
FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
Default Browser: Version: 537 - SDK 10.9
Flash Player: Version: 15.0.0.152 - SDK 10.6 Support
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
DivXBrowserPlugin: Version: 2.0 Support
o1dbrowserplugin: Version: 5.4.2.18903 Support
QuickTime Plugin: Version: 7.7.3
googletalkbrowserplugin: Version: 5.4.2.18903 Support
Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
iPhotoPhotocast: Version: 7.0
User Internet Plug-ins: ℹ️
Picasa: Version: 1.0 - SDK 10.4 Support
3rd Party Preference Panes: ℹ️
DivX Support
Flash Player Support
Flip4Mac WMV Support
Growl Support
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
14% com.apple.WebKit.WebContent
7% WindowServer
4% kextcache
3% Safari
2% uTorrent
Top Processes by Memory: ℹ️
262 MB com.apple.WebKit.WebContent
112 MB Safari
107 MB com.apple.IconServicesAgent
103 MB com.apple.WebKit.Plugin.64
77 MB WindowServer
Virtual Memory Information: ℹ️
61 MB Free RAM
1.68 GB Active RAM
1.63 GB Inactive RAM
501 MB Wired RAM
506 MB Page-ins
18 MB Page-outsReset the SMC and PRAM:
http://support.apple.com/kb/ht3964
http://support.apple.com/kb/PH14222?viewlocale=en_US
Perform a Safe boot:
http://support.apple.com/kb/HT1564?viewlocale=en_US
Any change?
Ciao. -
Firefox won't open files (not links) in new tabs
Hello I'm having an issue with Firefox on my Mac Mini. I want to view html files I've edited in multiple tabs in ONE window. My problem is that whenever I double-click an html file it always opens them in a new window even when I have an existing window open. I have tried changing settings in the about:config in firefox to no avail. Is there some kind of setting I need to change in Leopard to fix this? I'm new to the Mac and have been using Windows for a long time. I recently got this Mac Mini and love it, but I can't figure out this one problem. I'm running Mac OS X 10.5.3 with Firefox 3 RC2. Here's the thing, I'm also running FF3RC2 on WinXP SP2 on my other machine and it does not have this problem at all. Any ideas? Thanks in advance for any help you guys can provide.
Can you download and launch Word files normally from other sites, such as: [http://download.microsoft.com/download/b/d/5/bd515214-0728-4a54-9625-ab3f198cf448/internetexplorer8.doc]
If so, it could be an issue on the mail provider's server. If the mail server is sending a generic content type ("application/octet-stream"), then Firefox won't actually associate that with any particular application (I suspect because it also is used for executable files).
Sometimes the Open/Save/Cancel dialog will show you the "content type" indicated by the server. Is that information available?
Is this a mail provider that would accept some constructive input on this issue?
Maybe you are looking for
-
IPhone 5 and iPad 2 no longer able to use Facetime after update
you get a quick flash and then says unavailable or busy.
-
Custom field in 'Notes and Attachment" tab of shopping cart
Hi All, I am working in SRM 7.0 classic scenario and i have requirement in which i need to add custom field in 'Notes and Attachment" tab of the shopping cart portal. I have added those fields in structure --- INCL_EEW_PD_ITEM_CSF and INCL_EEW_PD_ITE
-
What is the best way to back up iTunes excluding external hard drive
*iTunes gives you the option of backing up your library on CDs. It would take me 100s of CDs to back up my library. Is there any other way to back up excluding external hard drive? Can you put music on a DVD and fit more than on a CD? Having just had
-
How can I drag files from my macbook to my external hard drive?
Hi! I can't seem to drag files to my hard drive using my macbook pro? How can I do that?
-
Dual Monitor versus External Monitor
Hi, I have a question that leads to another and I should have learned this along time ago, but the term Dual Monitor and External Monitor (such as editing in FCP and viewing work on a Third monitor, for example) are two different concepts, correct? H