Jump to content
News about the LabVIEW Wiki! Read more... ×

ooth

Members
  • Content Count

    60
  • Joined

  • Last visited

Everything posted by ooth

  1. ooth

    Legacy NI-DAQ download

    For anyone else that might have this problem. (since Michael already provided the file) I needed a legacy NI-DAQ recently and I sent an email to NI explaining why I needed it. They provided a link that was valid for 24 hours. So that's a possible solution to take. Apparently NI pulled all the legacy DAQ because it never checked for malicious 3rd party devices.
  2. ooth

    Communicating to an Omega HH806 meter

    Here's a pic of the comm setup tab
  3. Hi, I was wondering if anyone had experience talking to an Omega HH806W digital thermometer. Specifically I'd like to know the read/write commands. The software that came with the meter is only a small application and I'd like to use LabVIEW to do the communication. The weird thing is when I installed the software it came with a LabVIEW example but the very important read/write VI was missing. So I know LV communication can be done. I contacted Omega and they said the manufacture purposely holds back that code for proprietary concerns. So before I have to go and find another meter with friendlier software support I wanted to ask the community if anyone had some information or VIs for this meter. Here's a link to a pic of the meter. HH806 Meter Thanks everyone
  4. ooth

    Communicating to an Omega HH806 meter

    Antonio, You are correct that it probably doesn't respond to the IDN? cmd since it wasn't listed in the document. So I would suggest to try the first cmd "Model name code access". So change the cmd to #0A0000RA60D0A (this is taken from 2. Model name code access under Ex) Also be sure to change the comm setting per the document 19200,E,8,1
  5. ooth

    Communicating to an Omega HH806 meter

    Sometimes I do make it to UK, but not so far this year. My suggestion would be to turn on Highlight Execution and run the VI. Check if an error occurs out of any of the VISA VIs. Now if that doesn't help I would: 1. Open NI MAX 2. Right click on the ASRL4::INSTR resource and select Open VISA Test Panel 3. Select the Input/output tab 4. Try sending the default message of *IDN?\n by clicking the Query button. I first get the instrument to respond to the IDN cmd using MAX before I start programming a VI. This tells me the connection is good.
  6. ooth

    Communicating to an Omega HH806 meter

    That error code says, "VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it." I would think that another program has control of that comm port. Make sure all the other programs are closed and then run the LabVIEW VI. You might have to close and re-open LabVIEW after you closed the other programs.
  7. ooth

    Communicating to an Omega HH806 meter

    Hi, First, I would not use the VIs I made before since they were formatted just for that meter's protocol. I built a VI based on the protocol you supplied. It takes a command string (ex. #0A0616N), calculates the checksum, and then sends the command. I didn't parse the return message but you can do that based on which kind of command you send. The VI is saved with LV 2012. Good Luck Omega.vi
  8. ooth

    jpg or bmp from LabVIEW toExcel

    Try this. It copies a control's picture into the clipboard. Then you can paste from the clipboard into Excel. Let me know if you are missing some VIs. I think some of the subVIs use OpenG VIs, so I hope you have that installed. Insert Pic.zip
  9. ooth

    LabVIEW + NXT Robot Chess

    This Lego Mindstorms project is really cool. Watch the whole video to see the 3D-version. I apologize if this has already been posted. Monster Chess
  10. ooth

    Event Structure

    I second this idea. I always use mouse up for push button events.
  11. ooth

    Problems with Excel and ActiveX

    I'm glad you figured it out. Whenever I need a specific refnum in my main VI I use the excel Get Data to Modify.vi. It's usually the first subVI in all the excel VIs and is used to access the "excel object reference". I didn't make most of the VIs so I can't explain much. If you drill down to the excel objectRepository.vi you will see that it is locked. But I don't care much because I've been using these VIs for a while now and they work for me. I don't have to know every in-and-out of the workings. Here's an example of pulling out the a specific reference. Just be careful that you close the references that you pull out before you execute the excel close.vi. I didn't close the Application refnum in this case because the excel close.vi will do that for me, but if I proceeded to create a range refnum from the application I would have to close it before continuing on to the the excel close.vi
  12. ooth

    Problems with Excel and ActiveX

    I didn't notice that Excel prompted the user when deleting a sheet. If that's the case you might have suppress alerts. Look at the Save Workbook.vi to see how it's done. I'll be away for most of the week, but I'll look into it when I get back on Friday. You probably will have figured it out by then. Good Luck.
  13. ooth

    Problems with Excel and ActiveX

    There's one caveat when using these VIs. Say you are debugging your program and abort it before the excel close.vi gets a chance to close all the Active X references. Well next time you run the program the VIs will probably start to error out and Excel won't open. You should open the the excel DESTROY ALL REFERENCES.vi and run it first before starting the main VI. In fact a put that VI in the initialize stage of all my programs.And for debugging purposes I just have it open and off to the right. The VI is found in the Low Level palette.It's the one with the red X on the Excel sheet.
  14. ooth

    Problems with Excel and ActiveX

    Oops, forgot to change the VI description. Here's the new delete sheet.vi excel delete sheet.vi
  15. ooth

    Problems with Excel and ActiveX

    You are correct there is no Delete Sheet.vi but I made one now. I usually make VIs as needed. Just insert this new VI into the library. I found most of these Excel VIs on NI Forum under the Excel Board. I think they are a good alternative to the Report Generation Toolkit that NI sells. I didn't create them but I did do a lot of modifications so the ones you see there are different than the ones I have posted. excel delete sheet.vi P.S. The excel select sheet.vi also inserts a new sheet or selects a sheet. I doubled up the functionality on that VI.
  16. ooth

    Problems with Excel and ActiveX

    Ok here's how I would do it. This example might confuse you even more because it uses a lot of pre-made VIs instead of just showing you the raw Active X code. But you can open up the excel copy worksheet.vi and look how I'm doing it. 1. Unzip the Excel VIs to your user.lib and probably do a quick mass compile on them. 2. Unzip the Copy Example.zip to anywhere you want. It has the main Excel Copy Example.vi and 2 Excel workbooks: your Template.xlsx and a Final.xlsx. 3. Run the copy example and the Final workbook should have the template sheet in it all renamed and everything. 4. Step thru the example to see how it works. The excel copy worksheet.vi is what does the magic that you want. The problem is that it has a bunch of subVIs. But at least you can see what I'm doing. Good Luck. I'm sure you'll have some questions. -John Excel.zip Copy Example.zip
  17. ooth

    Property node for table formatting

    On a related note. I usually want to make my table's column or row headers bold and centered. Is there an easy way to select all the column headers and then change their text format to bold? You can do that with the cells inside the table but not with the headers. What I usually do is create a property node and index through each cell and change the font properties. Thanks
  18. ooth

    LVSpeak 2.0 - Release Discussion

    Norm, I don't want you to spend a lot of time on this; I just wanted to to know if this problem ever came up. I'm having trouble getting the "remove and rewire" to work. As far as I know this is the only command that calls the quick drop shortcut. I'm trying to reproduce the same example that you showed in the video (replacing the property node) but it doesn't work. LV Speak recognises the command buy the property node doesn't get removed. Also I noticed that the Execute QEC.vi for the Replace command was the only VI in the plugins package that was flagged as needing recompiled (you know, has the * in the title indicating a change needed saved). I'm not sure if that points to the problem or not. Anyway if you had any ideas I could try that would be helpful. Thanks, John
  19. ooth

    LVSpeak 2.0 - Release Discussion

    Norm, I just downloaded LVSpeak and I'm hooked. But I wanted to know how to say certain things to call VIs like GPIB Read, GPIB Wait. I saw they were listed in the FreakingFastDrop but I'm unsure how to say them. Thanks for a wonderful tool.
  20. ooth

    VISA Resource name have no pop up menu

    This is just a thought. Sometimes this happens to me and it's because the GPIB card is loose in the PCI slot. Once I push it back in the VISA works. I know you said that you can communicate with MAX which would mean that the GPIB card is working, so I'm not too sure if this is your problem.
  21. Hi, Working with Excel ActiveX can be frustrating. I made some changes to your VI and it works now. Let me know if you have questions about the comments I added. PS. Frank be me to the reply, but the info he says is all correct. Good luck. ExcelWritingDataToMultipleSheet.vi
  22. I'm not sure if this is a LV2009 thing or not but I cannot get the context help to show the VI description when the VI is part of a polymorphic group. If I open the VI and then put the cursor over the icon then the help text appears but not when its on another VI's BD or in the palette. This happens with some of the OpenG VIs and others actually show the description text. I must be missing something. Thanks
  23. ooth

    Communicating to an Omega HH806 meter

    Pat9030, here are the VIs but they are saved in LV2009. I don't have all the version to back save down to LV7.1 If you give me your email I could send you some screen captures of the code. It's not that complicated. Init Extech Temp Meter.vi Read Extech Temp Meter.vi
  24. ooth

    [CR] Improved LV 2009 icon editor

    @PJM I love how you made it so you can move the individual windows anywhere that you like. Keep up the excellent work!
×

Important Information

By using this site, you agree to our Terms of Use.