Jump to content


  • Content Count

  • Joined

  • Last visited


Community Reputation


About atk_nut

  • Rank
  1. Hi there, I would like to fire an event in an event structure based on a digital input from a daq device (button press). Does anyone out there have an example of that? Can I do it? Thanks.
  2. I'm trying to generate a sine wave on 6 channels at 60hz. I want to "smoothly" transition to 50Hz. The update rate is 60,000 points per second (that should give 1000 points per cycle at 60Hz.) I generate a buffer of 1000 points for 60 Hz, then write the buffer of 1200 points (50 Hz) at the same update rate. However, the signal stays at 60Hz. until I reset the clock. I'm getting stumped. Any ideas? I've attached some code. Download File:post-1336-1155844390.vi
  3. Has anybody ever written a gerber viewer in labview? ie something that reads a gerber file and plots the data in a picture control?
  4. Does anybody know of a more memory friendly control/indicator than the standard picture indicator? I need to display a large 1meg jpg file and when I convert it to the picture format it takes over 65megs. Has anyone displayed a jpg direct in an activex control maybe?
  5. In LV8, I have a network published shared variable in one application. I reference this variable in another application by binding to it in the shared variable properties. I've changed the machine reference to "localhost" like in the example. It all works fine on my machine in development and exe. (I'm running xp.) However, when I install these applications on a different windows 2000 machine, the exe versions are still trying to reference the variables on the orginal machine. The win2k machine doesn't show up on the variable list either. In my builder, I have selected the variable eng
  6. OK, I've been given two dll's. One contains the .net methods that I wish to run, and the other contains the definitions for the custom classes that the methods return. I can add the first dll (with the methods) to the .net assembly references, but not the second. I can call the method, and it looks like the datatypes are there, but when I actually run the method. I get a .net exception: File or assembly name dllnumber1, or one of its dependencies, was not found. in Untitled 1 My c# expert says, no problem, all you have to do is declare dll#2 in your code. OK, so how do I do it?
  7. atk_nut

    9 data bits?

    I have an older obscure peice of hardware that has a serial protocol with 9 data bits. The protocol is as follows: Baud: 4800 1 start bit + 9 data bits (described below) + 1 stop bit No parity bits Byte 1 - channel id: 1nnnnnnnn Byte 2 - channel level: 0xxxxxxxx I've tried faking it out in various ways using Mark and space parity, but it doesn't work. Has anyone out there done this before? Thanks.
  8. Good. That actually makes me feel better, because I thought I was missing something. Thanks!
  9. How do you set the "events handled by this case" in scritping? Anyone?
  10. Anybody have an example of creating a new wire and linking it to two objects? ie a numeric constant to a timeout terminal on an event structure? I've attached what I have so far. Thanks. Download File:post-1336-1114041653.vi
  11. Ok. It turns out it was simpler than I thought (If you have OpenG installed.) See attached. Download File:post-1336-1113948711.vi
  12. OK, here's the issue. I'm trying to duplicate a record with the SQL toolkit. In the insert record vi, it takes a cluster of data, converts it to variant, parses the datatypes and inserts the record. What I want to do, is develop a vi that programmatically inserts a record based on the column info and an array of strings. (In stead of building a cluster to pass to the vi.) The problem is, how do you "build" a cluster variant from an array of strings. I have attached a vi that illustrates the problem. The goal: Make variant2 look like variant1! Any help would be appreciated. Download
  13. Here's how I solved it: Since both apps were accessing a SQL server DB. I just created a small table in that database to "token" pass between the two apps. I decided to go this way, because we could potentially have half a dozen machines accessing the hardware in the future. I would prefer direct communication because SQL may not always be available, but it works quite well for now. Thanks.
  14. Have you figured out a good way to handle the "_nnn" issue?
  15. Have you tried the GOOP wizard from NI? Is it different than what you are doing? I just tried it myself for the first time and it seems to work pretty well.
  • Create New...

Important Information

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