Jump to content

Minh Pham

Members
  • Posts

    171
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Minh Pham

  1. QUOTE (Variant @ Nov 4 2008, 10:37 AM) You have two ways to achieve this: Scan From String or Match Pattern, just look at the 'detail help' for these 2 functions, they are so powerful !! Here is an example on how you can do this in both methods: Have fun playing with String data type
  2. QUOTE (horatius @ Nov 4 2008, 10:49 AM) Vi Ref >> Invoke node >> Get Img Scaled As shown:
  3. QUOTE (ASTDan @ Nov 3 2008, 01:04 PM) I think Tortoise SVN is designed to be in this way. YOu only can see your files/folder structure through repo-browser i guess using the correct URL eg. file:///d:/testSVN/test1/LV85 or http://svn/labview/test1/lv85 format However if you use your window explorer, and goto your repository, you will find a folder name 'db' (i guess database). This folder probably contains all revisions info of all your projects that connected to this repository. You will probably find the folder 'revs' in this 'db' folder. Now inside this 'revs' folder, you can see there is a folder named '0'. All of your files/folders and their associated info should be in here i guess. You can check it by adding file(s) to the repo and see it comes up in this folder in the form of id number (0, 1, 2 ,3....), it increases the number by one everytime you add a file. YOu can also check the file size as well to verify this. I think this is the way that Tortoise SVN creates its own copy of the file in the repo using its own format. The file that SVN created has all the required info like author, time, rev number, clients, etc... and the data. I think this data is added to the top of the original data so that SVN willl be able to do compare, checkin, checkout, revert .... operations. It can be something else complicated, but this is my guess. Hope there will be an expert jump in to clear out some confussions.
  4. QUOTE (vijay shankar @ Nov 1 2008, 12:49 PM) You do need a serial cable to connect the device to the PC, i think a normal RS232 cable is fine as long as the device has a D-SUB 9 pin RS-232 at the back (i believe it has according to the specs i found through its website.) You dont need any PCI card for this as serial communication is enough to control and receive msgs between the PC and the device. RS232 to USB should be fine but if you can use the straight serial to serial cable as it is simple and cheaper that way i reckon. VISA driver from NI-VISA APIs should be enough for you to control this device if this device accept this way of communication. However I did have a look at the specs, it seems like the device using MODBUS protocol for communication with PC, so it is a good time to search around for some MODBUS vis or library for labview and learn it. If you really into it, i suggest you can write your own vis for this communication as it will help you understand LabVIEW as well as MODBUS communication. After you've done with the communication task. YOu are pretty much set for do whateva u like with the temperature controller, you can SET temperature, GET temperature, etc... by sendding data/commands or syntax through your communication vis to set a certain modbus registers... Good luck
  5. and here is the new website homepage:
  6. QUOTE (labviewRTS @ Oct 29 2008, 12:42 PM) what do you mean by 'use race condition' ? That is something that we want to avoid not 'use'. :!: Please look up for the definition of the race condition within LabVIEW due to dataflow nature. Your question would be: May i know whenever race conditions can be Occurred if I use VISA APIs for my application? I hope you can find the answer to this matter (google or it is already in the Basics II book !?) Regards,
  7. QUOTE (Aristos Queue @ Oct 28 2008, 11:23 AM) Can you post an example AQ, I dont get it :headbang: I did look at couple of examples that come with LV for 3D picture control, do we really need this for this kind of simulation that Thang wants to create? Regards,
  8. QUOTE (d_nikolaos @ Oct 28 2008, 09:18 AM) you r welcome, good luck
  9. QUOTE (Thang Nguyen @ Oct 28 2008, 08:08 AM) I normally use picture control, i quicky wrote an example to show you how to do this. Basically i have 2 picture controls in this example, 1 for the map and 1 for the object obviously. I loaded them when the program started, so only need to load 'em once. I use state machine with event design partern as the structure of my program. This example shows that you can move the object around the map by calculating the new Origin (x,y) - relative to the front panel, and write to the Origin property node of the object. It would me much better and easier if you use GOOP to design as you can classify all of your different objs and their properties: for example: object name, color, components, position, size, transparency level, etc... If have time i recommend you to have a look at Endevo GOOP tool from Mikael, it's awsome. Good luck
  10. QUOTE (d_nikolaos @ Oct 27 2008, 09:52 PM) To interact with excel file, you need to know activeX. You can also look at the shipped example that comes with labVIEW under Communicating with external applications >>activeX>>Excel Example from ni: http://zone.ni.com/devzone/cda/epd/p/id/3409 Good luck
  11. QUOTE (km4hr @ Oct 27 2008, 10:51 AM) can you post the vi(s) so i can understand your problem better?
  12. QUOTE (d_nikolaos @ Oct 25 2008, 08:33 PM) personally i dunt like lvm file, as you mentioned you want xls file it is better to use the 'write to spreedsheet file' and 'read from spreedsheet file' functions under the file i/o within function palette. Specify your file to save as *.xls, this will allow you to wire in 1D or 2D array of data. example as shown.
  13. QUOTE (crelf @ Oct 24 2008, 09:31 AM) I agree, as beginer to Labview this method works best. When HORATIUS finish reading and practising Intro To Labview in 6hrs or something similar then you can start looking at Property node and Invoke node, execution order and data flow. Enjoy LabVIEW HORATIUS !
  14. As you mentioned that you are displaying 'live data' so ofcourse you have to place your chart/graph inside the loop that way your data is updated every iteration of the loop. You cant have it outside the loop as it will only update the data when the loop stoped.
  15. QUOTE (Antoine Châlons @ Oct 22 2008, 08:15 AM) nice watch, how much is it? :2cents:
  16. QUOTE (tmunsell @ Oct 22 2008, 11:04 AM) Depend on how you are capturing the 'live data', if it returns in the form of array then the best is to use the build array option to create multiplots to the GRAPH. If it returns in the form of point, we can using CHART (Use bundle node to create multiplots) like the example attached. Good luck,
  17. QUOTE (rccardude909 @ Oct 17 2008, 11:35 AM) any chance you can post a snapshot of the DAQmx devices in MAX (within the Target PC) and your code? Just want to see the cofiguration and the consistantcy of the code/system.
  18. QUOTE (scott123 @ Oct 17 2008, 12:43 PM) 0 is assigned to all shift regs, isnt it?
  19. QUOTE (aginor @ Oct 17 2008, 08:24 AM) You have a timming Vi set to 100ms so you have m/100ms, if you set that to 1000ms then you have m/s. The execution control timming of 100ms might not give you exactly 100ms everytime, this function depends on alot of other factor from OS and other programs that run in the background. Hope you take this into account. Have a look at the Mathematics>>Integration and Diff>>Derivative X(t) vi as well.
  20. QUOTE (normandinf @ Oct 15 2008, 09:25 AM) It's a pretty good trick, it works with array of cluster as well. However it requires abit of work on the decor size if the program allows user to create their own data area (as decor doesnt have an auto fit option), but this isnt to hard to figure out. Thx.
  21. I just wonder if anyone success in programatically change the frame/border color of the Classic Cluster control/indicator? It doesnt look like this property existed, does it? Thx
  22. QUOTE (crelf @ Oct 13 2008, 10:49 AM) Digital images? LabVIEW is the software :camera:
  23. QUOTE (CArnold @ Oct 9 2008, 02:26 AM) Your VI looks pretty messy and follows no dataflow structure. It doesnt use modularity as well. I dont know how you going to add functionalities nad features in the future. As you have 2 For loops running in parallel at a certain point of your program, DAQ assistants are everywhere in the code. Durring this parallelism process, there is a chance that 2 DAQ Assist will conflict each other. I dont know how your HW suppose to work but if you can, make sure that one loop is run after another then the problem might be solved. If you have to run the loops in parallel then make sure look at couple of tutorial on synchronisation and multiple loops design paterns within lapview help. Regards,
  24. QUOTE (Eugen Graf @ Oct 9 2008, 08:14 PM) Yeah sure, can not rely on Microsoft components Im using different activeX as well.
×
×
  • Create New...

Important Information

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