Text-to-sp​eech in CVI ?

Hi,
I'm just working on a CVI project and I wish to implement some
text-to-speech function.
My purpose is to inform the operator that some problem occurs in the
process, both with a standard message popup and a "vocal" one. I can't
use waves
as I want my messages to be "real time" adapted.
Does someone tried somthing like this ?
Regards,
Fred.

> I'm just working on a CVI project and I wish to implement some
> text-to-speech function.
I remember trying out some Microsoft Speech API some years ago. Didn't have
the time to finish though...
if you have the MSDN:
mk:@MSITStore:V:\MSDN\period96.chm::/html/msj/S233​.htm
mk:@MSITStore:V:\MSDN\backgrnd.chm::/html/overview​api.htm
When there is a problem, I like it better if the computer catches fire. It
gets the user's undivided attention much faster !!!
Guillaume Dargaud
CNR/IFA
http://sung3.ifsi.rm.cnr.it/~dargaud/
http://sung3.ifsi.rm.cnr.it/~domec/
http://www.appennini.it/roma8000/
http://sodarserver.ifa.rm.cnr.it/
"So far as I can remember, there is not one word in the Gospels in praise of
intelligence." Bertrand Russell.

Similar Messages

  • Urgent How to fulfill multiple lines input in CVI front panel?

    Hi Guys,
    I want to paste multiple lines text from other files to CVI front panel, but String, Text Box or List Box can't do when I tried.
    Could some one tell me how I can realize it or show me an example?
    Thanks in advance!

    You can add this functionality by using RunPopupMenu to display your own menu when right-clicking on the control: see this discussion and the example attached to this post.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Save the Overlay Figures and Text in an Image File in cvi

    is possible have an examples "Save the Overlay Figures and Text in an Image
    File"
    thanks
    nicola mirasole

    Nicola,
    I am sorry but we do not have an example for "Save the Overlay Figures and Text in an Image File" for CVI. Currently, you are going to need to use Window's API calls in order to get this functionality.
    Regards,
    Mike

  • Comment changer le format d'une partie de texte dans un contrôle Texte Message en CVI

    Bonjour
    Après avoir essayé plusieurs méthode pour modifier le format d'une partie de texte afficher dans un contrôle Text message sous labwindows.
    ex : Je veux mettre en gras ou en couleur une partie du texte affiche
    Je me permets de vous poser cette question.
    Peut - on faire ceci ? J'ai vu que l'on peut utiliser une richTextBox mais je n'arrive pas à charger l'activeX pemettant d'intégrer ce control.
    Merci d'avance
    Cordialement

    I'm not exactly sure that I have corretly understood your question, but it seems to me that you want to have part of the text in a textbox with different attributes (color or boldness or so). This in not possible with regular textbox control, which holds only one set of attributes valid for the whole control.
    I am afraid the richtextbox is the only valid control for such a matter.
    As a last note, here the link to the french board of the forums where french-speaking users can discuss in their native language.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to create and handle a text file in CVI

    Is there any way to create and handle (like...open,write,read,truncate,close)  the .txt file in CVI?

    Sure. CVI is a regular C compiler and hence you can use all ANSI C functions. In addition you can use the File I/O functions from the utility library.

  • Cannot display square root symbol in cvi

    I don't understand why this would be an issue, but if I'm writing in the source window (with the default font of NIEditor), I cannot display a square root symbol "√" - every time I type alt+251, I get "v". Ok, not a huge deal in the source window, but it is a big deal if THAT is what's being stored in a string variable I'm writing out to a file. Additionally, if I use the following to format a string:
    "Fmt(setpointUOM, "%s<W%cT/P3", 251);", then setpointUOM = "WüT/P3". If I display this variable in a string control, it displays as "W√T/P3", which is correct, but if I use it in a Text Box or save it to a sql database, it displays "WüT/P3" which is unacceptable.
    I've tried changing the fonts but nothing works or I get even stranger results. I've been dealing with/ignoring this since CVI7 and I'm currently at CVI10. Thanks for any help.
    Solved!
    Go to Solution.

    The difference in the display between W√T/P3 and WüT/P3 has to do with the character set that you select for the UI control. From what I can tell, only the OEM code pages map the √ symbol to character 251, so if you want to see √ for that character, you should pick the OEM character set, in that control.
    Entering √ with the keyboard in a CVI window seems like a much more problematic task. When you type Alt+251 on a CVI window, the keyboard driver is converting the 251 to 118 (the letter v). I don't know why it does that, but I noticed that the code that it converts 251 to varies, depending on your input language (which you can change in Control Panel>>Region and Language>>Change keyboards or other input methods). When english is selected in the language bar, it converts it to 118. With other languages, it converts it to other codes. I tried entering the unicode value for √ directly, which is Alt+221A (to enter unicode characters using the keypad, you have to follow the steps described here). But it didn't work. It still converted it to 118. I suspect the keyboard driver is doing this because it tries to map 221A to some symbol that is valid in the code page that corresponds to the input language, isn't able to, and picks what it thinks is the closest match.
    In lots of other applications (but not all) you can type Alt+251 or Alt+221A and it works just fine. This is because those applications accept unicode characters directly. Unfortunately, CVI isn't one of them. It uses code pages (a.k.a. character sets, or multibyte sequences) instead of unicode, and symbols don't have a universal meaning; they depend on the code page.
    Even if all this were not an impediment, you'd still run into the problem that in CVI 2010 you cannot change the font of the CVI source window to use an OEM character set. So, you'd still see it displayed as a v or a ü. In CVI 2012 you can change the change it, and so if you were using CVI 2012 you could conceivably use the clipboard to paste the √, but there is a bug in CVI that is preventing OEM characters from being pasted correctly (I realize the description says that it affects tree tooltips, but it's also generally affecting clipboard operations of some less commonly used character sets).
    So, to make a long story short, I think you should continue entering the code directly with the Fmt function, at least until this bug is fixed. And make sure that all UI controls that need to display this string are using the OEM character set.
    Luis

  • Text wrap in text box

    In the book module. I select one of the cover options that has a text box. When I type and get to the end, the text does not wrap to fill the box. Instead it types over the same line. Is there a way to have the text continue to the next line? I am using LR4 on Windows 7.

    Dear 10Degree!
    May be this example will be useful. Look for comments on the block diagram.
    Jack
    Win XP
    LabVIEW 6.1, 7.0, 7.1, LabWindows/ CVI 7.1
    Let us speek Russian
    Attachments:
    scrolled textbox.vi ‏33 KB

  • Visual Studio or LabWindows/CVI?

    I have a bit of a dilemma.
    I currently own Visual Studio 2010, IMAQ Vision Development Module 2013, and Measurement Studio (not sure of version). I currently do all of my programming in VB.net. Because IMAQ VDM is stuck in .Net framework 3.5 and there will be no further .net development by NI, I need to plan for the future. My applications need run on Win 8, 9, 43, or whatever my company decides to migrate to from Win 7.
    My understanding is that the NI modules I currently own will work with LabWindows/CVI. Correct? I also believe I can use them with C++ using the VS IDE. Is this also correct?
    Within my applications I do a lot of interfacing with Excel, writing text files, and interfacing to non-NI devices (cameras, DAQs, scanners, etc). I am able to do these things pretty easily using VB.net using vendor-provided SDK's.
    Therefore, my question is this...given the investment I have in software already, do I gain anything by migrating to LabWindows/CVI? What do I lose?
    I should point out that regardless of the path I choose I will need to bone up on my programming skills in the corresponding language.
    Thanks for all your help!

    Hello Steverino!
    Here are some advantages when using LabWindows/CVI over Visual Studio, which make the product more suitable for various industry-related applications:
    You are correct, LabWindows/CVI integrates with the NI platform: NI hardware and software, like TestStand or LabVIEW (e.g. debugging source code from one software to another, seamlessly).
    NI hardware and third-party hardware connectivity.
    OpenMP support.
    CVI integrates with intrument control.
    CVI Run-Time benefits from User Protection.
    Run-Time checking (e.g. for uninitialized variables).
    Scientific User Interface Controls and GUI Editor.
    Advanced debugging capabilities:
    Remote debugging support from ADE.
    Real-Time debugging support from ADE.
    Memory leak detection using the LabWindows/CVI Resource Tracking Window.
    Just-In-Time debugging.
    Deployment: build custom installers and patches that you can ship as stand-alone easy-to-use installers.
    LabWindows/CVI libraries: Advanced Analysis, Toolbox, Connectivity (Network Variables, Network Streams, DataSocket), etc.
    Support for LabWindows/CVI Toolkits: SQL Toolkit, Vision, PID, RT.
    Regards,
    - Johannes.

  • How to set a DMA transfer type for PXIe-6536 in LabWindows/CVI?

    I have a PXI chassis PXIe-1078 with a controller PXIe-8115 running under Windows 7. The digital output board is PXIe-6536.
    I use a function DAQmxSetChanAttribute to set a property DAQmx_DO_DataXferMech to a value DAQmx_Val_DMA, since I want to use a direct memory access data transfer. This wokred well with a PCI-6534 board using the same LabWindows/CVI code before migrating it to the PXIe system.
    Unfortunately, running this code on the PXIe system reports a DAQmx error -200452: "Specified property is not supported by the device or is not applicable to the task".
    The task is created in the following simple way (the board name in MAX is 'Dev1'):
       DAQmxCreateTask ("digTask", &digitalTask);
       DAQmxCreateDOChan (digitalTask, "Dev1/port0:3", "DIG_CHANNELS", DAQmx_Val_ChanForAllLines);
       DAQmxSetChanAttribute (digitalTask, "", DAQmx_DO_DataXferMech, DAQmx_Val_DMA, 15);
    How can I solve this problem? How is it possible to choose between different transfer types?
    Thank you in advance for any hint!

    Hi CavityQED,
    The PCI-6534 is a "Digital I/O" board while the PXIe-6536 is a "High Speed Digital I/O" board, that's why they don't have the same properties.
    By the way you can use DMA transfer with this method :
    http://zone.ni.com/reference/en-XX/help/370520J-01/hsdio/direct_dma/
    Let me know if it helps you.
    Regards.
    Mathieu_T
    Certified LabVIEW Developer
    Certified TestStand Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    LabVIEW Tour
    Journées Techniques dans 10 villes en France, du 4 au 20 novembre 2014

  • Change of a single line in a text file

    Is there a option in CVI to change a single line in a text file (.txt), without reading the whole text file into the buffer and writing the whole buffer back after the editing from the one line?

    Not that I am aware of.
    I'll be glad to know such a function if somebody can point us to it! 
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Out of Memory Error - Unable to Open UIR in CVI

    I have a 38 MB UIR that I cannot open (I didn't create it, a colleague did) in CVI 8.0.1. I would like to edit it to reduce the size of the images within, but that requires the UIR to open first. I keep getting an error "Cannot open user interface resource file ... (Out of memory)". I've tried defragging my hard drive and increasing the virtual memory and rebooting. I have also tried to use the code converter to write the UIR to a *.c file, but I get the same error. I have a 2.4 GHz Pentium 4 machine with Win XP and 1 GB of RAM. I cannot submit the file because it has proprietary information in it. Before I try to re-create the file from scratch, is there any other solution possible?
    Thanks,
    John

    Hi LucaTesi,
    From ogre's profile it looks like he last visited the forum in 2007.
    So beware that it is possible he will not be responding to your message.
    I do not have much idea on your problem. Just a wild guess:
    In the machine you could open the UIR, can you try to convert it to a text-UIR and move that file to your machine.
    Maybe yours can open the text version, so you can edit it and save as a lower size file.
    Hope this helps, 
    S. Eren BALCI
    www.aselsan.com.tr

  • NI report with Cyrillic text

    Hi all,
    I need to produce a pdf report with Russian text.
    As you can see in the code, I using the "NIReport_SetTextAttribute"command for transliterate the charset to russian.
    if I set the system language to Russian I can type Russian characters in to pdf, there is no error.
    But when I change the system language ( exp:to English),there is not any characters in to pdf.
    How can I solve this problem?
    Attachments:
    result_pdf.png ‏34 KB
    code.png ‏51 KB

    Hello Basil and Humphrey;
    I will try to explain the problem. Let's go over a CVI example, so you can reproduce it on your own.
    In the NI report example (nirsample.cws) shipped with CVI installation, an attribute called NIR_TEXT_ATTR_FONT_CHARSET is used.
    In one case, it is changed to "NIRConst_CharsetSymbol".
    As a result of this symbol charset setting, if you type "qwerty" as a string in your code, it is displayed as 6 different symbols side-by-side in the resultant PDF report file (we print the file to a PDF printer not on paper).
    This means, the report toolbox gets the character codes representing the letters "q,w,e,r,t,y" and prints corresponding symbols instead whose character codes match those latin letters. To obtain this result, you do not need to change any computer setting (system locale, CVI editor font charset, etc).
    So we thought, if we type some the same "qwerty" string and then select the Russian charset instead of symbol we would see corresponding characters from the Russian alphabet. But that is not the case.
    The only way to print Russian into NI report is to change the system locale (Control panel > Regional Options > Default language for non-unicode programs) to Russian. In that case, we can print Russian characters in the code as strings.
    (we also set the keyboard input language to Russian, but that is not a must, you can type Russian using combinations like ALT + 0215 once the locale is Russian and still get the same result)
    After this locale setting, the created PDF displays Russian characters even if the NIR_TEXT_ATTR_FONT_CHARSET attribute is not NIRConst_CharsetRussian.
    It look like the font charset attribute is not fully implemented. It works for symbol charset but not for Russian.
    So the questions are:
    - Is this expected behaviour?
    - Why symbol charset behaves different then Russian for instance?
    - What is your suggested method for printing Russian text in pdf reports?
    Thank you.
    S. Eren BALCI
    www.aselsan.com.tr

  • How to edit the list box items in labwindow/​CVI?

     how to edit the list box items in labwindow/CVI?

    Listbox items cannot be edited directly in the control: what you can do is to select a line an, transfer its content to a textbox control, edit text there and move text back to the listbox control. Available interactions with the listbox control are listed in the help.
    An alternative to it is to use a tree customized to appear like a listbox: tree item labels can be edited directly in the control, at least those in the base column of the tree. You can look at the example \samples\userint\treelist.cws that shows how a tree can be customized this way. I haven't opened it, but this old example too should show the ability to edit tree cells.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Problem with CVI blocking UART Callback

    Hi,
    I have been using LabWindows CVI 9.0 since a few years now and I have seen a problem that didn't blocked me until now.
    My LabWindows Software freezes, the code is no longer executed, when I hold a click on the interface, on a string for example.
    The problem is that I use a device that emits data continuously on a COM port. When I decide to drag the software window or simply hold a left click on the interace the software stop acquiring data from the COM callback and my software misses data.
    Do you have a solution for this problem ?
    Thank you

    HI Penou,
    In fact it is a good idea using multiple Threads to  avoid this kind of behavior.
    Maybe you are using ProcessSystemEvents to handle events,  on the same main thread. 
    If it is the case, when ProcessSystemEvents handles an event that starts a tracking loop, such as the user pulling down a menu, ProcessSystemEvents does not return until the tracking loop completes. In the case of pulling down a menu, the tracking loop does not complete until the user dismisses the menu. 
    You have several inforrmations about ProcessSystemEvents here.
    Regards,
    Rémi D.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Les rencontres techniques de NI - Mesures et acquisition de données : de la théorie à la mise en ...

  • Print texts in different formats on one page

    Hi all,
    Is it possible to print the texts on one page in different fonts and sizes? It seems like PrintTextBuffer prints all the texts onto one page at once and there is no chance to change the format. Thanks,
    LT
    Solved!
    Go to Solution.

    I must admit that I give you that suggestion but I have not used those functions in several years  ; testing your function on my system now (CVI 2009SP1 on Win7 with HP LaserJet printer) I have the same results as you.
    Due to the limitations of this printing method I moved rapidly to other ways of printing: there are numerous discussions that you can find in the forums about reporting, but basically you can:
    Create a hidden "report" panel where to print your data on standard controls (strings, numerics, graphs, tables and so on) and use PrintPanel to print it
    Use NIReports instrument
    Use Office report printing (via Word or Excel)
    Create a PDF
    ... (other methods I cannot think of at the moment)
    The first one is probably the fastest one: you are already accustomed to create panels and after a short trial you can define the correct panel/control aspect to obtain a good report; it permits you also a limited preview if you want to.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

Maybe you are looking for

  • Why does the size of my photos reduce to 0mb after editing in iPhoto?

    Please bear with me here.  I am a new Mac user (MacBook Pro, 2008, OSX 10.7.5), as well as not the most technologically competent person in the world, so I might need a little patience and additional questions to help me understand everything!  After

  • HT204053 Should I use one Apple id for two Apple products

    I Bought iPad and already had iPhone ans used same I'd for both want to know if in future I deleted apps from my iPhone will it be deleted from my iPad also or visa versa

  • Deleted song keeps returning to library

    I described this problem originally on this post as a song mysteriously replicating itself and automatically playing when iTunes launches. Here is what I've done so far: physically deleted the directory the song was located and removed it from the sy

  • Problem in SSO Connection

    Hi All, I am Running with ABAP+Java Stack with windows 2003 and Oracle Database. I checked Profile Parametes in the Backend in RZ10. Default Profile i am getting following Errors. It is showing few unknown Parametes. Parameter Name                   

  • Do anyone know how to convert a decimal to binary, 1 into 01

    do anyone know how to convert a decimal to binary i wants to convert 1 into 01, but the computer print out 1, it didn't print 0 also 0 it also print only 0, and 3 it print11 so decimal of 3, the computer print correct, but 0 and 1 it print wrong how