Control Temperature of WATLOW using RS232..Got vi ? to begin with?

Looking for vi which can help me conrol the temperature inside my little chamber (WATLOW) using RS232 port

If you are looking for generic serial example programs, go to Help»Examples»I/O Interfaces»Serial»LabVIEW<->Serial. Enter the com port and set both dip switches in the up position.
If you are looking for a instrument specific driver, you may want to contact the manufacturer to see if they have a LabVIEW driver for their instrument. If they don't, you can easily create a low-level driver by configuring an I/O assistant VI for each function in the manual. I/O assistant is one of the many new features of LabVIEW 7 and will parse instrument responses for you, which makes creating an instrument driver much easier. Once you have this low level driver you can just combine functions to make higher level VIs.

Similar Messages

  • "How can i control the instrument with SCPI command by Borland C++ v3.1 using RS232 port"

    "hi....
    I've ever controlled some instrument by GPIB interface using Labview 6.0...it's really easy to implement .....but the problem is that i hvae to control those instrument under the pure DOS environment now ..so i have to abandon the using of GPIB interface and Labview ....then i choose the RS232 interface with programing the Borland C++ v3.1 and sending the SCPI command by bioscom()....but it got no response at all......so i am wonder if i can control those instrument by using RS232 interface and Borland C++ v3.1 to implement a pure Dos program????if yse,how can i do and is there any sample can be refer to ????
    thank you for you help"

    Hello Alvin-
    We do not have any sample code for programming RS 232 in C on our website. However, you may want to looks at these links for general troubleshooting tips for serial:
    Serial Communication Starting Point
    How to Do a Serial Loopback Test
    Regards,
    Ray Kong
    NI Applications Engineer

  • Labview control of LS331 using RS232 port

    Hi All,
    I want to control a Lakeshore 331 temperature control using Labview. I am using RS232 port. I found driver on NI website but I guess they are for GPIB. I was wondering how can I use them for RS232 port?
    Or if I want to bulid my own VI, how do go about it? I would appreciate if someone provide me example for capturing device using RS232 port.

    The driver is written for both GPIB and Serial. You should replace the "Old" Visa Open function in LSCI 331 Initialize per the instructions here and try it. Once that's done, just select the com port by clicking on the VISA Resource Name.

  • Control Instrument using RS232 port

    I have tried to download the IVI driver of the Agilent E3633A that stated can communicate using GPIB or Serial.
    I tried to initialize the instrument but no successful.
    I used a twisted ( tx and rx swap) RS232 cable (female to female) to connect between the instrument and PC com port.
    Please help to advice on how to control the equipments using RS232 port inlabview. Thanks!

    Hello,
    Here's what you can do to verify that you have established communication with the instrument.
    First gather the relevant information:
    1. Find a command that you know your instrument "understands" (it is highly likely that it will understand *idn? which should prompt the instrument to reply with a description of itself).
    2. Verify the serial settings that your instrument uses by default, such as baud rate, number of data bits (likely 8), parity, and the number of stop bits. You can also verify what termination character the instrument uses (which it likely does); this is the last character you will need to send after sending the relevant command characters, and it will indicate the end of the command to the instrument so that it stops reading from the serial port. I doubt that the instrument is configured for flow control of any kind by default, so don't worry about that unless there is specific indication of this in the manual for your instrument.
    3. Verify the type of your cable; that is, you will need to connect pin 2 of your computer's COM port to pin 3 of your instrument's COM port, and pin 3 of your computer's COM port to pin 2 of your instrument's COM port. Some cables automatically switch these connections with the wires inside the cable, others are "straight through." You can bypass the cables altogether and just use wires to make the relevant connections initially; don't worry about a twisted pair at first, just keep the wires short and you should be ok (unless you are in a particularly noisy environment).
    Now build the LabVIEW program:
    1. Open a blank VI
    2. Navigate to and pin down the following functions palette on the block diagram:
    All Functions -> Instrument I/O -> Serial
    3. Place onto the block diagram the four VIs/functions in the top row in the order they appear (should be VISA Configure Serial Port, VISA Write, VISA Read, VISA Close); note that the open will be performed implicitly the property node inside the VISA Configure Serial Port VI (don't worry about this).
    4. Hover over the upper left hand terminal of the VISA Configure Serial Port VI, right click, and choose
    Create -> Constant; now select the PC COM port you connected your instrument to in the newly created constant
    5. Create constants for the inputs to match the serial parameters that you found for your instrument above if the default values don't already match. Note that the defaults used by this VI include activating the linefeed termination character to be used when reading, as well as standard settings for serial port which may already match your instrument (check by hovering over the ports with the wiring tool; the default values will show in parenthesis)
    6. Wire the top right hand terminal to the top left hand terminal of adjacent VI's (which should be in the order noted above); this connects the resource name to each so they perform the operations on the chosen serial port
    7. Wire the bottom left to the bottom right hand terminals in a similar fashion; this connects the error clusters
    8. Almost done... now hover over the remaining left input of the VISA Write function (called write buffer), right click, and create a constant; type *idn? (and include a linefeed character at the end by typing the key)in the string constant that you just created
    9. Similarly for the read function, create a constant for the input that indicates the number of bytes to read (perhaps make this number 100 as you will likely terminate the read appropriately when a termination character is read; your instrument will likely send this), and create an indicator for the "read buffer" output which will show you the string that is read back when you run the program.
    10. You should now be able to run the program; hope it works.
    I would have included a screenshot or example instead of a description, but I don't have access to that at this time and perhaps it is best to actually go through the process of building the VI anyway if you are new to LAbVIEW.
    Good luck and repost if you continue to have troubles!
    Thank you,
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • Control temperature using USB6221

    i have a USB 6221, i m a beginer, so i have a project control temperature by PID, in project i have to control the light 220VAC to change the temperatute, i used moc 3020 anf BTA12, but i can not control it, i have a problem that i can't catch the the zero point phase , any body can help me, i want to catch the zero point by labview using USB6221

    Thienbinh,
    On the ni.com website, there is a Controls Tutorial which I think will help you get started:
    http://zone.ni.com/devzone/cda/tut/p/id/6368
    Also, I found this example on PID PWM control by searching ni.com for "PWM" and clicking on "Examples" in the left-hand column.
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav:ex/q/pwm/
    If you have the PID toolkit, you can also find examples by going opening up LabVIEW and selecting Help>>Find Examples...
    Hope that helps!
    National Instruments

  • I want to control a telesis pinstamp using labview has anyone done this?

    The pinstamp is a Telesis TMP6100 that is being controlled by a Telesis TMC090 controller.  The computer communicates with the controller via USB.  I need to integrate the pinstamp into an existing in-house VB software package and would like to write a .dll in LabVIEW that would allow the existing VB code to call it with as few changes as possible to the VB.  I did get an activeX add on from Telesis but it came without any help files or variable definitions.  Telesis seems to want everyone to use their Merlin II software that is also included but I am trying to apply a little K.I.S.S. theory to my already overgrown project.  Any suggestions?

    There are two ways to comunicate with a TELESIS controller: Programable Protocol for simple one-way comunications and the Extended Protocol that includes error checking and transmission acknowledgment. Both are described at the last page in the Product Data Specification Sheet Download.
    Now, there is an ActiveX available to use the Extended Protocol, the Extended Protocol ActiveX Control Download.
    With this ActiveX is possible to send commands to the TELESIS controller, and get response when available.
    I'm using a Telesis TMP1700 that's being controlled by a Telesis TMC420 controller, and i succesfully got the status, restarted and put online the controller.
    It is possible using an ActiveX Container then Insert an ActiveX Object wich is the Telesis Extended Protocol Control. THe next picture will be seen in the Front Panel.
    you can change the serial port configuration by clicking on it.
    The next step is crating Invoke Nodes to use the methods.
    The included file was made in LabVIEW 7.1, and it only request the status. It's necesary to change the command (Type) depending on what you want to do. Check the Product Data Specification Sheet to do this.
    It's all i know by two days working on it.
    Message Edited by G1L on 07-03-2008 08:08 PM
    Attachments:
    TELESISCOMM.vi ‏19 KB

  • Control temperature according to given pattern

    Hello,
    I want to control temperature of a chamber using heater and fan. I have a given pattern according to which I have to vary the temperature.
    Attached are files for reading the temperature and files for heater and fan control.
    Now, my job is to develop an algorithm to vary the input temperature according to the desired temperature shown in the attached graph. How do I do this? Please help!
    Attachments:
    Lab3_Part2_SubVIs.zip ‏32 KB
    pattern to follow.docx ‏57 KB
    HeaterFanControl.zip ‏13 KB

    With a folder called Lab3_Part2... this looks like a school assignment.  So we will not do your homework for you.  If you have specific questions about things, people on the Forum will be glad to help.
    Some suggestions: Creating a task, reading data, and closing the task in a subVI which gets called repeatedly is usually not a good idea.  Put the Task creation outside the loop.  Read the data inside the loop as soften as needed. Close the task after the loop completes.
    Avoid the use of sequence structures. Use dataflow.  Search on the Forum for Sequence Structures to learn why.
    Limit the use of Formula nodes to places where LV primitives do not work well.  You do not have any such places.  For example in the ChamberTempControl.vi just use constants with the values 1 and 2 in place of the Formula nodes.  You do not need the case structure either.  Use the Select function from the Comparison palette.
    How do you plan to get the pattern into your program? You do not show anything for that.
    Lynn

  • Switch control settings - prevented from using touch screen

    I have turned on switch control and now managed to lock myself out of usdiong the screen all together.
    Heres what i set: Settings > general > accessibility > switch control > switches > add new switch > full screen > scanner select item.
    with switch control turned on i cannot use the screen at all.
    i have tried asking sir to turn it off but he keeps saying "which setting" and triple clicking the home button brings up the switch contol header up but i am still unable to use the screen.
    i have read that i can turn on voice control by asking siri, but that brings up a screen where i need to again use the screen.
    occasionally i see a blue box travel oer the screen but i dont know how to use this or how to bring it up again.
    has anybody got any ideas???

    Found it.
    For anyone who has this problem::
    check this video  http://youtu.be/2W3Z0kSiL7o
    If you somehow turn on "Screen" select item, it renders any touch useless.
    Here's what you can do, even if you have your phone password protected.
    Use Siri to turn on Assistive Touch.
    1. Hold down home button and ask siri: Turn on Assistive Touch
    2. May have to send a second command: on.
    Now your screen should be accessible.
    [email protected]
    posted by: ihshan

  • I was using same id on 2 iphones with no problems suddenly everything got mess, how can i set a new id w.out losing my contacts?

    i was using same id on 2 iphones with no problems suddenly everything got mess, how can i set a new id w.out losing my contacts?

    I believe because you migrated from a Nokia to an iPhone you need to register the Bn phone number with your Apple ID so it can be used for iMessage. The Pn number seems to be the only one registered
    Go here > https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    Manage your Apple ID and see if that does the trick
    Hope that helps

  • CRM 2011: Can you control which form is used based not security roles, but on a field value?

    I see that you can control which form is used based on security roles, but can you control it based on other field values?  I'd like a new record to use a different form until a given status is updated.  I have a status of draft and active. So
    it would be nice if I could use form1 for those in draft, form2 for those that are active.  But I only see where you can control that via the security roles.
    I can code all of this via JavaScript, but having the ability to use two separate forms would be nice.  Is that even possible.
    Best regards,
    Jon Gregory Rothlander

    Hello,
    Recheck following article - http://gonzaloruizcrm.blogspot.com/2014/11/avoiding-form-reload-when-switching-crm.html
    Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
    My blog

  • I have CS4 and was using a Canon 5D Mark II with raw photos. I just got the Canon 5D Mark III and CS4 now can not read the raw photos. It has raw version 5.7.0.213 and CS4 version 11.0.2. Can anyone help?

    I have CS4 and was using a Canon 5D Mark II with raw photos. I just got the Canon 5D Mark III and CS4 now can not read the raw photos. It has raw version 5.7.0.213 and CS4 version 11.0.2. Can anyone help?

    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications
    EOS 5D Mark II
    CR2
    5.2
    2.2
    EOS 5D Mark III
    CR2
    6.7, 7.1
    4.1
    Photoshop CS6
    7.0
    8.3
    Photoshop CS5
    6.0
    6.7
    Photoshop CS4
    5.0
    5.7
    The 5D Mark II was first supported by Camera Raw 5.2 which is compatible with CS4+.
    The 5D Mark III was first supported by Camera Raw 6.7 and 7.1 which is only compatible with CS5 and CS6.
    So the CS4 will never be able to open Raw 5D Mark III files.
    Why doesn’t my version of Photoshop or Lightroom support my camera?
    Choices:
    Purchase CS6 full version (CS4 is too old to qualify for an upgrade)
    Join the Cloud
    Free option: download the free Adobe DNG converter, convert all 5D Mark III Raw files to DNG format then edit the DNGs in CS4
    Photoshop Help | Digital Negative (DNG)

  • Got a new iPhone today and tried to restore from my old phone using icloud but kept coming up with a message that said problem with my icloud back up please help

    Got a new iPhone today and tried to restore from my old phone using icloud but kept coming up with a message that said problem with my icloud back up please help

    Hi there Clairemcaula,
    You may find the troubleshooting steps in the article below helpful.
    iCloud: Troubleshooting restoring an iCloud backup
    http://support.apple.com/kb/ts4036
    -Griff W. 

  • ActiveX controls not downloaded when using Internet Explorer 10

    We have many legacy applications developed using ASP and VB(InterDev). Our organization is moving to use Internet Explorer 10 in the near future.
    We had a IE10 compatibility testing for our legacy applications and we observed that the applications using ActiveX controls are not working. Applications works perfectly fine with the older version of Internet Explorer.
    We looked for the various workarounds but we did not find any.
    Some application does nothing when we click on a button to generate the report but some applications throws the below error:
    <div id="x_x_imcontent"> <div style="font-size: 9pt; direction: ltr;">"ActiveX
    control failed to load! -- This control is required to use the Address Book and Attachment features.  Please check your browser security settings and/or contact PC Support to install the digitally signed control."</div>
    </div>
    We will be glad if we get any assistance on this issue.

    Hi,
    Please post your ActiveX feature testing scripts to the IE Web Developer forum.
    (f12>Debug tab, search for ActiveX.... you should be able to find code blocks where you are feature testing for your ActiveX controls eg var ourcontrol=new ActiveX('foobar');
    these code blocks will be the origin of the error messages that are injected into the page. (you can also search for where the "ActiveX control failed to load" string is in your code.)
    http://social.msdn.microsoft.com/Forums/ie/en-US/home?forum=iewebdevelopment
    IE10 has ActiveX filtering.... a blue circle with a line through it appears in the Address bar if any ActiveX content is blocked by Tools>ActiveX filtering.
    IE10 has Enhanced protected Mode turned on by default in the Internet and Restricted Zones. I assume that you are mapping your test domain to the Intranet zone (where EPM is turned off by default and x32 bit controls are used.... if not you should see information
    bars asking for permission to run the 32bit activeX controls)
    Ensure you are using the Default IE security settings, (and also that you have applied the new admx files to your GPO and GPEdit control panels....)
    Tools>Internet Options>Security tab, click "Reset all zones to default".
    Ensure your test environment maps to the Intranet Zone (File>Properties) and that Enhanced Protected Mode is turned off for that zone (Security tab of Internet Options)
    Ensure that your ActiveX controls are enabled (Tools>Manage Addons>Show all Addons) and that they have the correct permissions..... find them in the Addons manager and then click the item in the list to display their properties and permissions... at
    the bottom of the Addons Properties there is a textarea with "You have approved this addon to run in the follow websites"... you testing and production domains should be listed.
    For the best solutions/answers you should probably open a support ticket at support.microsoft.com so a support engineer can access your testing environment and do some tests.
    Regards.
    Rob^_^

  • Whats a good mac to use for a home flight simulator with flight controls and foot pedals?

    whats a good mac to use for a home flight simulator with flight controls and foot pedals?
    My old 6100 AV worked great on A10 ATTACK, back in 1993.
    whats a good set up now a days?
    I havent seen any MAC set ups as a lot of the after market accessories are on  Windows platform.
    Is there a way or should I get a dedicated simulator on PC?

    The fact that USB flight input devices appear to Windows only is not a limitation; for Mac most are programmed through the sim itself. I know X-Plane does that.
    I've simmed a lot and know that good sims need a lot of processor and video hardware horsepower, and you'll also need a lot of RAM. They also run up the internal temps. A Mac Pro has better cooling than an iMac. You can get a program like SMCFanControl to manually set up the fans speeds before starting the sim.
    I know of no sims today that will still run on a PowerPC Mac (2005 and earlier) so you need to look to an Intel Mac with top specs. If looking at iMacs, start by looking for the quad-core i7 processor. Those models usually came with an up-rated video card. Thing 12 to 16GB RAM.
    My 2010 iMac has the 2.93gHz i7 processor, video hardware (ATI 5750) with 1TB VRAM, and 12 GB of RAM. It runs the x-Plane 10 demo fine but I've not bought the full version because v10 seems to make foot pedals darned near mandatory, and I don't want $100 worth of pedals under my regular work desk at the moment.

  • Connecting PC with SUN using RS232 cable

    I am trying to connect an RS232 cable from a PC com1 to SUN
    interface A. I started a getty on the SUN: getty term/a 9600
    And brought up Tera Term Pro on the PC and even tried Hyper Terminal.
    I have tried to set com1 to various settings 8 none 1 none, 7 none 1
    hardware, etc.... and even connected a breakout box and crossed pins
    2 and 3. Sometimes I get garbage and sometime I get Login: prompt
    that I can type into but Return does nothing. Does someone have any
    directions on how to set this up? I don't even know if the two RS232
    cables I have are compatable or not.
    Jerry

    Hello, Michael and John,
    I would like to add some additional information to John's answer.
    You can use Remote VISA on your Solaris workstation to access the VXIpc's VXI interface using the same VISA API you would use to access a local device. First, on your VXIpc, you should install VISA Server if it's not already installed. (It likely is already installed, so you can probably skip that step.) Then configure the VISA Server through your VISA options in MAX to start when the computer starts and allow connections from your Sun workstation. After setting up your VXIpc in this way, from your Sun workstation you can connect to any VISA resource on the VXIpc by specifying the resource string "visa://[address-of-VXIpc]/[local-resource-name]". "[address-of-VXIpc]" should be replaced by the IP address in the form "a.b.c.d", or by the VXIpc's network name, and the "[local-resource-name]" should refer to any VISA resource that is on the VXIpc, such as "VXI0::0::INSTR". You can even use viFindRsrc() to find remote resources with this mechanism.
    Using this information, you should be able to write your VISA application on your Sun workstation. To test your remote VISA setup, you can run NIvisaic on your Sun workstation to access the VXIpc interactively.
    Note that if you are doing a lot of single-point access, with functions such as viIn and viOut, or using other small transfers, these accesses will be considerably slower than they would be if written directly on the VXIpc, as each one must travel across the network to get a response, and networks have a high latency.
    Also, you will need NI-VISA 3.1 on your Solaris workstation to access your VXIpc this way.
    Richard Thrapp
    Staff Software Engineer
    VXI Software

Maybe you are looking for