Using LabVIEW for temperature control with AMREL SPS200-50-A022 power supply

Hi, I hope someone can help me out. I'm an ME undergrad with pretty much no knowledge of LabVIEW. I am working a project which requires a temperature controller. Previously, we were using an SPS120-10 power supply from AMREL and a grad student wrote a LabVIEW VI which performed feedback temperature control. The VI would acquire temperature from a Benchlink which acquire the temperature from a thermocouple. The VI also monitor the output voltage & current and determine the power output and heater resistance from those values. When a desired temperature is set, the VI compares the actual temperature to the set temperature and adjust the voltage/current setting to achieve the desired temperature. The VI was designed to keep temperature deviation to within +/-0.5 deg C. I'm not sure of the data refresh rate, but it's on the order of seconds since the system has a small thermal mass and we're operating in the 800+ deg C range. When we were using the SPS120-10, the device used GPIB for communication with the PC. Due to higher power output demand for the heater, we switched to an SPS200-50, which only has an RS-232 port. First of all, I was wondering if someone could help me modify the VI so that it could communicate with the SPS200-50 through the serial port? In addition, the drivers for the SPS120-10 and SPS200-50 might be different. If modifying the VI to communicate through the serial port isn't enough, I would need to figure out where to modify the VI with the SPS200-50 drivers, which is provided by AMREL. If anyone would like, I can send you the VI files so that you can take a look at the block diagram and tell me where to modify it. I'm still not 100% certain I understand how to read LabVIEW block diagrams.
Please let me know if you need any additional information. Any help would be appreciated. Thanks in advance!

I have looked over your vi. First of all you have to do some changes in the "ARSPS Initialize.vi" See picture.
The best way to check instrument communication is to send the *IDN? Command. The instrument will indentify itself in response to this command. The vi I have included is a labview example. Use this Vi to test your communication. Do not progress before this is working. The VI is also an excellent example on how to set up and close down RS232 communication.
The VI "Tfeedbackpowercontroller-nolvdt-Dinh.vi" looks OK so I guess it will work then your RS232 communication with the SPS200-50-A022 is working
good luck
PS as mentioned before you will find all the RS232 details in the instrument manual
Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Attachments:
sample.PNG ‏38 KB
Basic Serial Write and Read.vi ‏29 KB

