Selecting a file to load from a directory
With the current code the file path/ directory was already present. What im trying to do is add in a drop down menu that will allow the user to select one of the multiple files saved in the same directory/ folder to be loaded. Can anyone assist?
Attachments:
FILE SELECT 2.vi 13 KB
Thank you for your reply. What im trying to do is while the program/ subvi is runing the user will select a file from the combo box/ drop down menu and hit load. This will select one of the multiple files in the directory and load it into the rest of the program. This section of the code is to load the hardware device with list of numbers from the file that is selected. I only have 3 but it can be up to 200 files.
Similar Messages
-
When I select the file to export from pdf to word, thens click the Export button, nothing happens.
Firefox 19 was just released. You may want to consider upgrading, then trying again.
Glad to hear IE worked though!
-David -
Custom Icon can be loaded from search directory
Currently Custom Icon can only be placed under
C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\Components\Icons
and
C:\Program Files\TestStand 2014\Components\Icons
and also from
search directory option for icon (New Idea)
If icons can also be loaded in path mentioned search directory, It help a lot in handling things among a large ATE Team (50 Test Developers)
I made the zip file with WinZip in the same directory as the class file,
as directed by the previous thread, and uploaded it to my server.
It still does not load the applet.
Here is my webpage:
http://www.geocities.com/shaolin_bi/scopeApplet.html
Can someone please take a look and tell me what I am doing wrong?
Thanks. -
Can the source files be loaded from target server
Hi,
I have owb client on windows2000 and target on linux server. The current plan is to create runtime repository connection for the target and execute mapping from windows where the source files are located.
Is there way to put the source files on target server machine (there is no owb client install)? What's the best business practice regarding how the owb and source files are distributed? Thanks.
TarcyThe problem is not the code or html.
This: "The Java Runtime Environment cannot be loaded from <\bin\server\jvm.dll>
indicates that you are attempting to run the server jvm, and it does not exist. This can be because either the java command option "-server" was used, or a configuration file setting.
As shipped by Sun, the JRE does not include the server jvm; the JDK does. If you want the server jvm in the JRE, copy the \server\ directory and contents from the JDK to the JRE.
If you installed using defaults,
copy from: C:\Program Files\Java\jdk1.5.0\jre\bin
copy to: C:\Program Files\Java\jre1.5.0\bin -
Xml file not loading from different server
Hi,
I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from eckul.com" and will not actually pull in the number. Unfortunately I can't put the files on the same servers. Any help would be much appreciated, below are the links and the xml code I'm using followed by the action script. Cheers
http://www.sainters.net/newsletters/2010/flash_test_membership2.html
http://www.eckul.com/number.xml
<?xml version="1.0"?>
<inventors>
<person>
<name>892</name>
</inventors>
function loadXML(loaded) {
if (loaded) {
_root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
_root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
name_txt.text = _root.inventor;
comment_txt.text = _root.comments;
} else {
trace("file not loaded!");
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("http://www.eckul.com/number.xml");so, in frame 1 of your fla before you execute that cross-domain load method, use:
System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>
and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
</cross-domain-policy> -
Process for Flat file delta load from Application server to transactional??
I want to do a flat file extraction in delta loads from application server and that should be loaded into a transactional cubes scheduling a process chain.
Can any one help with ABAP code and step by step process for this?
Thank you
DeviHi Devi,
As per your explaination, you want to load a list of files from application server using process chain.
You can do this with below steps.
1) Create a Event and call event to run Process chain multiple times.
2) Put all filenames in a file say, source-File
3) Write a rooting to read filename from Source-File and trigger InfoPackage
4) At the end of the process chain create new customized program which will delete first line from Source-File so that it will take next file in next run as well as delete currently loaded file. Once this is done trigger event again to start process chain again.
Regards,
Ganesh -
Dynamic selection of file in infopackage from application server
Hi,
We have a infopackage in Process chain which runs daily. In the infopackage 'EXTRACTION' tab , input file is from application server. The file we get daily is not unique.
As an example file name is not like 'UNIQUE.CSV' . It varies daily and carries a date and time stamp like UNIQUE_DATE_TIME.CSV
I think we can have a routine to handle this. can someone help me with the routine/code?
Thank you all.Hi,
1. Create Two Floders in AL11 i.e. in Apllication Server. Eg Name it F1 and F2.
2. First dump the .csv files into Folder F1 using some Programs or Manualy (Name xyz.csv).
3. Then load the data using InfoPackage (here IN infoPackage, Extraction Tab you need to select Adapter = Load Text File from Application Server and then give the correct path from Folder F1), through PC.
4. At the end of the load, attach a simple Program to Move the xyz.csv file from Folder F1 to Folder F2.
5. So next day the file will come to Folder F1 and the it will loaded to Cube/DSO and at the end it will move to Folder F2.
Else you can use simple one or two lines of UNIX/WINDOWS (depends on your OS) script to move the file from Folder F1 to Folder F2 , once you load is over.
While moving the file from Folder F1 to Folder F2 you can append the date at the end of the file and then move to Folder F2, it is use full for future reference.
See Blogs and Article, similar logic...
https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
How to transfer the Data from SAP-System to Non-SAP system without additional Cost/License
/people/surendrakumarreddy.koduru/blog/2009/03/11/how-to-transfer-the-data-from-sap-system-to-non-sap-system-without-additional-costlicense
To Check the Files/Reports in Application Server and Trigger Mail Alerts.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4096bf2d-bcea-2b10-4ab4-e0683830d9b2&overridelayout=true
1. Create Three Floders in AL11 i.e. in Apllication Server. Eg Name it F1, F2 and F3.
2. First dump the .csv files into F1. (Name xyz.csv).
3. Then using UNIX/WINDOWS (depends on your OS) script , first check the file is there are not in F1, if yes then rename the file with date and time or date and transfer the files from F1 to F2 i.e xyz06032010.csv.
4. Then Create a small ABAP program to check the file in F2, if it is there then Trigger the Event, and using that event you execute teh PC.
5. Then using UNIX/WINDOWS (depends on your OS) script , transfer the files from F2 to F3 i.e xyz06032010.csv.
6. Next day morning F1 and F2 are empty and F3 is having the backup files.
So use this method, I used the similar logic and it is working fine.
Timinings are importent i.e what time you need to dump the fule in F1 and what time you need to run UNIX/WINDOWS (depends on your OS) script , transfer the files from F1 to F2 and what time UNIX/WINDOWS (depends on your OS) script , transfer the files from F2 to F3.
Thanks
Reddy -
Not all my files where loaded from a session
I bought the serie Heores. There I got the files from 1-11. and the file 19. the rest is missing. What can I do. I can´t load them via download
Since your Mac shut off suddenly, your directory may need to be repaired. Boot from your install disc and navigate to Disk Utility and repair your boot disk. Repair it until there is nothing left to repair. With luck, you may be able to find your files again.
If you can't, there is software available that may be able to help, such as Data Rescue. Usually there is a demo so you can try it before you buy.
Good luck! -
All labview Vi's load from different directory
OK this may be a stupid question but I done a save with options/ include VI.llbs. on my machine and now when I create a new vi whenever I try to put something on the block diagram it tells me that it is loading the files from the library that i saved for distribution. It only does this when I have the top level vi open of the library and try to open a new blank vi. It even does it when I open labview then open a blank vi and put anything down on the diagram and it does not give me this. then I can open up the top level vi from the library in question and put the same thing on the diagram and it will give me the warning. Maybe this is normal behavior, I don't know.
It just seams kind of funny that it would try to lo
ad NI VI's from the llb instead of mine. Hope some can shed some light on this. I do not want to mess anything up.
thanks in advance.
Joe
Joe.
"NOTHING IS EVER EASY"
Attachments:
labview.jpg 32 KBIf I understand what you are saying, this is annoying, but normal behavior.
LabVIEW can only have one VI of a specific name in memory at a time. So if you have the top level VI in question open, all of it's sub-vis get loaded into memory. So then if you create a new VI and drop the 'General Error Handler.vi' from the palette, it will use the one already in memory from your library.
Creating a new VI right after you start LabVIEW will let you use the vi.lib files, but then when you open your application from the library, it must use any vi.lib files that are in memory first.
Usually it's best not to save a .llb with the vi.lib files unless it's required for source code control. Then it's a good idea to use the Development Environment Applicaiton
Builder from OpenG to build the library for you. This will add a suffix you specify to every VI in the library and relink them to their callers. This way, other VIs you open will use the vi.lib files.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences. -
File open error from oracle directory
Hi
I am testing 11g new feature for oracle secure file on my winxp system. Using the same example from Arup Nanda's writeup. it is giving me the following error, what could be the reason, need your experts assistance.
SQL> conn checkup/checkup
Connected.
SQL> create directory SECFILE as 'c:\oracle';
Directory created.
Elapsed: 00:00:00.04
SQL> grant all on directory secfile to public;
Grant succeeded.
Elapsed: 00:00:00.00
SQL> declare
2 l_size number;
3 l_file_ptr bfile;
4 l_blob blob;
5 begin
6 l_file_ptr := bfilename('SECFILE','contract.pdf');
7 dbms_lob.fileopen(l_file_ptr);
8 l_size := dbms_lob.getlength(l_file_ptr);
9 insert into contracts_sec
10 (
11 contract_id,
12 contract_name,
13 file_size,
14 orig_file
15 )
16 values
17 (
18 1,
19 'Contract :'||1,
20 null,
21 empty_blob()
22 )
23 returning orig_file into l_blob;
24 dbms_lob.loadfromfile(l_blob, l_file_ptr, l_size);
25 commit;
26 dbms_lob.close(l_file_ptr);
27 end;
28 /
declare
ERROR at line 1:
ORA-22288: file or LOB operation FILEOPEN failed
The system cannot find the file specified.
ORA-06512: at "SYS.DBMS_LOB", line 635
ORA-06512: at line 7
Elapsed: 00:00:00.01
SQL>The OS directory SECFILE is already available under 'c:\oracle' and the .pdf file is available under 'c:oracle\secfile'
Rgds
SumanHi
The OS directory SECFILE is already available under 'c:\oracle' and the .pdf file is available under 'c:oracle\secfile'Why its under 'c:oracle\secfile'? It should be under 'c:oracle\' ...SECFILE is the name of the directory in Oracle not on OS. So your pdf should be at 'c:oracle\'.
Regards -
GIF files not loading from jar in Netscape
Hi,
I have a jar file that contains my applet code(class files) and a bunch of gif files. I load the image using the URL returned from getCodeBase() method. The images load fine in Explorer but they do not show up in Netscape. The class files and gif files are not in separate directories and getCodeBase is returning the correct URL of my server(Example: http://www.myserver.com). Does anyone know how to fix this? I also noticed that download time did not improve on either browser when I bundled all the gif file in the jar rather than place them outside the jar file. Isn't bundling them in the jar supposed to save multiple requests back to the server to get the gifs and thus reduce download time? Thanks in advance.There the sample from Netscape: http://developer.netscape.com/docs/technote/java/getresource/getresource.html#classloader
-
Selective Deletion and Data Load from Setup Tables for LIS Extractor
Hi All,
We came across a situation where one of the delta in PSA was missed to load in DSO. This DSO updates another cube in the flow. Since it has been many days since this miss come in our knowledge we need to selectively delete data for those documents from DSO & Cube and then take a full load for the Documents filling the setup table.
Now what will be the right approach to load this data from setup table > DSO > cube. There is change log present for those documents and a few KPI's in DSO are in summation mode.
Regards
Jitendrathanks Ajeet!!!!
This is Sales Order extractor, the data got loaded to ODS just fine, but since the data is coming to ODS from different extractor. Everything is fine in ODS, but not in the cube. Will Full repair request and Full load would it make difference when the data is going to cube? I thought that it would matter only if I am loading to ODS.
what do you mean "Even if you do a full load without any selections you should do a full repair ".
thanks.
W -
I've read the suggestions for fixing this, and none of them work. I've updated my .htaccess to match MIME types for .ogv, I've uploaded the files as both Binary and ASCII, neither method works. The .ogv file plays fine when you load it from a local file, but it will not play when viewed from a remote server. I've confirmed with my hosting company that the .htaccess and all other issues for HTML5 are up-to-date. Safari and Chrome play the HTML5 videos just fine, but Firefox will not. Does anyone have any concrete answers as to what the problem is. I'm also serving up the video files as .webm and .mp4, but neither of these formats works in Firefox either.
That can happen if the server isn't configured properly to send the files with a by Firefox supported MIME type.
*https://developer.mozilla.org/en/docs/Properly_Configuring_Server_MIME_Types
Did you check via the Web Console which headers Firefox receives when requesting the .ogv file?
If that is OK then it is possible that the file is using an unsupported coding method.
* https://developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements -
Save Labview tree Control to file and Load from file
I want to save all of the information from my Labview (8.2) tree control to a file and be able to read it back from a file and re-populate the tree control. I am using different symbols as well as multiple columns and level of children in my control. Does anyone have any suggestions on how to do this?
Thanks
Steve M.
Attachments:
tree pic.jpg 60 KBHi Steve,
I found a DF that talks about saving the tree to a spreadsheet file and have included it in this message. To get items from the tree control, you have to use open up the tree and remove all of the items off of that tree, while still preserving the heirarchy of the tree. The indent level property node will preserve the heirarchy of the tree and from there you can get the item tag and cell string.
To transfer the file to a tree, you will then need to read the file and insert items into the tree corresponding to the heirarchy. I have also found a tutorial on how to traverse tree controls.
I hope this helps.
Regards,
Nadim
Applications Engineering
National Instruments -
In lr4 where/how to rename files if loaded from folder already on hard drive?
Files imported from a card reader can be renamed upon import but where/how to rename files added from a folder already on the hard drive? Also, how to rename files so as to not have gaps in the number sequence once the "rejects" have been deleted? Thanks.
Yes and yes. And, using it with the new shoot name renamed the files perfectly!
There is even a "original number suffix" so if you don't like IMG_4501 and prefer DSC_4501 you can pull the 4501 (the suffix) and replace the first three characters.
So, in one operation SFO-shoot-(IMG_4501).NEF could become Wine-country-shoot-(IMG_4501).NEF or even Wine-country-shoot-(4501).NEF if you prefer. Powerful.
Thank you Rikk and Adobe! Chris R
Maybe you are looking for
-
SOAP sender adapter with client authentication
Hi, Can you please tell me the steps to be followed to configure SOAP sender adpater for HTTPS with client authentication. Thanks
-
I am working on a RoboHelp project using v7. The output is quite fast when I access the Webhelp from my local folder. But when I place it in the central repository and access it from that sharepoint, it takes 5 to 6 seconds to open each topic. The pe
-
What's wrong with my coding? I had received the error for the following code during compilation: Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring comp
-
I traced the problem to my Failover Cluster Manager. The cluster was Offline and the IP for the DAG was not available. Under Cluster Core Resources, the cluster was shown to Offline. Right-click and select Bring this resource Online. WC
-
I'm looking for good information on purchasing a professional cameraa. What to look for. What brand. That sort of thing. I'm thinking somewhere in the $2000-$4000 range. HD? Standard? I want the quality to compete with what I see on TV everyday. Jaso