Jump to content

ASTDan

Members
  • Posts

    360
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by ASTDan

  1. QUOTE(shoneill @ Mar 6 2008, 12:39 PM) I don't know how I got them to work. You might want to try setting the TermChar to True in the Init VISA. This enables VISA to be able to recognize TermChar. Also the default is LF to change to CR do the following. There are also some other interesting events that my be applicable i.e. Serial break 0xA is the hex equivalent of a linefeed character (\n). Change the termination char to 0xD for message strings that terminate with a carriage return (\r). On the other hand, isn't this basically what the VISA read does in the background with "ASRLEndIn" set to "TermChar" ?Events allow VISA to trigger a Read. The "ASRLEndIn" set to "TermChar" tells VISA where to stop reading.I would aggree you may have to do some buffering on a high baud serial comunication.What I like about Events is I can trigger my read on something usefull. Not just reading whatever is on the serial port every x seconds. This can save parsing headaches.My $0.02DanQUOTE(Aaron L @ Mar 6 2008, 02:11 PM) Dan,I was able to take your example and get it to work. This is the first code that seems to do what I want. I'll have to try it at full speed to see how it handles things. Attached is a VI with the basic program.Thanks! You don't need that wait before enabling the event. When you create the event that is telling VISA to wait until it sees a Term Char on the serial port.Dan
  2. Cool! Glad I could be of some help Dan
  3. I came accross VISA Events latly. I used them in my last Serial I/O project with great sucess. Here is a sample of basicaly how it works. Dan
  4. I would recomend using a butterworth filter to filter out your unwanted frequences. Then use the derivitive vi to calculate dx/dy Dan
  5. I would sugest using a counter timer input to measure encoder signals Using a counter/timer channel will be more than adequate to capture your 36k/S signal http://zone.ni.com/devzone/cda/tut/p/id/3321 Dan
  6. I uninstlled Open G and reinstalled it. It worked! I now have open G on my palette Thanks Dan
  7. Hello, I have installed Open G. It works great however my paletts in LabVIEW 8.5 don't have a link to the Open G vi's. The Open G files are there I just don't have a link to in the paletts. My paletts have links in my older versions of LabVIEW Any sugestions? Thanks Dan
  8. I bought the book last year from Amazon. It has as 2003 copyright and the print quality is bad. Great book though! Dan
  9. Hello, I usually recomend NI data acquisition products over competetors. The reason being the interface with LabVIEW is SOOOO much easier. My monetary agrument is, so you saved a couple 100 bucks on a daq card but it took you an additional 8+ hours to get it working. Time=money. The other daq card now is not so cheep. Dan
  10. Hello, No it is not with regards to LabVIEW. Sorry that wasn't clear. I am trying to find a guide to wire up electrical control panels. I have searched amazon and google and haven't found anything I like. I am trying to find a reference book that explains this to the novice, or an engineer that wants his wiring to not look like it was done by an engineer. Thanks Dan
  11. Hello, Can anyone recomend a good reference for control Panel wiring. Thanks Dan
  12. FYI My problem was that the version of the fieldpoint driver on the host MUST match the version of the fieldpoint driver on the target. The fieldpoint driver is NOT backwards compatible. Please send me $.01 every time this post solves your pain and suffering ; )
  13. I have tried following the steps in the link but I still can't get my executable to work. I am not embedding the code on my filedpoint module so I don't think I need the startup file? How do I synchronize the drivers? Do I need to do that since I am not embedding code on my fieldpoint module? Any help would be appreciated. Thanks Dan
  14. Hello, I am trying to build an executable with a fieldpoint applicaiton. http://digital.ni.com/public.nsf/allkb/22C...62571D9006A62B5 As long as I have the .iak file of interest loaded into MAX on my target machine, and I call the fieldpoint i/o with respect to the project I should be fine. Am I reading that right? Has anyone else come accross this issue and what did you do to solve it? Thanks Dan
  15. If I manualy navigate to define the control Ref i.e. Right Click on a generic control ref, Select VI Server Class\Generic\etc.... The option to include the data type is grayed out. In the past I was able to select that (I think I could....). Why is it grayed out? Is this a bug? It seems you should be able to select if you want to include that data type or not. Thanks Dan QUOTE(JDave @ Jan 18 2008, 02:27 PM)
  16. Why is the "Include Data Type" Grayed out? Thanks Dan QUOTE(JDave @ Oct 30 2007, 01:05 PM)
  17. Wow super cool. Now to fully open a can of worms. Where can I find a list of all common symbols i.e. degree, plus minus, etc. Where is the ASCII codes for all this stuff. I wasn't aware of the Alt+176 Thanks. Also on a comment note wouldn't it be cool if there was a Open G library that contained common symbols like the one posted by PJM_LabVIEW.
  18. Hello, This hopefully will be a simple question. I am working on some code and to my supprise it has a degree symbol (little circle above numbers). I didn't know LabVIEW had this capibility. I have been trying to figure this out for years. How do you insert a degree symbol into a string? Thanks Happy Holidays! Dan
  19. Hello, I get Error -200284 when I run the following code. I am running this on a PCI 6220 card. Any suggestions? Dan
  20. Hello, I have searched NI's website but can't find a specification for the the temperature range for the NI SHC68-68-EPM cable. Does anyone know where I can find this? Thanks Dan
  21. QUOTE(ASTDan @ Sep 25 2007, 03:31 PM) Hello, I just wanted to post this for posterity. After going back and forth with NI we finally solved the problem. It seems that I have a problem with the LabVIEW runtime engine on my computer. The LabVIEW runtime engine is installed and runs executables but for some reason the remote panel web browser does not work on my specific machine. NI is looking into why this is the case and I will post their response. Thanks Dan
  22. QUOTE(Dan Press @ Sep 26 2007, 03:10 PM) The AI module I am looking at can sample up to 10kHz which is fast enough for my application. So bacically I need a router or a hub to monitor 2 interfaces? Would it be a good idea to acquire data from each backplane in 2 differnt loops? I have a lot of temperatures to monitor. Should I put my low speed stuff on 1 interface and the relativly fast stuff on the 2nd interface and montor them using seperate loops? Thanks Dan
  23. Hello, I am trying to find some documententaion that explains how to Daisy Chain 2 NI cFP-1808, which is Network interface modules for the Compact Fieldpoint platform. http://sine.ni.com/nips/cds/view/p/lang/en/nid/202210 I am also trying to find out what are the performance hits when adding 1 or more cFP-1808 to a system. Also has anybody had experience doing this and what did you observe? Thanks Dan
  24. Yes I have the appropiate runtime enginee on the PC DanQUOTE(Neville D @ Sep 25 2007, 03:18 PM) Here are the files I am working with. Maybee you can take a quick look and see if I have a setting that is goofed.QUOTE(ASTDan @ Sep 25 2007, 03:28 PM) Yes I have the appropiate runtime enginee on the PC Dan
  25. Hello Nevile 1. Yep 2. Yep 3. I have a very simple VI that just toggles a digital line and counts the number of while loop executions 4. Yes. That is a cool feature. Didn't know it was there before. 5. VI is running on normal priority 6. I have a very simple VI right now. My actual VI might have a problem. 1 problem at a time : ) 7. I think so it is under ni-rt\System\www 8. No my loop rate is 250 ms 9. Yes I used the web publishing tool recently I tried running using LabVIEW 8.2.1 and LabVIEW 8.0. I haven't tried yet using LabVIEW 8.5. Sounds like that might be the next route. If you have any more ideas I can try really quick before I go through the 1/2 day LabVIEW install it would be appreciated! Dan QUOTE(Neville D @ Sep 24 2007, 05:03 PM)
×
×
  • Create New...

Important Information

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