How do I convert the ASCII output of a Maxtek TM-350 QCM Deposition monitor to a normal string I can read?

Hi!
I'm working wiht a Maxtek TM-350 QCM Thickness Monitor, and I am having some trouble deciphering the output from the monitor.  I am using an RS232 interface to communicate with the monitor.  I wrote a little VI to try to just query for the version number of the software that is being used.  The instruction manual said to send the message Chr$(255)+Chr$(254)+Chr$(1)+Chr$(1)+Chr$(0)+Chr$(254).  So, I built an array of those numbers, converted it to a string and sent it out via the Visa Write command.
From the instruction  manual, I thought I was supposed to get back Maxtek TM-350 Software Version X.XX.  When trying to read what was sent back I tried a couple of things.  First, I just read the string, which looked like a bunch of special characters (squares, y's with dots over them, etc.), which I think is ASCII code.  So, I tried to convert that into a normal string I could read using a scan value command.  That didn't work, so I tried to convert it to a hexadecimal string, which didn't help either.
I attached my VI and a copy of the instructions manual for the TM-350 below.  Does anyone have some ideas on how I can fix this problem?
Thanks!
Piet
Attachments:
tm-350400_manual_en_Rev12_10-2005.pdf ‏748 KB
Maxtek_TM-350_Test.vi ‏32 KB

It is hard to tell without seeing what you transmitted and what was returned. Try downloading portmon to watch the serial data.
http://www.microsoft.com/technet/sysinternals/utilities/portmon.mspx
The attached might get you started.
Attachments:
read data from serial port.vi ‏43 KB

Similar Messages

  • How do I convert the ASCII character % which is 25h to a hex number. I've tried using the scan value VI but get a zero in the value field.

    How do I convert the ASCII character % ,which is 25h, to a hex number 25h. I've tried using the scan value VI but I get a zero in the value field. 

    You can use String to Byte Array for this.

  • How do I convert the MP4 files in itunes back to MP3 files so they can be downloaded on a usb drive to play on a CD player?

    I am not a computer genius.  Somehow, my Itunes files are now in MP4 format.  How do I convert the whole library back to MP3 so I can download on a usb drive to play on the CD player?  Help!!!

    iTunes: How to convert a song to a different file format - http://support.apple.com/kb/HT1550 - including information about different formats and discussion about compression.
    In iTunes11: File > Create New Version

  • HT4437 How do I change the display output orientation to my TV from my iPhone?

    The ABC app on my iPhone5 displays sideways (portrait) when outputting to my TV while using Air Play. How do I change the orientation output to my tv when using apps such as ABC?

    Unless you are mirroring you can't

  • I have a camcorder(canon vixia hf r100 ) how do I convert the signal so my computer can read it ?

    I have a camcorder (canon vixia hf R100) how do I convert the signal so my computer (imac-g5) can read it ?

    Sorry, but I could not find anything re. the ilife 05 compatibility with cameras or camcorders, so you might be better off asking your question in the iMovie forum:
    https://discussions.apple.com/community/ilife/imovie
    Make sure you indicate in the subject line that you have iMovie 05 and your model Camcorder - something like: Canon Vixia HF r100 and iMovie 05 on a G5 PPC - compatible?

  • How do I convert the loading hourglass to thumbnails?

    Lately all of my uploads are shown as uploading houglasses in the Elements 6 Organizer (show all.  When I click on the hourglass the image comes up.  This has been a problem for a few months now.  Prior images are shown as thumbnails.  Is there anyway I can fix this problem?  Would appreciate any advice one could offer.
    Thanks,
    Stu Sporn

    I reloaded Elements 8, found the CACHE file, deleted it, started Elements up again and still the last few months of image thumbnails remain hourglasses.  Should I just live with this?   I think I said that when I click on the thumbnail the image comes up and editing as usual.  I really appreciate your help... do you work for Adobe?
    I'm resistant to loading CS5 on because I'll loose that great catalog feature & will have to find things on the MB...   stu
    From: "99jon" <[email protected]>
    To: "Stu Sporn" <[email protected]>
    Sent: Saturday, August 11, 2012 11:13:14 AM
    Subject: How do I convert the loading hourglass to thumbnails?
    Re: How do I convert the loading hourglass to thumbnails?
    created by 99jon in Photoshop Elements - View the full discussion
    So are you saying that when you navigate to the folder My Catalog1 it contains the PSEDB8 file but not the CACHE file?
    So are you saying that when you navigate to the folder My Catalog1 it contains the PSEDB8 file but not the CACHE file?
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4614397#4614397
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4614397#4614397. In the Actions box on the right, click the Stop Email Notifications link .
    Start a new discussion in Photoshop Elements by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746 .

  • Purchased a song from iTunes, i tried to transfer it to my itouch, but i received an error "iTunes could not copy because the file could not be converted". how do i convert the song (well, i thought it will automatically be converted)?

    purchased a song from iTunes, i tried to transfer it to my itouch, but i received an error "iTunes could not copy because the file could not be converted". how do i convert the song (well, i thought it will automatically be converted)?

    Problem Fixed:
    Remove the song from your itunes library, then go to the itunes store and try to download it again. It will say something like "this song has already been purchased, would you like to download it again for free?". Click yes, and it will download again. This worked for me, hope it helped

  • HT3825 so how do you convert the raw files to jpeg in iphoto?

    how do you convert the raw files to jpeg in iphoto?

    Many thanks Barbara and dj_paige.
    What I didn't mention is that I'm using PSE 5 with ACR 4.6, if its relevant.  I'm thinking of updating to the next version when its out in the hope that it will run with Windows 7 64 bit or I may go to Lightroom.
    I can now see that I can batch convert a whole folder of files using "process multiple files" as dj_paige suggested but that is too many at once as the settings I choose won't be relevant for all the pics in the folder. 
    I was hoping to batch convert say 5 or 6 similar photos at a time with the same settings. I'm not quite clear what you're suggesting but I'm hoping that its a "work round" using two stages to achieve this. 
    I can't see a list of open files within ACR to ensure that they are all selected as you suggest. 
    What does clicking Open rather than Done mean?  Does this amend the original RAW file to the settings selected so that if I then "process multiple files" on the whole folder to convert from RAW to JPEG they will in fact have already been processed in smaller groups so I can convert without applying any further changes?
    If so, what settings should I apply to "process multiple files" to ensure a simple conversion of file type rather than any further adjustments?
    Any further help on this would be much appreciated.
    Andrew

  • Can I convert the optical output to analog for a zone 2 audio? I would continue using the HDMI for the main zone. Can I use both of these simultaneously? Zone 2 only supports analog on this receiver.

    Can I convert the optical output to analog via a converter for  zone 2 audio? I would continue using the HDMI for the main zone. Can I use both of these simultaneously? Zone 2 only supports analog on this receiver.

    These will probably help.
    [http://www.jsresources.org/examples/audio_conversion.html]

  • How do you convert the encoder counts to RMP of the motor using a myRIO in LabVIEW?

    My intent is to gain hardware interfacing and general Labview experience. I am using a myRIO to control a Pittman 8222 34V Brushed DC motor (Motor Specs).
    I recently created a code to control the angle of this motor using PID, which was visually implemented using the black disc with a white tick mark on it (see attached picture: "IMG_2523"). 
    I now want to control the speed of this motor againg using PID, but I am not sure how to properly convert the encoder counts to RPM of this motor. I have attached 2 screen shots of my block diagram and my front panel for reference ("Capture" and "Capture2"). In the front panel picture, you can see my "actual" speed of the motor is a very choppy signal when it should theoretically be a flat line. To get the RPM, I currently use a shift register to store the current count value (which I converted to deg, then to radians), and then subtract the previous run's value, then divide by the while loop sampling time (10 ms). This would give me rad/s, which I then wrote a subVI to convert it to rpm. 
    Any help would be greatly appreciated, thanks. 

    Hi,
    One thing you could try doing is verifying that the conversion from rad/s to rpm is working correctly. 
    This tutorial might also be helpful. It's not using the same hardware that you are, but goes through the general steps using PID control. 
    CompactRIO Motor Control Basics Tutorial: http://www.ni.com/pdf/labview/us/compactrio_motor_control_basics.pdf
     

  • I want to send a normal pages document as a attachment to someone (non Mac PC). How do I convert the file so they can open it? Silly question but I'm new to Mac.

    I want to send a normal pages document as a attachment to someone (non Mac PC). How do I convert the file so they can open it? Silly question but I'm new to Mac.

    A Pages (.pages) document is only viewable with Apple's Pages application on the Mac, or via Pages for iCloud beta. You should export it to either MS Word (.doc/x) or PDF. The Share menu will let you do this directly into a Mail attachment.

  • How do you convert the audio from a mpeg4 video file to mp3?

    How do you convert the audio from a mpeg4 video file to mp3 format?

    Probably the easiest way to do this is to download a free media convertor. Most will be able to convert video into audio files.

  • HT2484 Help! How do I uninstall the Nokia I-Sync app? It doesn't appear in my applications folder and I can't drag it into trash.

    Help! How do I uninstall the Nokia I-Sync app? It doesn't appear in my applications folder and I can't drag it into trash.

    Thank you. Found it in the Finder but it won't let me drag it into trash because it says it's still open. But there doesn't seem to be a way to quit out of the application...

  • HT1048 I ordered a book prom iphoto, and it was support to cost 610 NOK. but apple withdrew the amount 3 times from my acconu. how do I get the 1220 NOK back. who do I talk to or send e-mails to? I can't find any information. thanks!

    I ordered a book prom iphoto, and it was support to cost 610 NOK. but apple withdrew the amount 3 times from my acconu. how do I get the 1220 NOK back. who do I talk to or send e-mails to? I can't find any information. thanks!

    Greetings,
    Contact the Apple Online Store in your region (which I believe is Norway): http://store.apple.com/no/help/contact
    or
    http://support.apple.com/kb/HE57
    Cheers.

  • How do I convert an ASCII character to an array of co-ordinates.

    I need to convert and ASCII character to an array of X, Y co-ordinates. I also need to be-able to vary the size of the text (scale of graph i suppose) and position on the graph So i can desplay multiple characters on a graph. However it needs to be stored in an array (or set of arrays) so i can isue these co-ordinates to an instrument.

    Maybe the attached VI can help. Using picture control functions, it get the
    1bit bitmap of the character/text
    on input in a 2D array of booleans.
    Jean-Pierre Drolet
    "m0mbaj0mba" a écrit dans le message news:
    [email protected]..
    > I am trying to find a simple way to convert a letter (ASCII character)
    > into an array of X,Y co-ordinates. I am involved in two projects that
    > involve spelling letters with lasers. At the moment we are plotting
    > the points on a graph in excel, transferring the co-ordinates into a
    > text file and then converting the content of these text files into a
    > set on 1D arrays. As I am sure you can appreciate this is a very long
    > winded process. Is there anyway of pl
    otting points on an X,Y, graph
    > and outputting those points to an array or set of arrays?
    >
    > Excel spreadshett is attached.
    [Attachment GetTextBitmap.vi, see below]
    LabVIEW, C'est LabVIEW
    Attachments:
    GetTextBitmap.vi ‏45 KB

Maybe you are looking for

  • Terminal won't stop opening two windows.

    Every time I open Terminal, it opens two windows. One window has a bunch of text at the top that appears to be old commands(perhaps that I had typed? I don't remember all that I've typed into Terminal since the beginning of time ) in grey and then th

  • HT1040 How do I add multiple different pictures to my order?

    How do I add multiple pictures to my order? It wants me to check out after each one!

  • IWS 6.0 Error accepting connection -5994

    Any idea about the reason of the following error on iPlanet Web Server 6.0 on Solaris 7: Error accepting connection -5994,oserr=130 (Software caused connection abort) Thank you.

  • System preferences issue?

    I just got my system preferences to work. But can one of you 10.8 users please verify this: When I secondary tap in my desktop and click "change desktop background" the system preferences window will appear the first time.. But if I do it again the s

  • No sound durring video or tv apps

    I have no sound or very low sound when trying to play video clips such at youtube or watch tv shows or movies on my iPad. Any suggestions?