How do I tell a variant input that a string is coming in?

I'm just learning how to use LabVIEW, so my apologies if this is a simple/stupid question.
I'm trying a variant on a DataSocket Read VI that was supplied with LabVIEW (I'm running version 7.1).  I've got the "data" output line tied into a string.  The "type (Variant)" input is connected to a 1-D array of unsigned bytes.  There is an error in the wire connecting the "data" output to the string element, though:
You have connected two termnials of different types.  The type of the source is 1-D array of unsigned byte [8-bit integer (0 to 255).
The type of the sink is string.
All well and good.  How do I change the type of the source to string?  When I right-click on the source and select "Replace", I can't see anything in there that looks like a string that isn't a constant... that is, a string type.  I'd appreciate any insight you can lend me on this.

In the strings pallete you an find the Empty string constant or just a string constant . Wire that to the input (type) connector and it should produce the string you want.
Or you insert a byte array to string function in the broken wire.
Regards,
André
Message Edited by andre.buurman@carya on 08-29-2007 12:05 PM
Message Edited by andre.buurman@carya on 08-29-2007 12:05 PM
Regards,
André
Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

Similar Messages

  • How do i tell iphoto [in faces] that i dont know a person or it isn't a face at all

    how do i tell iphoto [in faces] that i dont know a person or it isn't a face at all?
    I'm using iphoto 11. Identifying all the faces in my pics.  It keeps suggesting the same pics for lots of people.  I dont know the people in these faces but I cant find a 'i dont know who this face is option to clear them out of the list of waiting to be identified.  Also some of these are people at all but odd bits of tree and such like [also faces from posters screens ...] but there seems to be no 'this is not a face option'.  I havent yet looked on the actual photo but with a library of 10,000 ish photos i dont even know how to find the photos with these particular faces in them.
    help
    thanks
    Ian.

    Hi,
    For a cloud service, though it is possible to access instance VMs and do changes on their file system by RDP sessions, but it is not recommended, as you will end up loosing your changes if role instance VMs are restarted.
    If you really want to keep certain settings configurable and which will be shared by all your role instances, best way to do is to utilise the cloud service configurations, typically you mention these settings in .cscfg file and you can also edit those using
    azure management portal.
    You can also access those from your code 
    string settingValue = CloudConfigurationManager.GetSetting("SettingString");
    Read more about it here - http://msdn.microsoft.com/en-us/library/azure/ee405486.aspx
    http://haishibai.blogspot.in/2012/09/windows-azure-cloud-service.html
    Bhushan | Blog |
    LinkedIn | Twitter

  • How can I tel a story , so that when you read a line the tekst slowy goes up

    Hello,..
    to start the movie, l want to tell a story first ( 2 A4 of tekst)  and it must be so that if you read a few line they slowly will go up so that you can read the rest.
    Help
    thanks
    jan van straten

    The simplest option is to use the Rolling Credits title in iMovie. Rolling Credits has a left and right component (so you can do "Role" and "Played By")
    So to tell a story, you would use the left boxes only.
    You could also use the Far Far Away title for a Star Wars type effect, but with the Star Wars title it is dificult to read the whole thing as it travels off into space.

  • How to remove the last line input into a string indicator??

    I am currently working on a program where the user has the ability to create a profile for one of our lab machines to run.  When the user selects what parameters they would like, a string indicator shows the user the last input they set followed by a comma.  For example, if the user selects which profile they want, and the times they would like to set, the following string would be displayed:
    As you can see in the picture above, the profile is updated in the string indicator after every set button is hit.  In the event the user makes a mistake, I want them to have the ability to delete the last line that was added.
    This is the code I developed so far.  The string coming in and leaving is attached to a shift register so it continues to append to the indicator.  I tried in this case to count how many lines have been written in the string so far, and I built an array with the current string.  Using the delete from array.VI I indexed it to the number of lines that was created so that the last line is deleted.  I unfortunately had no luck.  Any suggestions?

    tbob wrote:
    Fonzie1104 wrote:
    Hey Tbob,
    That almost worked.  The only issue though is it leaves a null string in its place without moving everything after up one line.  Also, if i have a parameter repeating multiple times, it doenst seem to work.
    I'm confused.  If you are deleting the last line, how can there be anything after?  What do you mean by a parameter repeating multiple times?
    If you look at my example front panel, you will see that the last line is deleted.  Isn't this what you asked for?
    It's due to the fact that your constant doesn't have a comma in the last line. If you add that in, you should be able to reproduce his problem. This is just a guess though, I didn't actually test it to see.
    Message Edited by for(imstuck) on 06-08-2010 01:24 PM
    CLA, LabVIEW Versions 2010-2013

  • When I email myself a picture from my iphone 4s, the email is sent from an email account that I don't have set up as the default account. How can I set it up so that the emails are coming from the default account selected in Mail?

    Under my mail tab, it shows that I have a specific email account set up as a default account. That is the account I would like for me emails to be sent from. But when I actually send out an email such as a picture, it is being sent from one of my different email accounts that is not set up as the default. How can I change this so that future messages will be sent from the default account? Any advice would be appreciated. Thanks!!

    All photo attachments received or sent with the iPhone's Mail app appear inline or viewed in place within the body of the message when viewed with the iPhone's Mail app which is the same with the Mail.app on a Mac. A photo attachment that appears inline or viewed in place does not mean the photo was not sent as a true attachment to the message. A photo attached to a message with the iPhone's Mail app is sent as a true attachment to the message. How an inline or viewed in place attachment appears on the recipient's end depends on the recipient's email client. If the recipient's email client does not support viewing an attached photo inline or viewed in place within the body of the message, the attached file must be manually selected and opened to viewed.
    I am getting the email with the Picture Inline ( not as attachment),The picture is shown distorted , no metter what i do and with what mail client i am using (Gmail\Hotmail\My Enterprise exchange mail), i still get the same behavior.
    With which email client?

  • How can I tell my program to calculate a specific array?

    I am supposed to create a program that calculates a mortgage payment based on the user's input of the Loan's Total Principal. I had to add a selection box (combo box), which I did, but now I need to tell my program to calculate the monthly payment based on the user's input of the principal -and- the selection the use chose. However I am not quite sure how to do that. I have created arrays but I am not sure how to tell my program that If the user selects option A, calculate the payment based on option A's info. If it is B, use B's etc.
    Any help is greatly appreciated.
    Cheers
    Here is a portion of my code: public class test extends JApplet implements ActionListener
         // Defining of format information
         JLabel heading = new JLabel("McBride Financial Services \n" + "Mortgage Calculator \n");
         Font newFontOne = new Font("TimesRoman", Font.BOLD, 20);
         Font newFontTwo = new Font("TimesRoman", Font.ITALIC, 16);
         Font newFontThree = new Font("TimesRoman", Font.BOLD, 12);
         Font newFontFour = new Font("TimesRoman", Font.BOLD, 14);
         JButton calculate = new JButton("Calculate");
         JButton exitButton = new JButton("Quit");
         JButton clearButton = new JButton("Clear");
         JLabel instructions = new JLabel("Please Enter the Principal Amount Below");
         JLabel instructions2 = new JLabel("and Select a Loan Type from the Menu");
         // Declaration of variables
         private double principalAmount;
         private JLabel principalLabel = new JLabel("Principal Amount");
         private NumberFormat principalFormat;
         private JTextField enterPrincipal = new JTextField(10);
         private double finalPayment;
         private JLabel finalPaymentLabel = new JLabel("Monthly Payment is: $ ");
         private NumberFormat finalPaymentFormat;
         private JTextField displayFinalPayment = new JTextField(10);
         String [] loanTypes = {"7 Years @ 5.35%", "15 Years @ 5.50%", "30 Years @ 5.75%"};
         JComboBox loanList = new JComboBox(loanTypes);
    **This is where my GUI and init would be created (took this code out)
    public void actionPerformed(ActionEvent e)
              JComboBox list = (JComboBox)e.getSource();
              String loan = (String)list.getSelectedItem();
              Object source = e.getSource();
              // Outcome of pressing the calculate button
              if (source == calculate)
                   if (String = [1])     //See I started to create a nested If's but I didn't know where to go from here
                   Double data = (Double)calculatePayment();
                   String sourceInput = data.toString();
                   displayFinalPayment.setText(sourceInput);
              // Outcome of pressing the clear button
              else if (source == clearButton)
                   enterPrincipal.setText("");
                   displayFinalPayment.setText("");
                   loanList.setSelectedIndex(0);
              // Outcome of pressing the quit button
              else if (source == exitButton)
                   System.exit(1);
    public double calculatePayment()
                   // Declaration of variables
                   int i = 0;
                   double [] terms = {7, 15, 30};
                   double [] interestRates = {5.35, 5.50, 5.75};
                   double [] totalPayments = {84, 180, 360};
                   double [] loanInterest = {.0535, .0550, .0575};
                   double [] periodInterest = {.0045, .0046, .0048};
                   // Calling user input needed for the formula to calculate the payments
                   String sourceInput1 = enterPrincipal.getText();
                   // Parsing the input
                   principalAmount = Double.parseDouble(sourceInput1);
                   // Formula for calculating the monthly payment
                   finalPayment = principalAmount * (periodInterest[i] * Math.pow((1 + periodInterest), totalPayments[i])) / ((Math.pow((1 + periodInterest[i]), totalPayments[i]) - 1));
                   // Formatting the monthly payment to round off two decimal places
                   DecimalFormat twoDForm = new DecimalFormat("#.##");
                   return Double.valueOf(twoDForm.format(finalPayment));

    Encephalopathic wrote:
    LoveMyAJ wrote:
    How do I implement that into my calculations? Like if I used that statement, how would I tell it to get that specific selection and use the appropriate arrays for it?I don't think that you want to add an actionlistener to the combo box. Rather add it to a button and get the info from the fields and combobox when the button has been pushed. As BDLH points out, the objects in the combobox can be smart and know what data they hold. If you do it this way, make sure that you override the object's toString method so that the combobox will display it correctly.Okay I am still fairly new to all of this but I appreciate your guidance. I will look into that.
    Thanks again

  • How to get selection screen variant name of a report ?

    Hi Experts,
    Can any body please suggest, how I can get the variant name that was selected when a report program was being scheduled in background?
    I am using system field SY-SLSET but it is working only at foregrounf execution.In background mode it holds different value like '&0000000000038'.
    Thanks in advance.

    Hi !
    When running the program in foreground (SE38 -> F8) or in a background job (SM36), sy-slrel is correctly filled.
    When running in background via SE38 transaction (run in background  : F9), sy-slrel is not filled correctly (&000010 for example).
    However, in the second case, you still are in foreground when in the selection screen. Thus this simple but quite efficient idea of  [Vinod Vemuru|http://wiki.sdn.sap.com/wiki/display/~ncz6anw] :
    http://wiki.sdn.sap.com/wiki/display/ABAP/Howtogetthevariantnamewhenrunningthereportinbackgroundfromselectionscreen

  • How can I tell if Time Machine is backing up my external HD?

    Mac Newbie here. I just have a quick question: I have two external HD hooked up to my 2012 iMac, one holding media files (not iTunes, just miscellaneous avi and mkv type files) and the other serving as the backup drive for use with Time Machine. When I first hooked up the media external HD, the OS asked me if I wanted to use it with Time Machine. Interpreting that as a request to use it as the backup drive, I replied "no." Then when I hooked up the second external HD, I replied "yes" when asked if I wanted to use it with Time Machine.
    Since that time, Time Machine has been running smoothly, but I'm not sure if it is backing up both my internal HD and my external HD #1 used for media files. When I open Time Machine using Launchpad, it shows me a picture of Finder listing all my different hard drives, but only in the "now" timeframe. When I go back a few backups, the external HD used for media files is grayed out. Does that mean it has not been backing up my external HD files? If so, how do I tell it to include that external HD in the backup process?
    Note that I am trying to backup contents of one external HD (including my internal HD) to another - the internal HD has 1 TB, the first external HD has 2 TB, and the second external HD has 3 TB (this is the one I'm using as the backup drive). So I think I should be ok from a space standpoint.

    Open System Preferences > Time Machine > Options and see Excluded Items. If the external drive is there, it's not being backed up

  • How can I tell if I have an iphone 3G?

    Ok yeah I just had an intresting question in my head. I bought an iPhone 3G phone from my AT&T store but it had problems so Apple sent me another iPhone. My only concern is if it is actually an apple iPhone 3G. How can I tell and make sure that they sent me an iPhone 3G?
    Thank you! =)

    The back of the original phone is metal - 3g is plastic.
    The back of the original is flat - the original is rounded.
    The back of the original is silver - the back of the 3g is black or white.

  • How can i tell what soft ware im using ?

    when i look under about this mac, it says OS X ,and under it says version 10.8.4 ? is this verison the new OS X mountian lion? how can i tell thanks!

    Yes, that's correct.

  • How do I tell my Macbook to not look for Shared drives?

    Our internet connection has been slow at best and drops altogether frequently. I wondered if our old Base Station was to blame, so bought a $39 Belkin router yesterday. The speed improvement was instant and striking!
    But now in Finder I see a list of Shared devices in the pane on the left that I have no idea where they are coming from, other than perhaps they are other customers of the isp we use.
    I don't want my MacBook wasting time and energy looking for other people's computers over the internet connection, if that is what is happening. How can I tell it to stop that?

    Follow Camelot's advice.
    In addition, some routers control NAT services via whether or not you enable the DHCP server in the router.  You should have it enabled.  Some routers actually have a separate control for NAT server, if yours does it should be enabled.
    With respect to your Mac looking for other computers with shared services, it does not work that way.  Rather the other computers broadcast their availability, and your Mac sees that.  You Mac is not polling, it is just listening.
    And whether or not you are broadcasting availability of services on your Mac is controlled by System Preferences -> Sharing.  If all are disabled, then you are not broadcasting anything.
    Regardless, you need to figure out why you are seeing other services if you do not have any in your own home.  So follow Camelot's advice.

  • Considering a Macbook pro 13".  want to use garage band - how do i run line in from my guitar.  There is not a mic/line input that I can see in specs.

    Considering buying a Macbook pro 13".  Want to use garage band - how do i run line in from my guitar.  There is not a mic/line input that I can see in specs.

    Simple. GarageBand question, GarageBand forum where all those users are jacked into their Macs and can tell you how. Also look to the right of your post to the column, "More Like This."---------------------------------------------->
    https://discussions.apple.com/community/ilife/garageband

  • How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    read this
    https://discussions.apple.com/message/20429789#20429789

  • My ipad does not have the amount of GB on the back and in the settings it says 56gb! Also there is no setting called regulatory. It is an ipad 4 retina w wifi that i got as a Christmas present. Could it be a fake? How can i tell?

    My ipad does not have the amount of GB on the back and in the settings it says 56gb! Also there is no setting called regulatory. It is an ipad 4 retina w wifi that i got as a Christmas present. Could it be a fake? How can i tell?

    The amount of storage that is shown on the box and in Settings are calculated differently - the package uses 1 billion bytes as a gig (i.e. decimal), whereas in Settings it's shown as the binary definition : http://support.apple.com/kb/TS2419
    Also some space has been used for iOS, the built-in app and some space is lost due to formatting.

  • How do I tell Apple to fix their software like apps that play sound even though the sound is turned off and not being able to disable features you hate like game center

    Apple is suppose to be the pinnacle of usability and, yet, I want to throw my new IPhone 4s as far as I can and watch is smash into a million pieces on concrete. Seriously, I've already got three things that irritate the **** out of me. First, there are Apple apps that insist on playing sound even though the sound is turned off. If I flick a switch to turn the sound off, I want the sound off!!!! Second, if I do not want a totally unnecessary feature like Game Center, I should be able to disable it. I completed most of the Angry Bird levels with 2 or 3 stars and now I have to start over from square one. Maybe, this happened when I upgraded to the 4s but it sure seemed to happen when I joined Game Center. Tomorrow, I am going to reset my 4s to factory defaults to try to get rid of my Game Center account. I don't want Game Center! I do need Game Center! I hate Game Center! Finally, I had an alarm go off to wake me up and there was a Snooze button but no button to turn the alarm off. I flicked the slider to access the main screen expecting to see something to turn the alarm off but there was nothing. The alarm just kept alarming. I had to warm boot my IPhone to shut the alarm off! Really, Apple!!!!

    The sound is turned off. Only, some Apple apps like YouTube and Siri make sound when the sound is turned off. It is very embarrassing when this happens at work. My question was how do I tell Apple to fix this?
    Turning off game center does not work. The games just prompt me to sign in when they are started.I have tried everything I can find online to stop this behavior. It is annoying and should not happen. My question was how do I tell Apple to fix this?
    The alarm went off. There was a green thing that looked like a button but pressing it did nothing. There was a red button that said snooze. I did not want to snooze. I wanted to turn the alarm off. I slid the bar to unlock the phone and there were no running apps with a button to press. The alarm just keep running. I have not had this problem since it first occurred. The alarm now shuts off when I just unlock the phone. It may have happened because I had another alarm app running. The two may have interfered with each other. I would like to tell Apple about it.
    It also annoys me that the button that closes apps leaves the phone app running. If I press on a number at 6:00 AM to get information about who called me, the phone automatically dials the person back and my natural reaction is to press on the button to close the phone app but the phone keeps dialing this person at 6:00 AM. It is a bad design. I would like to tell Apple about it.
    Finally, I looked all over Apple's site to try to find someplace I could send them a polite message to let them know that I was not happy with these "features" but could not find anything. It is extremely frustrating to have issues with a product and not being able to tell the manufacturer about it. So, you grow up!.
    When trying to fix the Game Center issue, I saw a link someone posted to report issues with the IPad to Apple. The answer I am looking for is where is the link to report issues with the IPhone.

Maybe you are looking for

  • RefreshValidValues() is not working in BPM 10GR3

    refreshValidValues() stopped working after I made changes to my BPM 10GR3 presentation. Any reasons why? Is it because I added extra buttons to the ppt or is it because I added two hyperlinks to the ppt?

  • Errors in alertlog file

    I am finding following message in alert log file everyday.What could be the reason & what is the solution.There are no accompanying errors. ALERT ! ALERT ! 25-JAN-2001 16:00 : DATA OBJECT FOUND INVALID CHECK IT OUT null

  • Multiple DVD's ?? Please help.

    Hi All, thanks to the folks that helped me with the last video issue. I have a projetor that needs to play multiple videos. I have exported from Adobe Premiere Pro to 3 DVDs in separate target folders on the HDD. I have inserted 3 media members (DVDs

  • How to make tree view in Crystal Reports

    Hi, We are using Crystal Reports XI R2. In ASP.Net, we are using tree view and same that we need display in Crystal Reports for reporting purpose. We have thee levels of records. I know the way making group by and sub group by to show in hierarchy le

  • IPod needs restored everytime I connect

    Hi, When i connect my iPod(s) it says they need to be restored. After that process is finished, it does it again. Can anyone help? Niki