How to get the words in an opened but unsaved Voice board file?
I'm using the software named ViaVoice from IBM, which can change the voice from the computer's microphone to text, and display the words on the Voice board file that the software provides.(See attachment)
Each time the user speaks two words to microphone, the Voice board displays these words on it(but doesn't save the words in the file automatically). I want to get the words into LabVIEW after the user finished speaking everytime.
For example, in my application, I want to control a car by user's voice, once the user speaks "to Left", the voice board displays " to Left" on it, LabVIEW reads the voice board file every 2 seconds, once LabVIEW finds the number of words changed, it reads the last two words and does the corresponding task.
The problem is that how can I get the words into LabVIEW from the Voice board? I can pre-run the ViaVoice, pre-open the Voice board, and pre-save the Voice board as a .doc file or a .txt file, But the ViaVoice can’t save the doc/txt file antomatically as the speaker adds new words on. What should I do?
the attachment
Similar Messages
-
How to get the source code of an HTML page in Text file Through J2EE
How to get the source code of an HTML page in Text file Through J2EE?
Huh? If you want something like your browser's "view source" command, simply use a URLConnection and read in the data from the URL in question. If the HTML page is instead locally on your machine, use a FileInputStream. There's no magic invovled either way.
- Saish -
How to get the source code of an HTML page in Text file Through java?
How to get the source code of an HTML page in Text file Through java?
I am coding an application.one module of that application is given below:
The first part of the application is to connect our application to the existing HTML form.
This module would make a connection with the HTML page. The HTML page contains the coding for the Form with various elements. The form may be a simple form with one or two fields or a complex one like the form for registering for a new Bank Account or new email account.
The module will first connect through the HTML page and will fetch the HTML code into a Text File so that the code can be further processed.
Could any body provide coding hint for thatYou're welcome. How about awarding them duke stars?
edit: cheers! -
How to get the path when i select a directory or a file in a JTree
How to get the path when i select a directory or a file in a JTree
import java.lang.*;
import java.io.*;
import javax.swing.*;
import javax.swing.tree.*;
import java.awt.HeadlessException;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
import java.util.Iterator;
* @author Frederic FOURGEOT
* @version 1.0
public class JTreeFolder extends JPanel {
protected DefaultMutableTreeNode racine;
JTree tree;
protected JScrollPane scrollpane;
final static int MAX_LEVEL = 1; // niveau max de descente "direct" dans l'arborescence
* Sous-classe FSNode
* @author Frederic FOURGEOT
* @version 1.0
private class FSNode extends DefaultMutableTreeNode {
File file; // contient le fichier li� au noeud
* Constructeur non visible
private FSNode() {
super();
* Constructeur par initialisation
* @param userObject Object
FSNode(Object userObject) {
super(userObject);
* Constructeur par initialisation
* @param userObject Object
* @param newFile File
FSNode(Object userObject, File newFile) {
super(userObject);
file = newFile;
* Definit le fichier lie au noeud
* @param newFile File
public void setFile(File newFile) {
file = newFile;
* Renvoi le fichier lie au noeud
* @return File
public File getFile() {
return file;
public JTree getJTree(){
return tree ;
* Constructeur
* @throws HeadlessException
public JTreeFolder() throws HeadlessException {
File[] drive;
tree = new JTree();
// cr�ation du noeud sup�rieur
racine = new DefaultMutableTreeNode("Poste de travail");
// cr�ation d'un noeud pour chaque lecteur
drive = File.listRoots();
for (int i = 0 ; i < drive.length ; i++) {
FSNode node = new FSNode(drive, drive[i]);
addFolder(drive[i], node); // on descend dans l'arborescence du lecteur jusqu'� MAX_LEVEL
racine.add(node);
// Gestion d'evenement sur JTree (on �coute les evenements TreeExpansion)
tree.addTreeExpansionListener(new TreeExpansionListener() {
public void treeExpanded(TreeExpansionEvent e) {
// lorsqu'un noeud est ouvert
// on descend dans l'arborescence du noeud jusqu'� MAX_LEVEL
TreePath path = e.getPath();
FSNode node = (FSNode)path.getLastPathComponent();
addFolder(node);
((DefaultTreeModel)tree.getModel()).reload(node); // on recharche uniquement le noeud
public void treeCollapsed(TreeExpansionEvent e) {
// lorsqu'un noeud est referm�
//RIEN
// alimentation du JTree
DefaultTreeModel model = new DefaultTreeModel(racine);
tree.setModel(model);
setLayout(null);
// ajout du JTree au formulaire
tree.setBounds(0, 0, 240, 290);
scrollpane = new JScrollPane(tree);
add(scrollpane);
scrollpane.setBounds(0, 0, 240, 290);
* Recuperation des sous-elements d'un repertoire
* @param driveOrDir
* @param node
public void addFolder(File driveOrDir, DefaultMutableTreeNode node) {
setCursor(new Cursor(3)); // WAIT_CURSOR est DEPRECATED
addFolder(driveOrDir, node, 0);
setCursor(new Cursor(0)); // DEFAULT_CURSOR est DEPRECATED
* Recuperation des sous-elements d'un repertoire
* (avec niveau pour r�cursivit� et arr�t sur MAX_LEVEL)
* @param driveOrDir File
* @param node DefaultMutableTreeNode
* @param level int
private void addFolder(File driveOrDir, DefaultMutableTreeNode node, int level) {
File[] fileList;
fileList = driveOrDir.listFiles();
if (fileList != null) {
sortFiles(fileList); // on tri les elements
// on ne cherche pas plus loin que le niveau maximal d�finit
if (level > MAX_LEVEL - 1) {return;}
// pour chaque �l�ment
try {
for (int i = 0; i < fileList.length; i++) {
// en fonction du type d'�l�ment
if (fileList[i].isDirectory()) {
// si c'est un r�pertoire on cr�� un nouveau noeud
FSNode dir = new FSNode(fileList[i].getName(), fileList[i]);
node.add(dir);
// on recherche les �l�ments (r�cursivit�)
addFolder(fileList[i], dir, ++level);
if (fileList[i].isFile()) {
// si c'est un fichier on ajoute l'�l�ment au noeud
node.add(new FSNode(fileList[i].getName(), fileList[i]));
catch (NullPointerException e) {
// rien
* Recuperation des sous-elements d'un noeud
* @param node
public void addFolder(FSNode node) {
setCursor(new Cursor(3)); // WAIT_CURSOR est DEPRECATED
for (int i = 0 ; i < node.getChildCount() ; i++) {
addFolder(((FSNode)node.getChildAt(i)).getFile(), (FSNode)node.getChildAt(i));
setCursor(new Cursor(0)); // DEFAULT_CURSOR est DEPRECATED
* Tri une liste de fichier
* @param listFile
public void sortFiles(File[] listFile) {
triRapide(listFile, 0, listFile.length - 1);
* QuickSort : Partition
* @param listFile
* @param deb
* @param fin
* @return
private int partition(File[] listFile, int deb, int fin) {
int compt = deb;
File pivot = listFile[deb];
int i = deb - 1;
int j = fin + 1;
while (true) {
do {
j--;
} while (listFile[j].getName().compareToIgnoreCase(pivot.getName()) > 0);
do {
i++;
} while (listFile[i].getName().compareToIgnoreCase(pivot.getName()) < 0);
if (i < j) {
echanger(listFile, i, j);
} else {
return j;
* Tri rapide : quick sort
* @param listFile
* @param deb
* @param fin
private void triRapide(File[] listFile, int deb, int fin) {
if (deb < fin) {
int positionPivot = partition(listFile, deb, fin);
triRapide(listFile, deb, positionPivot);
triRapide(listFile, positionPivot + 1, fin);
* QuickSort : echanger
* @param listFile
* @param posa
* @param posb
private void echanger(File[] listFile, int posa, int posb) {
File tmpFile = listFile[posa];
listFile[posa] = listFile[posb];
listFile[posb] = tmpFile; -
How to get the guid of currently opened page programatically
Hi,
Can any one of you please let me know how to get the guid of a page at database level which is opened currently?
The requirement is I need to grab the url of a page which is currently opened by the user.
Is there any way to get it from accessing the tables like wwv_things or wwpob_page$.
Please suggest me how to get it.
Thanks,
Ravi.Hi Ravi,
You may wanna explore the two API's (wwsbr_all_folders and wwsbr_all_items) and make a bridge to get the name of the portlets that appear on the page.
something of the following nature should be enough to take you where you want to go. here c.name is the GUID of the item you are looking for.
SELECT DISTINCT c.display_name,c.name,c.updatedate
FROM portal.wwsbr_all_folders a, portal.wwsbr_all_items c
WHERE a.LANGUAGE = 'us'
AND a.id = c.folder_id
AND a.caid = c.caid
AND c.itemtype = 'baseportletinstance'
AND a.Name LIKE 'MY_PAGE_NAME'
order by 3 desc
this will work in the portal but not in the sqlplus or any querying tool. for that purpose, it will work once you establish the context of user.
hope that helps!
AMN -
Question: how to get the adobe plug in to play a downloaded flv file ?
I want to know how to get the flv adobe plug in which i downloaded as a result abc or nbc or cbs.com i forget exactly which said i had to and also it seems to be used for playing most all videos from web such as those from utube,hulu, etc. So my question is how do i get the plug in to play any downloaded *.flv video ? The particulars on the one i have is:
Output folder: C:\WINDOWS\system32\Macromed\Flash
Execute: "C:\WINDOWS\system32\Macromed\Flash\uninstall_plugin.exe"
Extract: NPSWF32.dll
Extract: NPSWF32_FlashUtil.exe
Extract: flashplayer.xpt
also perhaps FLVPlayer.swf of about 9Kb may have something to do with it?
And the latest update i have was about jan 13 when it seemed to automatically take over my system and update itself.x
I know it has the ability to do what i want- which is full screen cropped ,change aspect ratios etc. and seems
It has to be able to or else it could not play the files and give those options which it does on some videos like from utube etc. in the first place. Unfortuneately it has something also to do with the useless *.swf files which are apparently of no use to anything and could certainly be eliminated .
I have downloaded several freebie flv players such as bs player etc. etc. but they all have so many faults and are not suitable. Bs player does what i want but it hangs , have to go to system mgr. to get out of it sometimes , often difficult to use etc.etc. The main features is i need is to be able to make and play playlists to automatically in full screen one after the other in a specified order with NO user intervention and the ability to magnify or 'pan in' i guess they call it and change aspect ratios so that i can have full screen as if just cropping part of horizontal such as if want to view a 16/9 aspect ratio on a computer as i have with the prior standard 4/3 aspect and change a downloaded vertically stretched to a cropped instead etc.
Also it doesn't make sense to download others and take up disk space when already have the adobe - also adobe seems to be the only one that plays hulu flv's correctly - on other flv players the video and audio are way out of sync and not just by few seconds but often by a minute or more. I know there is another 'pain' way to do it which is create a *.avi or other extension with loss of clarity etc. which have done but would like to be able to just do it in real time while playing the flv file itself as for example
as bs player does.
Anyway if there is no way to get adobe to do this does anyone know of any other free flv player downloads which will do what
i want - basically playlists, magnify , pan,crop and still full screen, change aspect ratios - other than bs player ?The plugin is what it is: a browser plugin - it cannot act as a standalone player.
To play local flv files you either need to
download/install the standalone player (Projector) from http://www.adobe.com/support/flashplayer/downloads.html
download/install Adobe Media Player http://www.adobe.com/products/mediaplayer/ -
How to get the number of resultSets opened ?
Hi,
As I have a memory leak in my application, I wonder if there is a simple way to get the number of statements and resultsets opened to determine if it dramatically increases.
Thanks.Hi,
As I have a memory leak in my application, I wonder if there is a simple way to get the number of statements and resultsets opened to determine if it dramatically increases.
Thanks. -
How to get the output of a procedure in to a log file ?
Hi, Everyone,
Could you please tell me
How do i write the output of a procedure to a log file ?
Thanks in advance...Hi,
could you please explain me more on how to use the UTL_file to get the output to a log file as in am new to PL/SQL
my script file is
EXEC pac_sav_cat_rfv.pro_cardbase (200910,'aaa',100,'test_tbl');
i need the output of this statement in a log file.
Could you please explain to me how it can be done.
thanks in advance -
How to get the shipping point details nothing but (name , address, etc)
Hi, i am having the billing document number from that i am fetching the delivery doc number and shipping point.
how i can get the shipping point details from the shipping point number.in which table i need to pass this shipping point number(VSTEL)?Hi Praveen,
TVST Shipping point
KNVS Customer Master Shipping Data
VTTK Shipment header
VTTP Shipment item
VTFA Flow shipping documents
TVSTZ Organizational Unit: Shipping Points per Plant
B024 Shipping point
TVSRO Shipping points: Countries in Which Routes are Defined
TVSWZ Shipping Points per Plant
You can get the details from ADRC table. Please note that the TVST table has got a field ADRNR, pls use the same field in identifying the number and goto ADRC table enter the number under the ADDRNUMBER. It will fetch the address details for you.
For ex from the standard SAP: I have taken std 0001 shipping pt. When I run TVST table for shipping points I get to see that ADRNR field has 297 as the number. I take the same number 297 and goto ADRC table and enter it under ADDRNUMBER and it will give me the address details entered for shipping pt 0001.
(or)
All Standard Reports which are available are as under:
SAP Easy Access: Information Systems -> Logistics -> Sales and distribution ->
Shipping point -> Deliveries / Returns
Shipping point Analysis - MC(U
Shipping point Analysis-Returns - MC-O
Reward if helpful,
Regards,
Harini.S -
After purchasing a album of TV Theme songs, during the download some of the themes would not load, an error message came up saying to the effect I did not have the correct info to download. Does anyone know about this issue & any thoughts on how I aquire the themes I paid for? The themes that did not load still show up in the music list but are greyed out & have an "!" exclamation mark beside the number of the item in the list.
Assuming you are in a region where you are allowed to redownload your past music purchases, delete the broken tracks from your iTunes library, close and then reopen iTunes, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
While downloading select Downloads in the left-hand column and make sure Allow Simultaneous Downloads is unticked.
If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the report a problem links in your account history, or via Contact Support.
See also: HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store
tt2 -
How to get the weblogic.httpd.session.timeoutSecs value in a JSP file
Hi,
We are using Weblogic 5.1 SP8. We set weblogic.httpd.session.timeoutSecs=900 in the weblogic.properties file. How can I get this value in a JSP file if I don't use java.util.Properties to parse the properties file?
Can I use session.getValue(sessionName) to get it? If so, what is the session name for this property?
Thanks.
Frank
I think something like this should work:
T3ServicesDef services = T3Services.getT3Services();
services.config().getProperty("weblogic.httpd.session.timeoutSecs");
Frank Yu <[email protected]> wrote:
> Hi,
> We are using Weblogic 5.1 SP8. We set weblogic.httpd.session.timeoutSecs=900 in the weblogic.properties file. How can I get this value in a JSP file if I don't use java.util.Properties to parse the properties file?
> Can I use session.getValue(sessionName) to get it? If so, what is the session name for this property?
> Thanks.
> Frank
Dimitri
-
When i am using firefox i have tried to use my printer which used to print okay but now every time i try to print anything i keep getting a message saying ( printer not responding and also close program or wait for program to respond.)
I am using windows 7 premium.Right click the printer in System Prefences - Print & Scan and use Reset Printing System... and then reinstall the printer, should take less than 5 minutes. Here is a photo showing how to Reset Printing System....
-
In my Bookmarks toolbar there is a star, an arrow, and a house. There used to be the word "bookmarks" but it disappeared. I want the word "bookmarks" back so that I can click on that. If I right click in the blue area, all I get is Open all in Tabs, etc. There is nothing to say how I get the word bookmarks.
Firefox has two bookmark buttons with a star in the Customize window.<br />
One star button has a drop-marker that open the Bookmark menu and may appear on the Navigation Toolbar or on the Bookmarks Toolbar if the menu bar is hidden.<br />
The other star button without the drop-marker opens the bookmarks in the sidebar (View > Sidebar > Bookmarks).
*https://support.mozilla.org/kb/How+to+customize+the+toolbar
*https://support.mozilla.org/kb/Back+and+forward+or+other+toolbar+items+are+missing
You can drag the Bookmarks menu button with the drop-marker in the Customize window from the toolbar palette on a toolbar (e.g. Navigation Toolbar or Tab Bar or to the left side of the Bookmarks Menu Items).<br />
If you do not see the drop-marker then try them both to see which works.
You only see the Bookmarks Menu button when the Menu bar with the Bookmarks menu is hidden (View > Toolbars or Firefox > Options).<br />
If the Bookmarks Toolbar is visible then the Bookmarks Menu button is displayed on the Bookmarks Toolbar as part of the Bookmarks Toolbar Items (bookmarks), but you can move it from the right side to the left side of the Bookmarks toolbar if the Customize window is open.<br />
Otherwise the Bookmarks Menu button will appear on the right hand side of the Navigation Toolbar. -
How to get the Open qty. in JIT Schedule in VA33 txn.
How to get the Open qty. in JIT Schedule in VA33 txn.
The F1 Helps says Structure VBEPD field name is OLFMNG.any clues ??
-
How to get the number of files currently open?
hi,
does any one know how to get the number of files currently open in windows OS?
e.g. lets say .txt files...
any comment will be really appreciated.
thanksAssuming that you don't want to actually do this from within Java code (which would obviously require native code), here's a utility that will give you a list of which file handles are opened by which processes (on Windows):
http://www.sysinternals.com/ntw2k/freeware/handle.shtml
- K
Maybe you are looking for
-
Need help trying to arrange 3 fields all near each other..in a region.
I have 3 fields and i am trying to arrange all near each other.. But i cannot The space is like Empno.. Fieldnename.....*empname*......................................fieldempname samplefield sampleno I am trying to understand why is there too much s
-
My phone wont charge? Help!
it will only come on if you wiggle the cable, so changed the cable and still didnt work! Now wont charge atall
-
I was cleaning up some workstations from my inventory db using the InventoryRemovalList.txt. It worked well except for 2 workstations that are not being removed. I'm exporting the workstations from the inventory db in C1 and copy/pasting to the Inven
-
Maybe somebody knows how to get the correct user which locked a record. The best way would be over the rowid of this record. I make a select for update nowait, then i get an exception. That means the record is locked. Now how can i get the user which
-
Extract Metadata from Final Cut Pro Project files...
We're currently scanning our project directory (running great by the way), but I'm curious - Is there a way for Final Cut Server to extract metadata from the XML. Timecode info, titling, descriptions, etc and tag that info to the final cut project wi