Jump to content

Tim_S

Members
  • Posts

    873
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by Tim_S

  1. QUOTE (crelf @ Nov 25 2008, 10:12 AM) QUOTE (TobyD @ Nov 25 2008, 11:05 AM) We have one application where we are using 12 http://sewelldirect.com/usbtoserial.asp' rel='nofollow' target="_blank">USB to RS232 dongles + the one on board RS232 port with no issues. I was going to suggest RS232 to RS485 converters to make one network, but I like some of these solutions better. Tim
  2. QUOTE The breakpoint could be outside of the assertion VI. The assertion VI could output an error cluster which chooses between cases. The error case could contain the breakpoint. Probing at the breakpoint would give you the current error cluster's value and possibly information as to why the assertion is throwing up a red flag. Tim
  3. QUOTE (dblk22vball @ Nov 21 2008, 11:15 AM) [snip] I think you can get the look you're seeking with the tab control. The tab control can be made invisible and the tabs hidden. I've used subpanels for similar functionality and it's a bit of a pain handling when the user clicks on the "ok" button as it was not very clean to handle saves, especially when an error occurs. I'm certain there's better methods than what I used (hidden boolean on the subpanel), but everything we were coming up with required a fair amount of time we didn't have. Now, should you have a dynamic list of configuration options (say from plugins), then I expect you'd need to use the subpanel to get the look you're going for. Tim
  4. QUOTE (pabhon002426 @ Nov 7 2008, 11:17 AM) I'm not sure what you are asking after reading your post. Is there part of this you want help with? All of it? Some particular point? Tim
  5. QUOTE (sukhiray @ Sep 10 2008, 02:59 AM) There's not really enough information to help you with your third item. You can find examples for your second item (interfacing with Excel). For the first item, you seem to have a formula (though I don't understand your constants) to convert the dt into a delta-angle (d-Theta). I assume you're using a waveform, so all you'd need to do for the plot is to replace dt with the new value and ignore the timestamp in any plot. Tim
  6. QUOTE (dangan @ Sep 3 2008, 04:02 AM) Your question needs some more detail to provide an answer. LabVIEW supports many communication protocols for talking to external devices including serial, TCP, CAN, ProfiBUS, and DeviceNet. LabVIEW supports ActiveX, .NET and DLL calls for interfacing with code on the same computer. This provides a huge range of options to where, to date, the only code that I'm personally not been able to communicate with was never seriously updated from a DOS application. Tim
  7. QUOTE (manikanth @ Sep 2 2008, 02:29 AM) You haven't listed what hardware you are using to perform the control. Is this a NI DIO card? Parallel port bit? Ethernet device? I assume you are using a DIO card, in which case I recommend looking at the example code that ships with LabVIEW; there are digital output examples that ship with LabVIEW. Tim
  8. QUOTE (b_subhasis @ Sep 2 2008, 02:11 AM) Are you converting the code to write a pdf instead of html or converting the existing html to a pdf? I assume the second... It seems the easiest option would be to install a pdf writer (looks like a printer) and then print the html from a web browser, which could be controlled programically using ActiveX or .NET. Tim
  9. QUOTE (JohnRH @ Aug 28 2008, 07:34 PM) QUOTE (JohnRH @ Aug 28 2008, 07:34 PM) What would be really cool is something in which I could activly link the blocks to the lower level design detail. (circuit diagrams, interface specs, LabVIEW FPGA code, LabVIEW software, etc.) My previous employer didn't have anything (well, Paintbrush) available to me, so I faxed hand-drawn diagrams to the electrician/drafter/electrical designer/jack-of-many-trades. My current employer has AutoCAD; I'm finding that's overkill, but it does allow for a lot of text to be put into place and the diagrams can be included in the prints or drawing package. Most of my diagrams are stored as digital pictures of whiteboards, though. Tim
  10. QUOTE (TobyD @ Aug 27 2008, 07:16 PM) Automatic error handling has been one of the options I turn off once LabVIEW is installed. The why is it would report errors and wait for a user prompt when the systems I work with do not have a user standing in front of them (it's mostly production equipment). QUOTE This brings up something I am really interstied to learn. How do other people do their error handeling? We have a centralized alarms screen that logs to a database.
  11. QUOTE (Dev @ Aug 21 2008, 11:55 AM) Can you post a snapshot of what you're trying to analyze? It's difficult to provide suggestions otherwise. I would expect that a simple threshold crossing would be able to detect the peaks you're looking for. Tim
  12. QUOTE (Tom Bress @ Aug 21 2008, 09:59 AM) Quite possibly as my information on Michigan PE exam comes from my father, who last took it in... 1972, I think. He did mention that each state has it's own test, rules and regulations.
  13. QUOTE (crelf @ Aug 20 2008, 04:14 PM) There are federal regulations in certain industries (like power generation) requiring you have to have a PE sign off on any design before it can be implemented (I think this also impacts contracted work). This provides some protection for the company as the PE takes some liability for the design in that it will work and it will not negatively impact other systems (as in moving this thermostat will not impact the safety systems keeping the power plant from blowing up... seriously). A PE that signs off on bad designs will shortly be out of work with, at best, a bad employer reference. To pass the PE, you have to show broad knowledge beyond your field. The first part of the exam is in your field; the second part occurs years later and cannot be in your field.
  14. QUOTE (martin zhxie @ Aug 19 2008, 03:51 PM) You may want to look in the Code Repository and on NI's website. There are network communication schemes such as the Publish/Subscribe (http://forums.lavag.org/Publish-Subscribe-file122.html). I also recall running across a networked queue, but can't seem to locate where that was. Tim
  15. QUOTE (BrokenArrow @ Aug 7 2008, 10:47 PM) I'm not running Vista, but... Have you looked at the processes tab of the task manager to see who's using the CPU? The type of behavior you're describing can happen when a program becomes a zombie (I've had some of my LabVIEW programs do this under NT and XP.). Usually I see LabVIEW still listed under the Processes tab of the task manager but not the applications tab when this happens. Tim
  16. QUOTE (Dan Bookwalter @ Aug 7 2008, 11:39 AM) When you wrote shaker I was thinking of something like http://www.bksv.com/doc/bp2101.pdf, which is quite a bit smaller. What you have seems like a guaranteed noise source, though I would think that it would be more at a fixed frequencies. You could get broad-spectrum noise if the shaker uses a variable frequency drive and the drive is attempting to hold position. (We have this problem with synchronous AC motors.)
  17. QUOTE (Dan Bookwalter @ Aug 6 2008, 01:42 PM) We've used accelerometers, high-bandwidth torque transducers and (played with) laser vibrometers connected to a NI PCI-4472 card and an 18-bit M-series card (I don't recall the number). We were using a 6071E, but the NVH expert we hired laughed the board out of our NVH use; 16-bits is the bare minimum if you have everything perfect and 20 to 24-bits is prefered. The 4472 is nice in that it has anti-aliasing filters on-board. You mentioned that you're connecting your grounds together... that may be causing problems if you're creating a ground loop. 50 mV of noise would be 10-bits for a 12-bit card... that's not a lot and could be induced by lots of things; what frequency is the noise at and what could be causing that? You mentioned that you are using shielded cable; are you using twisted pair? Are the shields connected at only one end? No ends? Both ends? Shields should be connectedat one end and carry through for low frequency signals, but the rules change when you get to mid and high frequencies. High frequency noise should have the shield connected at both ends. Mid frequency noise can require both, one, or neither end of the shield to be connected. Then you get into conncting caps between shield and ground and it gets to be a mess. I'm not sure how to help more without knowing more about the hardware. Tim
  18. QUOTE (Xrockyman @ Aug 6 2008, 11:22 AM) The properties of the control allows you to change the "Browse Options".
  19. QUOTE (alukindo @ Jul 31 2008, 12:00 AM) I recall running across a 3rd party purchasable module for LabVIEW that would let you write PDF's. Unfortunately, I don't recall where I found it or what it was called at the moment. Sorry that I don't have more information at the moment. As for printing the picture control, I assume you're converting the picture data to a bmp, jpg or similar for printing. You may be seeing the resolution of the picture control; is there a way to make the picture control larger and then print more dpi? You may also be seeing the result of conversion to a lossy file format (which jpg is). I expect your code is huge to produce that image. Can you post your printing routine? Tim
  20. QUOTE (GaryTan @ Jul 28 2008, 10:23 PM) A CIN is a Code Interface Node. This is how LabVIEW performs DLL calls. The CIN must be configured identically to the DLL's expectation or LabVIEW can crash. Tim
  21. QUOTE (GaryTan @ Jul 28 2008, 05:06 AM) I typically see that message when the CIN doesn't match the DLL's function call. Tim
  22. QUOTE (urh8 @ Jul 22 2008, 06:33 AM) I would recommend two things: 1) Disconnect everything you can and connect only the oscilloscope to the analog output. 2) Disconnect the oscilloscope from ground. The second can be very important. There are some oscilloscopes that can create a ground loop through the ground pin of the power plug -- at least with US-style three-prong plugs. I assume that other styles of plugs can also create this issue.
  23. QUOTE (Götz Becker @ Jul 16 2008, 03:20 AM) My understanding is that reading a control or setting an indicator switches to the UI thread. I would guess that the lower is more optimized because all of the controls are read at the same time, thus only requiring a switch to the UI thread once. Tim
  24. QUOTE (sisson @ Jul 14 2008, 01:53 PM) Try an internet search for mySQL and 2147287038. There appear to be over 700 results when I tried. Remember that putting the - sign in there will eliminate results that have a 2147287038 in them. Tim
  25. QUOTE (ikos74 @ Jul 10 2008, 12:10 PM) There is a .NET class library if you go to the driver section of the Advantech website. LabVIEW can interact with .NET objects. Tim
×
×
  • Create New...

Important Information

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