Similar Messages

  • DC to DC converter basics using Labview on FPGA Control with VHDL

    DC to DC converter basics using Labview 
    I am fairly a novice, that is why simplifications required, before I begin thanks in advancefor them who will response  
    I am designing a DC to DC (Intermediate Bus Converter, a step down BUCK converter, of 24 v input and output 9 v and 5 amp current output), using FPGA controller, I need to program this using VHDL, for which I take LabVIEW, but as I am new so do not have any idea as what are the steps that I need to take for implementation, what types of function that FPGA does in this so that it can generate 24 v and what other mechanisms that have to control inside or outside of FPGA programming and designing that it can give the desired output voltage, if you have any idea about this then I would be glad to receive the steps that are necessary to complete this

    NI supports two Spartan 3E products through either LabVIEW FPGA or MultiSIM, the Digital Electronics FPGA Board (http://sine.ni.com/nips/cds/view/p/lang/en/nid/207​010) and, if you are in academia, the Xilinx Spartan 3E XUP starter board (as linked by Dennis_Knutson).
    Also note that if you wanted to implement some logic in VHDL and have access to that logic in a LVFPGA diagram, you could utilize the Component-level IP (CLIP) fuctionality (http://zone.ni.com/reference/en-XX/help/371599G-01​/lvfpgaconcepts/using_component_ip/)

  • Using Labview for Interpolat​ion by minimum curvature method

    Hi,
    I'm currently seeking a VI that will enable me to
    use Labview for Interpolation by minimum curvature method.
    Can anyone help me? I'm looking for something that will
    Interpolate values Z at known points with coordinates X, Y
    to values ZI at points with coordinates XI, YI.
    Regards,
    Gilles

    Hi Cyril,
    Thanks for your followup! Any idea where I can find such
    a formula/book?
    Regards,
    Gilles
    Cyril wrote in message news:<506500000005000000196D0000-1017707437000@exc​hange.ni.com>...
    > Gilles,
    >
    > LabVIEW doesn't have a function that will spline a three point surface
    > plot. I would recommend looking into a statistical analysis book and
    > find a formula to set up a 3 point spline function. Then enter that
    > function into the formula node in LV. I hope this helps

  • I have an old iphone and have a new one as well. I would like to use my old on as an ipod but itunes not longer recognizes it.  Any ideas?  I have been using it for a month with no problems until tonight. I restarted my computer..still no fix.

    I have an old iphone and have a new one as well. I would like to use my old on as an ipod but itunes not longer recognizes it.  Any ideas?  I have been using it for a month with no problems until tonight. I restarted my computer..still no fix.

    Looks like its fixed.     I am syncing it now.      A lot of the answers are for the new iphone so i had to mess with a bunch of settings as well.  My old phone is now an 8 gig ipod.  the books app no longer works and that *****.....but better than nothing...

  • My iphoto will not open for some reason. the cursor just keeps running...been using this for 3 years with no problem. It started doing this after I tried to load some photos from a camera I have successfully used before

    I cannot open my Iphoto on my macbook pro. I have used it for three years with no problem. However, after trying to load some pictures from my camera it seems to have frozen up. I force quit it and have not been able to get past the opening blank window since ...cursor still blinking as if it is downloading or trying to open.

    What version of iPhoto?

  • Hello I bought a G-Raid GR4 4000 4 TB and used it for a backup with my new Imac27. Now this is all I get. "Time Machine couldn't complete the backup to "G-RAID". to complete backup. An error occurred while creating the backup folder.

    Hello I bought a G-Raid GR4 4000 4 TB and used it for a backup with my new Imac27. Now this is all I get. "Time Machine couldn’t complete the backup to “G-RAID”. to complete backup. An error occurred while creating the backup folder."
    Any idea what I should do?

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the word "Starting" (without the quotes) in the String Matching text field. You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard." Note the timestamp of the last such message. Clear the text field and scroll back in the log to that time. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them (command-C) to the Clipboard. Paste (command-V) into a reply to this message.
    If all you see are messages that contain the word "Starting," you didn't clear the search box.
    If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Some personal information, such as the names of your files, may be included — anonymize before posting.

  • Troubleshooting labview for motion control

    I use labview for establishing a 1-d straight line movement for a small dc-motor, i have a PCI-7430 controller and UMI_7774, but after i wrote the code on labview, an error appear,contains the following: error 70006 occured at load velocity(the sub vi called load velocity), and then the message show the possible reasons for this as follows: an invalid axis or other resource ID
    Attachments:
    1-d motion.doc ‏87 KB

    Ni-motion in labview,
    I see that this issue is already being
    discussed in a different thread.  In the future, if you have two similar
    questions, please keep them within the same thread so that we can answer them
    in a concise manner.  Thanks.
    Best regards,
    Vu D

  • I been using viber for a long with no problems until today it's restarting on its own and once I enter the code it try's to sync contact it restarts again.  I tried reinstalling but it's still the same. Please replay ASAP

    I been using viber for a long with no problems until today it's restarting on its own and once I enter the code it try's to sync contact it restarts again.  I tried reinstalling but it's still the same. Please replay ASAP

    Contact Viber customer or technical support regarding a problem with their iOS app.

  • I could use Ipod Classic (30g) controls with connection to Highlander (adapter plug into JBL single CD player), but cannot with new 160g Ipod Classic. What gives?

    I could use Ipod Classic (30g) controls with connection to Highlander (adapter plug into JBL single CD player), but cannot with new 160g Ipod Classic. What gives?

    Charge it up fully. Toggle the hold switch. Try getting into diagnostics mode again. See Corrupt iPod classic.
    tt2

  • I've been using IMac for 3 years with Microsoft office. Today, I could not open any excel files? Any Ideas?

    I've been using IMac for 3 years with Microsoft office. Today, I could not open any excel files? Any Ideas?

    If you upgraded to Lion or Mountain Lion, and did not upgrade to Office 2008 or later, that may be part of the problem.  Try LibreOffice, OpenOffice, NeoOffice, Google Docs, or Zoho Docs.  See my FAQ* for link:  http://www.macmaps.com/crossplatform.html

  • Useful link for Process controlled workflow

    FYI Useful link for Process controlled workflow..
    http://help.sap.com/saphelp_srm70/helpdata/en/74/c0256bebb54f1c8dfb519d2908152b/frameset.htm
    Thanks!!
    Bharath

    Hi Peter Novoth,
    Can you please create this as a sticky thread, so that this will be us full for everyone..
    Thanks!!
    Bharath

  • Interface using telnet for instrument control

    I'm trying to create a GUI front-end program for accessing instruments and equipment on routers. The first step would be to create a menu of telnet sessions that the user can select from. Maybe a pull-down menu that can select any site (router) in our district. I'm not sure how to either create a telnet session or pull-down menu using LabView. Any suggestions would be appreciated.

    There's various types of pull down menus. There's controls like the menu ring, dialog ring, text ring that you can programatically populate using a property node. You can also create your own run-time menu. There are shipping examples for all of these. Select Help>Find Examples.
    The easiest way to implement telnet sessions is to buy the LabVIEW Internet Toolkit. It comes with an example tlenet client. However, you may not need this. VISA supports TCP/IP instruments that you can add and share from MAX. Then, for any instrument that has an instrument driver written using VISA calls, communication is just like using a local GPIB or serial instrument. Utilizing a driver is much easier on the e
    nd-users since they don't have to know the command syntax in order to make measurments.

  • Using LabVIEW to simulatenously control 256 Outputs on FPGA

    Hello,
    I am a first year graduate student classically thrown into learning LabVIEW, so I would much appreciate some help with the code I am trying to work out. To give you an idea I started watching the tutorials on creating loops in February. For reference I am on LabVIEW 2014 and using a CRio-9066 with 8 modules and 256 total digital outputs.
    The goal of the code is to 1) generate on/off times for the state of the outputs on the FPGA VI and 2) to communicate this with the FPGA VI in real time. The reason the code is on a computer VI and not contained on the FPGA is because I need to use a normal distrbution function (which has inputs mean and standard deviation and outputs a value accordingly) to determine the timing. This is easily achieved on the computer, but not so easily achieved on the FPGA interface. It is essential that each output follows it's own unique timing function for my purposes.
    The way the code works is that each output has it's own while loop containing a two-frame timed loop (see attached.) A sub-VI I made (with a sun icon, see attached) outputs a timing value each time it is called, and this value delays the next iteration and during this delay sets the value of the local variable as true or false (on or off.) The state of the local variable is continuously communicated with the FPGA VI using a read/write control elsewhere in the program. The FPGA VI itself is a very simple VI which has boolean switches attached to each desired output.
    This code works very well for 128 outputs. However, when I try to use it for all 256 outputs it does not work. The VI does not report any errors, however about half of the loops are apparently not executing. My suspicion was that there is a limit to the number of processors that can be simultaneously utilized to execute loops in a VI, so I split the VI into two parts, each with 128 outputs communicating with the same FPGA VI. Again, I had the same issue. I am not sure if this is due to processor overuse or UI latency in labview (since the front panel is rather cumbersome.) Any suggestions would be greatly appreciated.
    One thought I had to work around this is to create a VI which generates timing values and stores them in an array. Then I could create a simple VI on the FPGA which reads these values and assigns a true or false state to the output accordingly. However, when I pasted the array into the FPGA VI I was returned the following error: "The FPGA module does not support variable-sized array on the front panel of the top-level VI." Any suggestions for working around this would be greatly appreciated as well.
    Any thoughts, comments or insight would be greatly appreciated. I am new to this so I realize my code is probably inefficient and such, so any tips would be awesome. Thank you.
    Attachments:
    Timing_Loop.PNG ‏15 KB
    FPGA_error.PNG ‏116 KB

    For the array error, check out: http://zone.ni.com/reference/en-XX/help/371599H-01/lvfpgahelp/creating_fixedsize_arrays/  Do you understand why a variable sized array causes problems with FPGA fabric?
    You're right about loops on either the RT side of your cRIO or your computer requiring cores and that cores might have to share threads if you have too many loops.  Loops on the FPGA itself will be routed otherwise.
    When you say computer, are you talking about the PC or the RT side of your cRIO?  Is there a reason you've got locals all over the place instead of shared variables?  Are the values meant to stay with the PC only or shared to the FPGA/RT?

  • HELP!!! Using LabView to display/control Mitsubishi FX series PLCs

    Hello,
    I am a LabView novice and have some questions around using LabView to control and display information from several laboratory instrumentation with a Mitsubishi FX series PLC. The communication protocol for the PLC is Profibus. What LabView modules/products do I need? Will I be using the OPC server and client to communicate to the PLC? Will I be using the device drivers? Is the device drivers the same as the OPC server. Will I need a profibus network card in the PC for Labview to communicate to the PLCs. Once again, I am a novice so please be patience if I ask more questions to understand your response.

    Hi,
    The following thread seems to address a similar query:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=27248&requireLogin=False
    To answer some of your other questions:
    1. You'll be communicating with the Mitsubishi hardware using an OPC server.
    2. This isn't the same as the device drivers, though it could be included with the device drivers you got from Mitsubishi, you would have to check that with them.
    3. I don't know if you need a profibus network card in your machine, again, you'd have to check that with Mitsubishi
    NI do provide OPC software but I'm not sure if your device is supported. Check if it's listed in the following supported device list. If not you should be able to get an OPC server from Mitsubishi. According to the thread linked above they have one that's compatible with LabVIEW.
    The software NI provides that can communicate with OPC servers is called the Data Logging and Supervisory Control Module. What LabVIEW software do you currently have?
    I would advise that you contact Mitsubishi to make sure you have all the necessary hardware first. Also, ask them about the OPC server software. Then you can work on controlling the PLCs with LabVIEW.
    I hope this clarifies things but if not, post some more questions.
    Regards,
    Sarah
    Applications Engineer | National Instruments | UK & Ireland

  • Using Visa "resource name" control with GPIB example

    good morning
    I have in my pc two resources of GPIB (Ni-Enet and HP-HPIB card) each one has differet VISA name (ie:GPIB0,GPIB1)
    means Ni-Enet is GPIB0 and HP-HPIB card is GPIB1.
    I tries to use the example Labview<>GPIB to communicate with GPIB1 but it failes
    because the address given (string), to the gpib write object is a string and it recognized only the GPIB0 addresses
    i tried to use the "visa resource name" control (used in the example Labview<>Serial)
    in the Labview<>GPIB example but it failed. ("visa resource name" shows all resources includes GPIB0 nad GPIB1)
    tell me pleae how to use the Labview<>GPIB example to communicate with the equipment addresses used in GPIB1
    a bit long , but hope the issue is clear enough..
    thanks in advance
    Happy new year.
    Simon

    You can't use that example with an Agilent GPIB board. The GPIB functions are only for NI boards and the NI-GPIB driver. You should be able to convert it to VISA but you'll have to replace the GPIB Writwe/Read with VISA Write/Read as well as changing the GPIB Address String to a VISA Resource Name.

Maybe you are looking for