Jump to content

longzoo

Members
  • Content Count

    27
  • Joined

  • Last visited

Community Reputation

1

About longzoo

  • Rank
    More Active
  • Birthday 07/10/1970

Profile Information

  • Gender
    Male
  • Location
    Johnstown, PA

LabVIEW Information

  • Version
    LabVIEW 2011
  • Since
    2004
  1. nice. I was not thinking of using the DI sampling rate. I was thinking of "reading" the input in a loop..*smacks forehead* Thanks
  2. I have an application where i need to send a variable DC voltage output (from 50-250mV) then time when an event happens after the voltage is applied. I envision a switch tied to a DO then measure the time to the DI event. Some of these events will occur within 1ms of the output event. Can anyone suggest hardware that is capable of this kind of timing?
  3. one other note...i noticed when i plugged another identical device in (same UART different serial number) and went to change the COM that the old COM number was "in use" as long as LabVIEW was still open. Regardless of restart, rescan, disable and enable cycles
  4. ding dang it...It's still latching up. I found that the version of devcon.exe i was using was a tad old and when i downloaded the new WDK (version 8.1) i was able to disable, enable, rescan and restart, however LabVIEW still won't allow me to use the port until i completely quit LV and come back in Any other thoughts?
  5. hmmm, no i was running with the rescan swithc....let me give that a shot NICE! thanks so much
  6. Thanks for the reply viSci, I downloaded, installed and ran devcon.exe both manually (right click>>run as administrator) and with system exec.vi. Either way when i run VISA configure...vi I still get a -1073807330 occurred at Property Node..... I seem to be missing something here
  7. Thanks Chris, I manually ran Visa close several times but it seems to just latch up.
  8. I have a USB device that I need use with COM drivers as well as D2XX. In order to switch between the two drivers a registry edit has to be made (which is no small feat for Windows 7 and the many levels of permissions). At times I have to switch from COM to D2XX, send some commands then switch back to COM. As expected, when i switch to D2XX i notice my COM port disappears from Computer Management then swiching back to COM it reappears. HOWEVER, after this point I can no longer run "VISA configure Serial Port (Serial Instr).vi" without the -1073807194 property node (arg 8).... error. I found i
  9. Thanks Mellroth! That was it....i did a "search and replace" for 0x5C with null on both strings and it is working now...although i see a new folly in the way we do this, there are many characters we will inadvertently hit since our string is any combination of hex characters 0x3F (?) 0x2E (.) etc. Thanks for the info Dave
  10. Hello all, I am having an interesting problem that i finally traced down to the simple little "match pattern" vi. I inherited many programs that use that vi for everything from pulling a single character out to sorting a huge list from a text file (neither of which i advocate). HOWEVER, I was troubleshooting some code that only showed an error in one specific situation and upon delving in I found this vi to be misbehaving, or more likely I misunderstand how it is behaving ;-) The vi has to remove an echo command then display the response. it goes like this i send 0xABCD and read back 0x
  11. Philip...that is AWESOME! It's much better and easier than my clunky workaround. many thanks! Dave
  12. NOTE: while typing this up i found my solution but decided to post anyway in case it may help someone else I decided to quit beating my head off the keyboard and ask for help...I have a vi that will eventually be an .exe distributed across a variety of windows xp to windows 7 machines (32 and 64 bit). In this vi a bunch of data is saved to a .tsv file at C: i then need to open the .tsv file in excel. After some searching i found System Exec.vi. it initially seemed to be my silver bullet because if i open command line in windows and type " excel.exe c:temp.tsv" Excel is opened (and this sh
  13. update: the LCD on the front of the meter responds with a 2 second delay, so apparently the lag is inherent in the system, i can read it every 170ms but the data shown is always 2 seconds behind ;( thanks again for the info ASBO
  14. Thanks for the response, First the easy questions...the baud rate is 9600, the 70 ms is added between a visa write and a visa read in my subvi. As far as multiplexing I don't think that is necessary as I specify an address when I "visa write". Then when I read the buffer the only thing there is the reading from that address. I don't think there is a "read all" command. I determined the read time from multiple reads of all 5 sensors that i have into an array, ie. write to address 1, read ->to array; write to adress 2, read->to array; etc. when i ran that 100 times i got 500 readings and
  15. I am working on a project that requires alignment of a light source. There is two light meters sitting 45 degrees from one another and when they both see the same amount of light the fixture is aligned. I have a sub-vi that reads the light meters with approx 70ms execution time but when i put them in a loop and read continuously to a set of graduated bars there is considerable lag (more than a second). I put a tick counter to determine loop time which is around 170ms. any ideas on why the long lag?
×
×
  • Create New...

Important Information

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