How can I use "cin" to output a sting to my vi for display?

I use vc++6.0 to debug my cin program,and my LABVIEW version is 7.0.
what i need is a example code to output a string just like "hello world!" from cin to vi.
who can help me?
Thanks a lot!

felixander wrote:
I use vc++6.0 to debug my cin program,and my LABVIEW version is 7.0. what i need is a example code to output a string just like "hello world!" from cin to vi. who can help me? Thanks a lot!
There
are examples shipping with LabVIEW Full and better that show this and
similar things. But.... why bother with CINs? Everything you want to do
is much easier done in LabVIEW directly and if that fails using shared
libraries (DLLs) is the future of interfacing LabVIEW to external code.
CINs is an anachronisme from old days when LabVIEW had to run on a
disguised command shell called Windows 3, that was trying to be a graphical user interface.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • How can I use apps that I have purchased from Apps Store for Mac on my iPad2?

    how can I use apps that I have purchased from Apps Store for Mac on my iPad2?

    Thanks, varjak, it is too easy to fall into use of jargon assuming everyone understands what it means.
    One additional point in all of this, not all "iDevice" apps run on every "iDevice".  Some are customized for a specific device, or class of devices such as the iPod/iPhone with their smaller screen.  Others for just the iPads for their larger screens.  So the user needs to be sure they are getting an app that will work on their specific device.
    And to Phoneboone, you do need to purchase the app again if it is for a different class of equipment.  When you are looking at apps such as iWorks for the Mac and iWorks components for the iPad, the iPad versions are very inexpensive.  Pages is only $10 (US) which is really cheap for such a good word processor that reads and saves in the MS Word format.
    Anyway, search for what you need and just enjoy the convenience of so many options for apps.

  • How can I use two analog output channels simultaneously?

    I am using PCI6110 DAQ card. I want to run two separate VIs on one computer. Each VI output a waveform to one analog output channel. How can I do this simultaneously without interfering each other?
    Thanks

    Hi Stephen,
    This can NOT be done with two seperate VI's.
    The issue is in the hardware/driver.
    Your hardware has a clock that controls how fast updates to the AO occur. That clock can only have one value at a time. I will let your contemplate the complications that come up with two different clock settings being active at the same time (see below).
    So how do you work around this complication?
    You will have to develop a single VI that OWNs both output channels. That VI will have to accept start,stop,configure, etc commands from the two clients (what you will have to convert your existing VI's into). If you decide to place a restriction on the services you provide to the clients along the line of "only one sample rate at a time" you will be making your li
    fe much easier.
    If I was contracted by a customer to do what you have asked, I would try to combine the two existing VI's into one or simply buy a second 6110 and avoid all of the hassles. Both of these approaches would end up saving the customer money in the long run while freeing them of any restrictions that where established in order to develop the "server".
    I hope this helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I use the embeded GPS in my Sprint MiFi Hotspot for  my location on my iPad4 wifi only device

    The iPad uses the wifi network to determine the location  My default connection is through my Sprint MiFi, but it does not use its location gps eventhough it is active for Maps. It did use a local tower in a wisconsin town yesterday and no it thinks I'm there and I cannot refresh it. I am brand new to apple IOS as I won the device last Thursday. I'm  trying to upgrade the OS to 7 as it has 6 installed. I need to find a faster connection to do it though.
    Any help wpuld be appreciated

    Re: How can I get the best out of my battery life?
    Hi,
    When I make phone calls people on the other end have difficulty hearing me. They describe as they can hardly hear me as if I was speaking through the pillow etc). I am not touching any buttons and obviously it is not mute. This was happening couple of time in June, then every now and then. Recently it happened a few time in 2 weeks. I was trying to check if it was a reception issue but the place I spoke from is my office I make 70% of phone calls from. Can you book time for me in repair shop and address the issue.
    Thank you.
    Sergey Sinitsyn

  • How can i use an old iphone until i get osx update for iphone 5...

    i bought a new iphone 5, but i cannot sync it with itunes since i have an old version of osx. meanwhile, the phone features on my old iphone 4 no longer work, coz i tried enabling the new iphone.  how can i turn on the phone on the old iphone (and disable it on the iphone 5) again?

    Contact your carrier to see if they can temporarily switch the service back to your old phone.

  • How can I use a script in a Livecycle Designer form, to force display of text in Title Case?

    Hello,
    I am a 'novice' who is DIY'ing the construction of a dynamic pdf form, using Adobe Livecycle Designer 7 (I know, it's a VERY old version!)
    [So, any help that comes along must be 'for Idiots'!]
    I need to construct a code (Java script?) so that a few of my text-fields DISPLAY data in Title Case - IRRESPECTIVE of how the user types in the data.
    So, for example, in a "Address" text-field...
    If someone types in ..
    "205 sherborne avenue"
    - OR -
    "205 Sherborne avenue"
    - OR -
    "205 SHERBORNE AVENUE"...
    I need the data to be DISPLAYED ESSENTIALLY as...
    "205 Sherborne Avenue".
    I found the following code online, and tried it in the 'exit' event of the field I need to modify (with 'language' selected as JavaScript)...
    <   this.rawValue = this.rawValue.replace(/\b([a-z])/g, function (_, initial) {return initial.toUpperCase();});   >
    ... This did convert all the 'initial' letters of the words to Upper Case - AS LONG AS they were not ALL typed in Upper Case!
    So, that code worked for the first two of my samples for Sherborne Avenue above - but it did NOT work for the last one...
    That is, "205 SHERBORNE AVENUE" did NOT get converted to Title Case - which is what I need help with.
    Thanks in advance...

    Hey TundraSteve,
    Thanks a tonne!
    Works perfectly!!!
    In fact, your solution is so elegant and direct, that even I am beginning to get a sense of how it works... I have looked at LOTS of similar codes in the past few days, but was not at all getting a sense of how they are working! But comparing your solution with the earlier one I mentioned, I am beginning to get a sense of things!
    Any suggestions for what I should read-up in order to understand this king of coding?
    I have basically been using the built-in 'Help' - and, trial-and-error - and I have designed my first form - a pretty elaborate one, actually!
    So, it would be great if you could guide me through the 'learning curve' a bit!
    [I have figured-out the 'basics' - that is, I can lay out the form, use 'if-expressions' (FormCalc), trigger events, even build Subforms that are hidden but 'appear' when triggered by other actions, and so on. What I can't figure out are the various 'code languages' (syntax?) that are being used - like " var sometext", for eg.!]
    Cheers, and thanks again!

  • How can I use a windows netbook as a wireless hard drive for a Macbook Pro?

    I have an old Acer Aspire One netbook sitting around and a 2TB WD hard drive that I use with my Macbook Pro 15" running Mavericks. I was wondering if anyone had an ideas how I could wirelessly access the netbook with the WD external HD attached from the Macbook Pro. Furthermore does anyone have any ideas how I can use the netbook as an airplay client so I can stream my Mac, iPad, or iPhone to my netbook which would be plugged via VGA into a TV?
    Any help would be greatly appreciated!
    -Micah

    Download and install the airport utility for windows.. it isn't strictly necessary but the bonjour service makes life easier.
    The request for username and password is correct. Username is whatever you like.. but windows needs it.. so admin.. being the common router one.. password by default is public unless you changed it.
    Now to get the TC to work properly..
    1. The names should be SMB compliant.. by default they are wrong.. use short names, no spaces no special characters.. pure alphanumeric. That is for TC name and wireless names.
    2. Wireless passwords should also be same use WPA2 private.
    3. In the disk sharing page.. manual setup.. put in the windows workgroup name.. ie WORKGROUP.. this helps the discovery process.
    4. In the same area, turn on the guest account to read and write.. not necessary but helps with later versions of windows particularly.
    5. Access the drive by using the direct IP address. ie in Windows Explorer address bar, \\10.0.1.1 (or whatever IP the TC is at).

  • I cannot open my Earthlink webmail with Firefox. I can with Internet Explorer. How can I use Firefox to open it again. That worked for years for me.

    This started after I downloaded zotero. Could that be the problem? If so, how do I get rid of zotero?

    Sorry, I can't help with Hotmail, beyond clearing the cache - I haven't used it for 11 or 12 years now. Surprising that a Firefox 3.6 version would have trouble there, as 3.6 has been around for well over a year and Hotmail problems are usually with a recent release of Firefox.
    IMO, if Hotmail support can't help you with Firefox issues on their website and can only recommend using IE, maybe it's time to change web mail service providers. My advice is to signup with a different web mail service, one that takes Firefox seriously. Then set up forwarding in your Hotmail account to have all your Hotmail emails forwarded to that new account. Then slowly transition your email contacts over to the new email address over time. As long as you log in to Hotmail every month or two, your account there should stay active and emails sent there should get forwarded to the new email account. I have done that three times in the last decade, and the first one I transitioned from was still forwarding email thru the two intermediary accounts to my current account until last summer when that service finally changed owners and they wanted all new accounts set up or transitioned to their new software - which I didn't do - and I hadn't even signed into my account there in over 4 years and "forwarding" was still working.

  • How can i use my 3rd Generation iPod as a portable harddrive for files...

    now that i have a brand new 5th Generation 60Gig iPod, i want to use my old 3rd Generation iPod as a portable storage devise for files and whatever else. not for listening to music anymore. what do i have to do to make this so?
    i can just go ahead and use the firewire cable that came with it right? and will i actually be able to upload files to it, and then download them again? like word documents and photo files or spreadsheet or whatever?
    will it be cross platform then? meaning will i be able to take it to my friends pc (i use a mac) and download my resume or spreadsheet or whatever else to his machine (of course i would have to use the usb cable then).
    know what i mean? i want to use this think like an external harddrive.
    please advise.
    iBook and Macbook Pro   Mac OS X (10.3)   and OSX 10.4 on the MBP

    i think ipods are generally set to enable disc mode, so you can use it as a storage device, by default (if yours isnt, plug your ipod in, and go into options to select enable disc mode). just connect the ipod with whatever cord it came with to your computer, then look into the m.. is it called "my harddrive" or "harddrive"? and you should see the ipod connected there on the left side of the window with "network" and "music" etc. if you click on the ipod icon, you can drag and drop files into your ipod just as you would any other folder and use it as a harddrive.
    the tricky thing is using it for both pc and mac. i think if its formatted for a pc, you can use it on both macs and pcs. but if you have it formatted for a mac, then only macs can read it.
    so if you want to use it on your friends pc as well, format your ipod on a pc first so you can use it on both platforms.
    chris

  • How can I use my Time Capsule as an external Hard Drive for my PC?  My PC can't find it.

    Hi, I just bought this Time Capsule for my home.  I've got the internet access for all my devices (Mac, iPad, PC, iPhone) and I've got the Mac backup working through Time Machine.  I'm supposed to be able to use the Time Capsule as an external drive for my PC, but I can't figure it out.  My PC doesn't recognize the Time Capsule as a Network Place.  I called AppleCare, but they don't have all the answers for "PC issues."  They tried to get me to Map a Network Drive, but my PC popped up a window asking for a Username and Password.  It looks like something similar to when I VPN into my company network from home.
    I'm using Windows XP Professional, Version 2002, Service Pack 3.
    Any help would be appreciated.
    Thanks!

    Download and install the airport utility for windows.. it isn't strictly necessary but the bonjour service makes life easier.
    The request for username and password is correct. Username is whatever you like.. but windows needs it.. so admin.. being the common router one.. password by default is public unless you changed it.
    Now to get the TC to work properly..
    1. The names should be SMB compliant.. by default they are wrong.. use short names, no spaces no special characters.. pure alphanumeric. That is for TC name and wireless names.
    2. Wireless passwords should also be same use WPA2 private.
    3. In the disk sharing page.. manual setup.. put in the windows workgroup name.. ie WORKGROUP.. this helps the discovery process.
    4. In the same area, turn on the guest account to read and write.. not necessary but helps with later versions of windows particularly.
    5. Access the drive by using the direct IP address. ie in Windows Explorer address bar, \\10.0.1.1 (or whatever IP the TC is at).

  • How can I use an external hard drive that says it's for pc?

    HI,
    I just ordered an external hard drive that said it would work with Macs. ON the box, it says for Pc's only. Is there a way to have it work with macbookpro?
    Thanks

    Does the macbook detect the HD in finder? If it does then you can go to DISK UTILITY and select it on the left panel side of DISK utility and go to ERASE. Select Exfat or Fat 32 format if you need to go in between MAC OSX and Windows 7. (Exfat is not supported on all machines running XP) Click the erase when you have the correct format and it should work.
    If you can't detect the HD on your mac then you need to format it on a Windows machine to FAT 32 then you should be able to read it.
    Your still using leopard? do you happen to have a PPC?

  • How can I use iMac mid 2007 24" 2.8GHz as screen for Xbox

    I am about to buy a new Xbox with Kinect. I would really like if there was some way I could use my iMac as a screen with it. There is not a lot of space in front of our TV, so playing (and jumping etc) in front of the mac will be ideal. I have searched around and havent really got an answer. I guess the Belkin AV360 only works with the 2010 27" iMac and the mid 2007 iMac does not have any dvi in ports. I am not sure if the EyeTV Hybrid in game mode would do the job? Has anybody used it to connect xbox/ps2 etc?
    I have thought of getting another LCD for it, but there just isnt enough space in our small apartment for another tv.
    Any suggesstions would be appreciated.
    Many thanks

    Short answer, you cannot.
    Dah•veed

  • How can i use two iPads to play a different AU-Instrument for each Pad at the same time via WLAN?

    We have two iPads connected to the MacBook with two different Midi-Sessions. Now we want to connect the every Session to a single AU-Instrument to record live but don´t get it right. In Cubase we just had to choose the Sessions as Midi-Input.
    (Sorry for bad englisch )
    cheers

    Your second post differs form your first, in the first post you said "single AU instrument", in this last post you said "separate synths".  I'll address the second post.
    It's a bit more difficult in Logic than Cubase which has an updated more modern MIDI system.
    The iPad MIDI software will need to transmit on separate MIDI channels for each iPad.
    example:
    iPad #1 MIDI channel 1
    iPad #2 MIDI channel 2 ...etc, doesn't matter which channels as long as they're separate.
    Boot Logic:
    Go to Settings/Recording and select  "Auto Demix by Channel if Multitrack Recording"
    Now setup your AU tracks, select separate channels in the inspector, the channels must match the transmit channels on the iPod.
    You used to have to record enable the tracks, I don't believe that is necessary now.

  • How can i use this library to draw squiggly line below word for RichEditable?

    Squiggly Release Notes:
    AdobeSpellingFramework.swc
    A class that facilitates the drawing of squiggly lines below words for various text components.
    Im not using squiggly spell check egine bcause it is not supporting arabic language.
    Rest of the work i have completed, i just want to draw squiggly lines below word.
    Please help me.....Thanks

    Did you ever get an answer for this ?

  • How can i use flash9 ocx in vb

    how can i use flash9 ocx in vb6 it's not working for me.some
    error showing
    Anil Mathew SIXDAYSWORKS

    how can i use flash9 ocx in vb6 it's not working for me.some
    error showing
    Anil Mathew SIXDAYSWORKS

Maybe you are looking for