Serial Command Sent with XP machine different than sent with WIN2000 machine

I need to communicate with a device by sending a Hexadecimal command (AA00 0000).  I am using Portnom to watch what is being sent to the serial port.  When I run my VI on a Windows 2000 computer my command is being wrote to the port and the instrument sends back the requested information.  However when I run the same VI on a WindowsXP machine the lenght is the same (4 bytes) but four dots are being displayed as what is being sent and there is no response from the instrument.  I am running LabView 7.1 on both machines.  Any help would be great.

Same versions of NI software, especially VISA drivers and MAX?
Is it a pure serial port on the laptop or a USB to serial converter?
What is MAX showing for the name of the COM ports, sometimes a laptops port is not always COM1
Any errors being flagged within the error piping in your vi?
Have you tried to use Windows Hyperterminal on both PC's, this should eliminate any potential differences in NI software and configurations.
Proper grounding of the instrument ?
A lot of questions, I know.
Message Edited by AnalogKid2DigitalMan on 02-22-2006 11:46 AM
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~

Similar Messages

  • Serial commands with a state machine

    Hi,
    I am reading with VISA from a serial device. I write to the serial the start character and the device is sending some data.
    Now after I read the data I want to stop the sending by writing to serial a stop character. The reading is in a separate loop.
    I want to make a stop button that writes to serial and a start button that writes to serial and reads the data. Is there any way to do this without a state machine ?
    Btw, is there any examples for a Serial reading and writing state machine ?
    Solved!
    Go to Solution.

    Remove your first while loop.  You are initializing the serial port over and over again until you press OK.  You only need to initialize once.  Put all of the code before the loop.  The loop should just delay for a few mS until the OK is pressed.  You should always put a dely in a loop so as not to chew up 100% CPU time.  Even a 0mS delay will allow the CPU time to do other things.
    In the second loop, since you have an event structure, you don't need a delay.  But you do need to wire in a value to the Timeout hourglass icon on the top left corner.  I typically use 100.  Again this is to prevent 100% CPU usage.
    Do you understand data flow execution?  This means that a loop or block of code or a function will not execute until all of its inputs are present.  Your third loop will not start until you press the quit button because you have two wires going from the second loop to the third.  These wires will only pass their data to the third loop when the second loop is over (pressing the quit button).  When you press quit, the second loop terminates and data goes to the third loop.  Now all of the third loop's inputs are present and it can execute.  This is not what you want.  Delete the wires between second and third loop.  Then the third loop will execute from the beginning.  The serial read control will tell it when to read and when not to read.  You will need to pass the VISA Resource Name to the third loop by using a Local Variable.  From your statement, it sounds like you already did this.  Pass a no error condition into the third loop also.  You can make one or use a local variable of error in.
    In the third loop, you have the VISA Close inside the loop.  This is not good.  The VISA session will close before you read.  Move this to after the third loop.  Then it will close only after the third loop stops.
    After you delete the wires between loops 2 and 3, you will have to merge errors from the second and third loops to make sure you catch all errors.
    In each one of your loops, replace the VISA Session terminals and Error terminals with shift registers.  This is good practice and is recommended by NI.  With terminals, if there is an error on one loop iteration, it will get lost because the next iteration takes in the original no error condition from the left side.  With a shift register, the error gets propogated to the next loop iteration.  If your loop executes zero times (For Loops can do this), the output of the VISA terminal will be a null value and the VISA close will cause an error.  With a shift register, even if the loop does not iterate at all, the VISA Session value on the input will be propogated to the output.
    I think that is enough for now.  Please make these changes and re-post your vi.  You are making good progress.
    - tbob
    Inventor of the WORM Global

  • I am having a problem with homesharing on my apple tv. The email address on my tv is different than what I am registered with. How do I correct the email address that is being displayed under home sharing on the apple tv?

    Somehow my apple id email address under homesharing on my apple tv is different than that used for homesharing on itunes in my imac. I can't access home sharing on my apple tv because of this. Can you please tell me how to change it on the apple tv in order to get homesharing to work?

    turn off home sharing on apple tv, then turn it on again, entering new credentials. Apple-TV works very reliably with home sharing unlike iDevices which don't

  • I had my itunes acct with a yahoo mail, now Im using icloud with my apple id, which is different than itunes I had.  how can I merge this 2 accounts? I still have money in my old itunes acct. 2 acct

    I had my itunes acct with a yahoo mail, now Im using icloud with my apple id, which is different than itunes I had.  how can I merge this 2 accounts? I still have money in my old itunes acct. 2 acct

    Is your phone still signed in with your old iTues ID for iCloud (in Settings>iCloud)?

  • I entered a new calendar event at I cloud on my laptop.  The enent showed up on my I Phone  4S but, the start and finish times on the entry in I cloud was different than the times shown on the I phone calendar.  How do I sync the time in my I Phone with

    I entered a new calender event using I cloud on my laptop. The enent transfered to my i Phone 5 S but, the start and finish times shown st i cloud on the laptop are different than the times shown on the i phone.  How do I sync the times on the i Phone with the times shown on the laptop i cloud calender?

    Turn off time zone support on the phone.

  • I have just intalled PSElements 12 on a new PC with windows 8.1. It installed ok but when I open it up it displays different than on my windows 7 PC. The buttons and text are tiny and almosy impossible to see even when I drag it to full screen. How do I a

    I have just intalled PSElements 12 on a new PC with windows 8.1. It installed ok but when I open it up it displays different than on my windows 7 PC. The buttons and text are tiny and almosy impossible to see even when I drag it to full screen. How do I adjust it to look normal?

    Hi Paul ,
    It could be a compatibility issue as well as Acrobat 8 is an older version.
    Do you get any error message while registering for the product?
    Try repairing it and once and also check for updates as well.
    Is it happening with all the word files or any specific one'?
    Regards
    Sukrit Dhingra
    Acrobat 8 and Windows 7 Don't Work

  • [svn] 4793: Fix bug SDK-17734 Path with width and height set different than path data has incorrect bounds

    Revision: 4793
    Author: [email protected]
    Date: 2009-02-02 11:20:06 -0800 (Mon, 02 Feb 2009)
    Log Message:
    Fix bug SDK-17734 Path with width and height set different than path data has incorrect bounds
    Fix: When calculating the bounds position we should take into account the implicit scaling factor actualSize/naturalSize. Also did some refactoring, getting rid of the protected method calculateTopLeft.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17734
    Reviewer: Ryan
    tests: mustella gumbo/layout/GraphicElement
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17734
    http://bugs.adobe.com/jira/browse/SDK-17734
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Ellipse.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s

    Thank you so much for replying.
    Yes I have removed and reinstalled WMP.
    I had good results with the PD6 application installed on the default path onto the C: drive with the one exception that if the application was launched by accident and the user data path was not available, the PD6 application would blow away my custom user path registry settings. Now that I know what they are I have made a .reg file to repair my registry to my desired user data paths.
    Installing the application on the removable drive appeared to help prevent me from launching the application by accident and overwriting my registry with default user paths.
    So which is the less of the two evils?
    If the application directory is not available, windows media player still tries to launch the .msi for installing PD6.
    If I install the application to the C: drive but the user data to the removable drive, launching the PD6 application without the user data drive will still corrupt my registry settings for a user data path.
    Both these issues seem like a logical (if not easy) fix that should be done in the PD6 application and installation package. I mean really, cannot anyone tell me why windows media player is checking the PD6 application directory? Why in PD4 did we have an option control for setting the user data path from the PD4 application? Why is this option not in the PD6 application, just the installer?
    I am given a choice during installation to move the user data to another non default location. Why else would this be provided if not to accommodate my kind of request to store the user data into an alternate location other than “My Document”. Certainly Palm is not trying to force the users on how to protect and store their personal data?
    Post relates to: Centro (Verizon)

  • Serial Number on 5th Generation different than one in iTunes

    I recently received a refurbished iPod as a replacement for an old iPod that broke. I cannot sync any of my music to this new iPod. I've noticed that the serial number on the back of the iPod itself is different than the one that appears when i plug in my iPod to attempt to sync. How do I change the serial number in iTunes?

    the error message i received when i try and sync says "The iPod cannot be synced. The required file cannot be found."

  • Commands sent with microphone

    Hi!
    I am using LabView 4.1 to control the motion of 2 traverse systems via
    stepper motors.
    The labview interface features a table of predefined points.
    Buttons are used to select and send the point which moves the stepper
    motors to a certain location.
    What I would like to do is to send the command by "talking" to the
    computer through a wireless microphone instead of pressing any key since
    I am operating my experiment from a certain distant away.
    For instance, by saying "1" the computer should be able to understand
    and interpret that the operator has selected the point number 1 in the
    table and send the command to the port to action the stepper motors.
    Any suggestion?
    Fabrice
    Sent via Deja.com http://www.deja.com/
    Before y
    ou buy.

    [email protected] wrote in message <8hgebg$2u5$[email protected]>...
    >snip
    >What I would like to do is to send the command by "talking" to the
    >computer through a wireless microphone instead of pressing any key since
    >I am operating my experiment from a certain distant away.
    >For instance, by saying "1" the computer should be able to understand
    >and interpret that the operator has selected the point number 1 in the
    >table and send the command to the port to action the stepper motors.
    >Any suggestion?
    You could use the Microsoft Agent 2.0 as an Active X object. Check out the
    MSDN website for more details:
    http://msdn.microsoft.com/workshop/c-frame.htm#/workshop/imedia/agent/defaul
    t.asp
    Note that Agent is shipped with win2000, but is fully compatible with
    win9
    5/98/nt4.
    Hope that helps,
    Paul Conroy

  • If I create a new AppleID or switch my current AppleID to another existing AppleID of mine different than the current one on my iPad, will I loose all my purchased applications in the machine?

    I have purchased quite a few applications on my existing iPad. At this time, I would like to change my current iPad appleID to a different ID. Can I still keep all the application I purchased in the past? If I can, what should I do to achieve that?

    Well at least you do understand the predicament that you will find yourself in when you finally part ways with your current job.
    An Apple ID is really just a username that happens to also be an email address. When people change email providers, they change their Apple ID's to reflect the new email address. It doesn't change anything in the way of what they have purchased. I see no reason why you couldn't change your Apple ID email address to your own personal email address. It would be no different than changing email providers.
    I'm taking you on your word, that you purchased these apps with your own credit card/iTunes gift cards or whatever means that you personally use to make iStore purchases.
    read this for more information on how to go about changing your Apple ID.
    Apple ID: Changing your Apple ID
    What you do not want to do is to create a new Apple ID and start making purchases with another ID. That's when you can get into the problems that come with associating your device with another ID.

  • Unpluggin the Ethernet is Different Than Turning Off The Server!

    Hi All,
    I am working with a cFP2020 with a 4 space backplane. I am running Labview 8.0 RT. Have not gotten around to putting in the latest set of CD's I just got sent. I have the whole setup on my desk here and am noticing a potential problem for my application. Was hoping that someone could explain this to me?
    I am building a vehicle, with the cFP on the vehicle and a PC controlling the vehicle. Mostly Im turning on lights and reading sensors on the vehicle, but I am transmitting some commands.
    My perfect world would be that if I lost communication between the vehicle and the PC, that the vehicle would recognize this within a reasonable ammount of time (1-2 seconds) and stop itself. I would like a whole routine for "com failure" to run if that is the case.
    My questions:
    It does not look like I want to use the fieldpoint watchdog because everything I have read indicates that on a watchdog com error, the fieldpoint shuts down. Am I wrong? Should I look further into this?
    I wrote my own watchdog. It sends messages back and forth on shared variables. If a message is late, it turns off a light (using cFP led's on the main module.) The PC VI is running as part of the project. The Vehicle VI (on the cFP) is compiled as an application that runs on startup. I have experimented alot with failure situations. The following work fine:
    - Stopping the PC VI that communicates with the vehicle VI. The light on the cFP turns off fine.
    - Stopping the Shared Varaible Engine. "Undeploy" on the shared varaible in the project. The light turns off fine. Infact both the PC and the Vehicle VI's register the dissconnect with their lights.
    The following does not work right:
    - Unplugging the ethernet link! The VI on the vehicle (cFP) is still running (got another blinking light going), however it takes 11-16 seconds for the light to turn off, indicating the disconnect. This is quite a bit longer than the other methods that work fine (those are about 1-3 seconds). Can anyone think what is going on?
    I know this seems like an essoteric question, but it gets to the protocal for the cFP. Should I be running my PC VI as an application? I am running it in the project.
    Thanks
    Kevan -
    As an aside, is there a way to deploy an application and have it run immediatly upon deploy. I am having to reboot to run the application. I notice different performance if its running from the project v. it running as an app. Since I will be using it as an app in the final product, I want to test it that way.
    Thanks Again -

    Kevan,
    The quick answer is that most NI ethernet protocols are implemented with 10 second timeouts. This is different than the undeploy in that stopping the shared variable engine will send unsubscribe messages rather than timing out. (Note: I am making an assumption on how the shared variable protocol works because it is partially based on the older Logos protocol used in Fieldpoint, and that is how the closing works for Logos).
    As for the watchdogs, there are two watchdogs in [c]FP RT modules; the RT watchdog (which can reboot the controller) and the network communications watchdog (which can set one or more outputs to a desired state on loss of communication).
    For a very rapid communication link disconnect, implement the shared variable as a boolean that has it's state inverted every half second. Have the [c]FP controller read the variable and look for changes in the state of the variable. If the variable does not change at the update rate (with some small margin for timing), then you have probably lost the link prior to getting a full network timeout.
    Regards,
    Aaron

  • RS232 Serial commands for Cisco 32" LCDs

    Are the serial commands for power on/off for the Cisco 32" LCDs different than the 40" and 52" monitors?
    The "rs232.tx_hex=aa11fe010111" for power on and "rs232.tx_hex=aa11fe010010" work fine on the 40"s but the 32"s do not respond to these same commands.
    I know the 40" and 52" LCDs are Samsung. The 32"s appear to be LG so I would suspect the serial commands would be different as well.
    I have been unable to find any documentation for the 32"s.
    Thanks in advance

    Doug,
    Have you tried using the Control TV icon in the DMP Manager?
    You can power on and off the Cisco 30" from here along with
    other rs232 control commands.
    You also could use wireshark to sniff the wire to
    see what codes the DMM are sending the DMP.
    Cisco 32"\LG - RS232.Control
    To use the RS232 commands on the DMP the serial port must be set to ON and
    be pointed at the /dev/ttyS1 device.
    To check this create a System Task to check your settings using Task 5
    below. If your serial port is anything other than /dev/ttyS1 use Task 1
    to set it correctly.
    TASKS
    =====
    1. Create a system task under application
    use type "set"
    name it "RS232 ON"
    init.startService_rs232=yes&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1
    2. Create system task "RS232 OFF"
    use type "set"
    init.startService_rs232=no&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1
    3. Create system task "Cisco 32N LCD ON"
    use type "set"
    rs232.tx_hex=6B612030312030310D
    4. Create system task "Cisco 32N LCD OFF"
    use type "set"
    rs232.tx_hex=6B612030312030300D
    5. Check DMP RS232 Settings (This setting will allow you to check the RS232
    settings)
    use type "get"
    p=rs232.*
    If this answers your question, Please take time to mark this
    discussion answered & rate the response.
    Thank You!
    T.

  • Are /usr/ubc binaries different than /usr/bin binaries?

    Hi,
    I am running SunOS 5.8 and I have following questions about solaris distribution:
    1. Are /usr/ucb binaries different than regular binaries like /usr/bin etc...
    Because at file level they appear to be the same:
    e.g. ps
    $ ls -ltr /usr/ucb/ps /usr/bin/ps
    -r-xr-xr-x 38 root bin 5.2K Jan 5 2000 /usr/ucb/ps
    -r-xr-xr-x 38 root bin 5.2K Jan 5 2000 /usr/bin/ps
    2. Are /usr/ubc binaries are part of standared solaris distribution?
    Thanks

    Hi,
    I am running SunOS 5.8 on SPARC I assume...
    and I have following
    questions about solaris distribution:
    1. Are /usr/ucb binaries different than regular
    binaries like /usr/bin etc...Yup (at least most of the time). /usr/ucb/ gives some behavior of older BSD systems for compatibility.
    Because at file level they appear to be the same:
    e.g. ps
    $ ls -ltr /usr/ucb/ps /usr/bin/ps
    -r-xr-xr-x 38 root bin 5.2K Jan 5 2000 /usr/ucb/ps
    -r-xr-xr-x 38 root bin 5.2K Jan 5 2000 /usr/bin/psThis is a side effect of a feature called 'isaexec'. You'll notice the link count is 38, so this file is linked as 38 different names.
    The 'ps' command looks through /proc, so the binary has to match the currently running kernel architecture (whether 32-bit or 64-bit). 'isaexec' allows you to have multiple binaries that are called properly based on architecture.
    On my machine:
    # ls -litr /usr/ucb/ps /usr/bin/ps /usr/lib/isaexec
    18227 -r-xr-xr-x 37 root bin 5256 Jan 5 2000 /usr/ucb/ps
    18227 -r-xr-xr-x 37 root bin 5256 Jan 5 2000 /usr/lib/isaexec
    18227 -r-xr-xr-x 37 root bin 5256 Jan 5 2000 /usr/bin/ps
    So all 'isaexec' does is look for a binary with the same name as it was called in the architecture specific directories. So for /usr/ucb/ps, it's these:
    # ls -l /usr/ucb/sparcv7/ps /usr/ucb/sparcv9/ps
    -r-xr-xr-x 1 root sys 23504 Jul 15 2005 /usr/ucb/sparcv7/ps
    -r-xr-xr-x 1 root sys 32264 Jul 15 2005 /usr/ucb/sparcv9/ps
    And for /usr/bin/ps It's these:
    # ls -l /usr/bin/sparcv7/ps /usr/bin/sparcv9/ps
    -r-sr-xr-x 1 root sys 29196 Jul 15 2005 /usr/bin/sparcv7/ps
    -r-sr-xr-x 1 root sys 38536 Jul 15 2005 /usr/bin/sparcv9/ps
    So different binaries (and different architectures):
    # file /usr/bin/sparcv7/ps /usr/bin/sparcv9/ps /usr/ucb/sparcv7/ps /usr/ucb/sparcv9/ps
    /usr/bin/sparcv7/ps: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
    /usr/bin/sparcv9/ps: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, stripped
    /usr/ucb/sparcv7/ps: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
    And you can use 'truss' to see how this works:
    /usr/ucb/sparcv9/ps: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, stripped
    Note that this feature (isaexec) has nothing specifically to do with /usr/ucb. It's used by any system binary that needs separate versions for 32-bit vs 64-bit to run properly. (truss, p*, uptime, ...)
    2. Are /usr/ubc binaries are part of standared
    solaris distribution?There's only one "Solaris" distribution, so yes. I believe they get installed at the 'user' installation level and above, but you'd have to check on that.
    Darren

  • I just upgraded to lion on my intel macbook.  I would like to change my facetime alert to something different than a phone ring and, I would like to be able to have full screen.  How do I do this?

    I just upgraded to lion on my intel macbook.  I would like to change my facetime alert to something different than a phone ring and, I would like to be able to have full screen.  How do I do this?

    Downgrade Lion to Snow Leopard
    1.  Boot from your Snow Leopard Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Quit DU and return to the installer. Install Snow Leopard.
    This will erase the whole drive so be sure to backup your files if you don't have a backup already. If you have performed a TM backup using Lion be aware that you cannot restore from that backup in Snow Leopard (see below.) I suggest you make a separate backup using Carbon Copy Cloner 3.4.1.
    If you have Snow Leopard Time Machine backups, do a full system restore per #14 in Time Machine - Frequently Asked Questions.  If you have subsequent backups from Lion, you can restore newer items selectively, via the "Star Wars" display, per #15 there, but be careful; some Snow Leopard apps may not work with the Lion files.

  • Send serial command in VBAI based off of calculation

    I am attempting to send serial commands through VBAI based off of a previous calculation step. For instance, my application will determine an objects mass center and then determine if it is to the left or right of my origin. From here, I would like to be able to send a serial command based on the left/right result. The command will be sent to an arduino which will controll a servo left or right based on the command it recieves. I think I have everything but linking to serial command to the calculation result figured out here. Any feedback or help with this would be greatly appreciated.

    In the Serial step, when you are sending a command (i.e. you press the "Send Command" button), you can press the "Insert Result" button to have the serial command you send out conatin a result from a previous step. There are even formatting options so you can have numeric previous measurements formatting into the string as you want. If you need to send results from other states, you can use variables to pass data between states since the Serial step doesn't currently support accessing results from other states.
    Hope this helps,
    Brad

Maybe you are looking for

  • Contact not selected when sending SMS

    Hello, I am using PC Suite 7.0.8.2 on WinXP Sp3 (standard user or admin: no difference); Nokia 6080; connection: USB. Evereything seems to be ok but I have problems when composing/sending sms: if I key in the phone number my sms is sent; but if I cho

  • High priority issue

    Hi, I have configured the workflow mailer but iam unable to receive the mails and also the workflow notification mailer has stopped with error The Workflow Document Web Services Service,Workflow Mailer Service The Workflow Agent Listener Service, rem

  • BSOD about every 30 mins... HELP!

    Recently reinstalled OS because my PC kept BSOD.. Googled some of the crashes and it said to re-install windows.. So I did.. Still happening. I can't figure out how to open the mini dump files nor do I know how to upload them for people to see.. Any

  • Can i use the iphone sim card in the new IPhone 3g and not have to renew?

    I have an Iphone now and want to get the new Iphone 3g. Can i still use my old sim card and old contract with the new phone and not have to start a new contract with at&t and pay again?

  • Can't update Premiere Pro CS5.5.2?

    When I attempt to update Premiere Pro CS 5.5.2 by clicking Help, and then Updates, I get an all-black/dark gray pop-up screen that says Adobe null at the top left, with a blue loading bar - and that's it. I am currently using CS 5.5.2 Windows 7 I che